Content: Media (internal)
Update selected fields of a batch of objects
Allows you to update up to 100 objects of Media (internal) type. <br />
patch/api/v1/content/_media/batch
Request
- Base URL: https://api.flotiq.com
- URL: https://api.flotiq.com/api/v1/content/_media/batch
- Auth: API key in header X-AUTH-TOKEN
Request body
Example request
[
{
"id": "_media-698d20aa-193a-47b3-be4d-550c1aab47e7",
"extension": "png",
"fileName": "example_image.png",
"mimeType": "image/png",
"size": 87258,
"type": "image",
"source": "disk",
"tags": [
{
"dataUrl": "/api/v1/content/_tag/_tag-641775",
"type": "internal"
}
],
"variants": [
{
"name": "square",
"trim": {
"top": 10,
"right": 10,
"bottom": 10,
"left": 10,
"width": 10,
"height": 10
}
}
],
"externalId": "",
"url": "/image/0x0/_media-698d20aa-193a-47b3-be4d-550c1aab47e7.png",
"height": 517,
"width": 925
}
]Response
OK
Example response
{
"batch_total_count": 2,
"batch_success_count": 2,
"batch_error_count": 0,
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.