Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
resolutions | [Resolution] | Array of Resolution |
white_background | Bool | Optional. A boolean value |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
resolutions | [Resolution] | Array of Resolution |
file_id | Int? | Nullable. An integer value |
white_background | Bool | Optional. A boolean value |
When used inside a request.
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"white_background": true
}
When returned in a response.
{
"resolutions": [
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
},
{
"src": "https://example.com",
"width": 600,
"height": 350
}
],
"file_id": 14,
"white_background": true
}