Rotate File

HTTP Request

POSThttps://staging.api-gw.propdata.net/gallery/api/v1/files/{id}/rotate/

Example Response

{
"id": 0,
"site": 0,
"file_size": 0,
"content_type": "string",
"created": "2024-03-28T13:31:11.906Z",
"modified": "2024-03-28T13:31:11.906Z",
"deleted": "2024-03-28T13:31:11.906Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"file": "http://www.example.com",
"accepted": false,
"caption": "string",
"ordinal": -2147483648,
"file_type": "string",
"private": false,
"model": "string",
"tagged_date": "string"
}

NameDescription

id

required

integer

id of Record

NameDescription

direction

required

string

Direction

Choices: leftright

Responses

201
400 Bad request body
403 You do not have permission to perform this action
404 Not found
500 Internal server error
503 This website is not active