GET
/{client}/{file}/info
curl \
-X GET http://api.example.com/{client}/{file}/info \
-H "x-api-key: $API_KEY"
Response examples (200)
[
{
"name": "8BgXSCaMZae9auk1kVA9tRP2Km1CzvKsyE8ml8R0.jpg",
"owner": "client",
"visibility": "public",
"path": "client/8BgXSCaMZae9auk1kVA9tRP2Km1CzvKsyE8ml8R0.jpg",
"mime": "image/jpeg",
"size": 142083,
"lastModified": 1640104826
}
]
Response examples (200)
[
{
"name": "8BgXSCaMZae9auk1kVA9tRP2Km1CzvKsyE8ml8R0.jpg",
"owner": "client",
"visibility": "public",
"path": "client/8BgXSCaMZae9auk1kVA9tRP2Km1CzvKsyE8ml8R0.jpg",
"mime": "image/jpeg",
"size": 142083,
"lastModified": 1640104826
}
]
Response examples (500)
{
"message": "An error occurred.",
"code": 500
}
Response examples (500)
{
"message": "An error occurred.",
"code": 500
}