Response [200 Ok]
| Uri | /api/v2/image/Kdq94sb-0!regions |
|---|---|
| UriDescription | Regions for image |
| EndpointType | Regions |
| Locator | Region |
| LocatorType | Objects |
Region [1 of 4]
/api/v2/region/4620813485
| Uri | /api/v2/region/4620813485 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.0538681 |
| Type | Face |
| Width | 0.076136 |
| X | 0.25268 |
| Y | 0.418758 |
Region [2 of 4]
/api/v2/region/4620813486
| Uri | /api/v2/region/4620813486 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.042723 |
| Type | Face |
| Width | 0.0612802 |
| X | 0.635217 |
| Y | 0.444763 |
Region [3 of 4]
/api/v2/region/4620813487
| Uri | /api/v2/region/4620813487 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.0594406 |
| Type | Face |
| Width | 0.0835639 |
| X | 0.410523 |
| Y | 0.445692 |
Region [4 of 4]
/api/v2/region/4620813488
| Uri | /api/v2/region/4620813488 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.0538681 |
| Type | Face |
| Width | 0.074279 |
| X | 0.526584 |
| Y | 0.452193 |
Request
| Uri | /api/v2/image/Kdq94sb-0!regions |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/image/Kdq94sb-0!regions"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
},
"POST": {
"Permissions": [
"Add"
]
}
},
"Methods": [
"OPTIONS",
"GET"
],
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Notes": [
"_multiargs does not work at this endpoint"
],
"Path": [
{
"type": "path",
"text": "api"
},
{
"type": "path",
"text": "v2"
},
{
"type": "path",
"text": "image"
},
{
"type": "singleparam",
"param_name": "imagekey",
"param_value": "Kdq94sb-0",
"param_validator": {}
},
{
"type": "action",
"text": "regions"
}
]
},
"Response": {
"Uri": "/api/v2/image/Kdq94sb-0!regions",
"Locator": "Region",
"LocatorType": "Objects",
"Region": [
{
"Width": 0.076136,
"Height": 0.0538681,
"X": 0.25268,
"Y": 0.418758,
"Type": "Face",
"Uri": "/api/v2/region/4620813485",
"UriDescription": "Region by ID"
},
{
"Width": 0.0612802,
"Height": 0.042723,
"X": 0.635217,
"Y": 0.444763,
"Type": "Face",
"Uri": "/api/v2/region/4620813486",
"UriDescription": "Region by ID"
},
{
"Width": 0.0835639,
"Height": 0.0594406,
"X": 0.410523,
"Y": 0.445692,
"Type": "Face",
"Uri": "/api/v2/region/4620813487",
"UriDescription": "Region by ID"
},
{
"Width": 0.074279,
"Height": 0.0538681,
"X": 0.526584,
"Y": 0.452193,
"Type": "Face",
"Uri": "/api/v2/region/4620813488",
"UriDescription": "Region by ID"
}
],
"UriDescription": "Regions for image",
"EndpointType": "Regions",
"Timing": {
"Total": {
"time": 0.05042,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}