Images
Update image
Changed onpatch/image/{image_id}
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
image_idstring required
Example:img-12345
Request body
Example request
{
"name": "Updated Image Name"
}Response
Image updated
Example response
{
"success": true,
"data": {
"id": "img-12345",
"name": "image.jpg",
"collection_id": "default",
"width": 1920,
"height": 1080,
"size": 262144,
"url": "https://assets.videodb.io/img/12345.jpg"
}
}Changes
- info
endpoint added
- info
- breaking
api removed without deprecation
- breaking