FILE.INFO
POST To get a file info including the URL and its metadata
Request
- application/json
 
Body
op stringrequired
Default value: file.info
The operation name
_key stringrequired
The file _key
signed_ttl integer
To grant limited access for private file. Time in seconds. Max time: 604800
Responses
- 200
 
File INFO Response
- application/json
 
- Schema
 - Example (from schema)
 - Example 1
 
Schema
data object
_key string
url string
filename string
filesize string
fileclass string
object_key string
info object
acl string
content_type string
image_variants object
{
  "data": {
    "_key": "string",
    "url": "string",
    "filename": "string",
    "filesize": "string",
    "fileclass": "string",
    "object_key": "string",
    "info": {},
    "acl": "string",
    "content_type": "string",
    "image_variants": {}
  }
}
{
  "_key": "string",
  "url": "string",
  "filename": "string",
  "filesize": "string",
  "fileclass": "string",
  "object_key": "string",
  "info": {},
  "acl": "string",
  "content_type": "string",
  "image_variants": {}
}
Loading...