curl --request POST \
--url https://api.perscom.io/{version}/events/{event}/image/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": [
{
"name": "<string>",
"image": "<string>",
"description": "<string>"
}
]
}
'{
"data": [
{
"name": "<string>",
"id": 123,
"model_type": "<string>",
"model_id": 123,
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}curl --request POST \
--url https://api.perscom.io/{version}/events/{event}/image/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": [
{
"name": "<string>",
"image": "<string>",
"description": "<string>"
}
]
}
'{
"data": [
{
"name": "<string>",
"id": 123,
"model_type": "<string>",
"model_id": 123,
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 OK
Show child attributes
The name of the image.
255A description of the image. Supports HTML.
65535The original filename of the uploaded image.
255The storage path of the uploaded image.
255The URL to access the image.
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?