cURL
curl --request PATCH \ --url https://api.perscom.io/{version}/images/{image} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "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.
Bearer <token>
<token>
The API version to use.
v1
v2
model
The name of the image.
255
The image file to be uploaded. Maximum file size is 10MB.
A description of the image. Supports HTML.
65535
OK
Show child attributes
The original filename of the uploaded image.
The storage path of the uploaded image.
The 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?