Real Seal IoT - API
Last updated
Was this helpful?
Was this helpful?
{
"project_id": "your-project-id",
"hash_value": "0x..."
}{ "result": "0x<transaction_id>" }{
"result": "0x<transaction_id>",
"hash": "0x<file_hash>",
"filename": "stored_filename.ext"
}curl -X POST https://<your-host>/make_it_immutable \
-H "API-Secret: <key>" \
-H "Content-Type: application/json" \
-d '{"project_id":"demo","hash_value":"0x..."}'curl -X POST https://<your-host>/immutable_file \
-H "API-Secret: <key>" \
-F "project_id=demo" \
-F "file=@./document.pdf"curl -L https://<your-host>/download_file/<filename> \
-H "API-Secret: <key>" \
-o downloaded.bin