Skip to main content

IPFS and EOS

API Endpoint

POST
https://api.ovcode.com/ovcode-data/data/authentication/ipfs/sm-eos

Request Headers

Ocp-Apim-Subscription-Key
Your Enterprise Subscription Key
Api-Key
Your Enterprise Project API Key

Request Body application/json

Example
{
"data": {
"id": "123456789",
"fname":"JUAN",
"lname":"DELA CRUZ",
"timestamp":"2023-05-20 12:01:12"
}
}

API Response

Success
{
"success": true,
"data": {
"reference": "D-550e8400-e29b-41d4-a716-446655440000",
"hash": "c8f0499x0x5791b56bbex56b9ee5bx199210f9x329eb9e4xc122c8650db229c1"
},
"error": null
}

Error
{
"success": false,
"data": null,
"error": "<Error Message>"
}

HTTP Status Codes

CodeDescription
200OK
201Created
204No Content
400Bad Request
401Unauthorized
404Not Found
415Unsupported Media Type
500Internal Server Error