Retrieve file information
Changed onRetrieves file information for the file identified by the specified token.
Request
- Base URLhttps://api.us.cr4ce.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Defines the response type.
Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
Response
File information retrieved.
Example response
{
"download_link": "https://files.au.cr4ce.com/file/AbCdEfGhIjKlMnOp/squirrel-on-log.jpg?Expires=1781485359&Signature=REDACTED&Key-Pair-Id=REDACTED",
"duration": null,
"filename": "squirrel-on-log.jpg",
"image_height": null,
"image_width": null,
"metadata": {
"title": "",
"caption": "",
"copyright": "",
"created": "",
"city": "",
"country": "",
"state": "",
"camera": "",
"exposure": "",
"iso": "",
"fstop": "",
"focal_length": "",
"size": "768 x 574"
},
"mime": "image/jpeg",
"size": 26513,
"transcoding": []
}Changes
- info
api tag
Filesadded - info
api tag
Fileremoved
- info
- info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status - info
added the media type
application/xmlfor the response with the status
- info