Files
Read file metadata
GET
Requires the read scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
id*stringRetainer identifier.
Format
uuidSuccessful response.
application/json- response
name*stringLength
1 <= length <= 200mediaType*stringMatch
^[a-z0-9][a-z0-9!#$&^_.+-]*\/[a-z0-9][a-z0-9!#$&^_.+-]*$Length
length <= 150bytes*integerRange
1 <= value <= 26214400sha256*stringMatch
^[a-f0-9]{64}$id*stringFormat
uuidcurl -X GET 'https://retainer.tamloot.cc/v1/files/d2c0648c-2994-4f16-bdf1-a0136be6037d' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'Example Response
{ "name": "string", "mediaType": "string", "bytes": 1, "sha256": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}