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": "2021-03-01T14:10:08.712Z",
"modified": "2021-03-01T14:10:08.712Z",
"deleted": "2021-03-01T14:10:08.712Z",
"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",
"user_groups": [],
"tagged_date": "string",
"category": 0,
"tags": []
}

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