Get one file of the media library
GET
http://localhost:4000/api/v1 /media/{id} Type, size, dimensions and a fresh short-lived download url. A file that answers here is stored and ready to attach to a post.
Parameters
idstring
path
required
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/media/{id}" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{
"id": "string",
"organizationId": "string",
"name": "string",
"mime": "string",
"size": 0,
"alt": "string",
"width": 0,
"height": 0,
"durationMs": 0,
"frames": 0,
"clientId": "string",
"createdAt": "2024-01-01T00:00:00Z",
"url": "string",
"thumbnailUrl": "string"
}Schema
idstring
required
organizationIdstring
required
namestring
required
mimestring
required
sizenumber
required
altstring
required
widthnumber
required
heightnumber
required
durationMsnumber
required
framesnumber
required
clientIdstring
required
createdAtstring
required
urlstring
required
thumbnailUrlstring
required
Updated