Response [200 Ok]
| Uri | /api/v2/image!rotate |
|---|---|
| UriDescription | Rotate a set of images |
| EndpointType | RotateImages |
Request
| Uri | /api/v2/image!rotate |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Notes
- Rotate Image Uris (RotateUris) is a comma-separated list
- This endpoint will modify the original image and is not reversible
- Rotate operation will be applied before the flip
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
POST
| Permissions |
|
|---|
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/image!rotate"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
},
"POST": {
"Permissions": [
"Modify"
]
}
},
"Methods": [
"OPTIONS",
"GET",
"POST"
],
"ParameterDescription": {
"Select": "Select one option. Options should pass only the \"Value\".",
"Text": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)"
},
"Parameters": {
"POST": [
{
"Name": "Degrees",
"Required": true,
"ReadOnly": false,
"Default": "0",
"Type": "Select",
"OPTIONS": [
0,
90,
180,
270
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
},
{
"Name": "Flip",
"Required": true,
"ReadOnly": false,
"Default": "None",
"Type": "Select",
"OPTIONS": [
"None",
"Horizontal",
"Vertical"
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
},
{
"Name": "RotateUris",
"Required": true,
"ReadOnly": false,
"Default": null,
"Type": "Text",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
}
]
},
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Notes": [
"Rotate Image Uris (RotateUris) is a comma-separated list",
"This endpoint will modify the original image and is not reversible",
"Rotate operation will be applied before the flip"
]
},
"Response": {
"Uri": "/api/v2/image!rotate",
"UriDescription": "Rotate a set of images",
"EndpointType": "RotateImages",
"Timing": {
"Total": {
"time": 0.02492,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}