POST api/v1/images/{image_id}?aspect_ratio={aspect_ratio}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| image_id | globally unique identifier |
Required |
|
| aspect_ratio | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResultList| Name | Description | Type | Additional information |
|---|---|---|---|
| ids | Collection of globally unique identifier |
None. |
|
| messages | Collection of ResultMessage |
None. |
|
| count_of_errors | integer |
None. |
|
| id | Object |
None. |
|
| name | string |
None. |
|
| data | Object |
None. |
|
| url | string |
None. |
|
| text | string |
None. |
|
| inner_exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ids": [
"ced04dc0-4ff8-4ea2-8232-bbb782af70b7",
"1c77ec57-1b14-4303-ad50-e4694f5b714b"
],
"messages": [
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
},
{
"type": 1,
"code": 1,
"message": "sample string 1",
"field": "sample string 2"
}
],
"count_of_errors": 1,
"id": {},
"name": "sample string 3",
"data": {},
"url": "sample string 5",
"text": "sample string 6",
"inner_exception": "sample string 7"
}
application/xml, text/xml
Sample:
<ResultList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<count_of_errors xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">1</count_of_errors>
<data xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data" />
<id xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data" />
<inner_exception xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">sample string 7</inner_exception>
<messages xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
<ResultMessage>
<code>1</code>
<field>sample string 2</field>
<message>sample string 1</message>
<type>1</type>
</ResultMessage>
</messages>
<name xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">sample string 3</name>
<text xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">sample string 6</text>
<url xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">sample string 5</url>
<ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ced04dc0-4ff8-4ea2-8232-bbb782af70b7</d2p1:guid>
<d2p1:guid>1c77ec57-1b14-4303-ad50-e4694f5b714b</d2p1:guid>
</ids>
</ResultList>