File Information Metadata
to get file metadata
Precaution
Multiple files
Use case
Headers
Name
Type
Description
Request Body
Name
Type
Description
Body Attribute
Description
Format
// Example result
{
"results": [
// correct result
{
"filename": "test.jpg",
"hash": "sha256-a63238ce3b8c4f8a99fb453d716d5451f75508c2e403a58af0412014187e7a61",
"cid": "bafkreiehikh4kiuahuyqmxt3zy6pap7eouewmmpf4b5326qp3zqmjtzfy4"
"size": 712
},
// if hash calculation is not yet finished
{
"filename": "hash-not-yet-calulated.jpg",
"message": "HASH_STILL_IN_CALCULATION"
}
]
}// If payload is invalid
{
"statusCode": 400,
"message": [
"payload.0.category must be one of the following values: certificate,for_authenticity,artwork,installation,non_attachment_file"
]
}// If the network is error or unknown error. Startbahn side need to check.
{
"statusCode": 502,
"message": "Bad Gateway"
}Swagger Endpoint (Test Environment)
Required Permissions
Request Body Example
Code Example
Last updated
Was this helpful?