Content: Project
Create a batch of project objects
Allows you to create or create and update up to 100 objects of Project type. <br />
post/api/v1/content/project/batch
Request
- Base URL: https://api.flotiq.com
- URL: https://api.flotiq.com/api/v1/content/project/batch
- Auth: API key in header X-AUTH-TOKEN
Query parameters
updateExistingboolean
Overwrite existing objects
Request body
Example request
[
{
"id": "project-1",
"name": "name",
"slug": "slug",
"tags": [
{
"dataUrl": "/api/v1/content/_tag/_tag-1",
"type": "internal"
}
],
"gallery": [
{
"dataUrl": "/api/v1/content/_media/_media-1",
"type": "internal"
}
],
"description": "description",
"headerImage": [
{
"dataUrl": "/api/v1/content/_media/_media-1",
"type": "internal"
}
],
"__translations": [
{
"name": "name",
"slug": "slug",
"tags": [
{
"dataUrl": "/api/v1/content/_tag/_tag-1",
"type": "internal"
}
],
"gallery": [
{
"dataUrl": "/api/v1/content/_media/_media-1",
"type": "internal"
}
],
"__language": "__language",
"description": "description",
"headerImage": [
{
"dataUrl": "/api/v1/content/_media/_media-1",
"type": "internal"
}
],
"short_description": "short_description"
}
],
"short_description": "short_description"
}
]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.