Response [200 Ok]
| Uri | /api/v2/image/gM2g73F-0!regions |
|---|---|
| UriDescription | Regions for image |
| EndpointType | Regions |
| Locator | Region |
| LocatorType | Objects |
Region [1 of 6]
/api/v2/region/4953418455
| Uri | /api/v2/region/4953418455 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.053 |
| Type | Face |
| Width | 0.04 |
| X | 0.656 |
| Y | 0.4605 |
Region [2 of 6]
/api/v2/region/4953418457
| Uri | /api/v2/region/4953418457 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.071 |
| Type | Face |
| Width | 0.053 |
| X | 0.8585 |
| Y | 0.4245 |
Region [3 of 6]
/api/v2/region/4953418458
| Uri | /api/v2/region/4953418458 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.092 |
| Type | Face |
| Width | 0.069 |
| X | 0.5295 |
| Y | 0.444 |
Region [4 of 6]
/api/v2/region/4953418459
| Uri | /api/v2/region/4953418459 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.074 |
| Type | Face |
| Width | 0.055 |
| X | 0.7635 |
| Y | 0.403 |
Region [5 of 6]
/api/v2/region/4953418460
| Uri | /api/v2/region/4953418460 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.056 |
| Type | Face |
| Width | 0.042 |
| X | 0.465 |
| Y | 0.465 |
Region [6 of 6]
/api/v2/region/4953418461
| Uri | /api/v2/region/4953418461 |
|---|---|
| UriDescription | Region by ID |
| Height | 0.062 |
| Type | Face |
| Width | 0.046 |
| X | 0.366 |
| Y | 0.432 |
Request
| Uri | /api/v2/image/gM2g73F-0!regions |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/image/gM2g73F-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": "gM2g73F-0",
"param_validator": {}
},
{
"type": "action",
"text": "regions"
}
]
},
"Response": {
"Uri": "/api/v2/image/gM2g73F-0!regions",
"Locator": "Region",
"LocatorType": "Objects",
"Region": [
{
"Width": 0.04,
"Height": 0.053,
"X": 0.656,
"Y": 0.4605,
"Type": "Face",
"Uri": "/api/v2/region/4953418455",
"UriDescription": "Region by ID"
},
{
"Width": 0.053,
"Height": 0.071,
"X": 0.8585,
"Y": 0.4245,
"Type": "Face",
"Uri": "/api/v2/region/4953418457",
"UriDescription": "Region by ID"
},
{
"Width": 0.069,
"Height": 0.092,
"X": 0.5295,
"Y": 0.444,
"Type": "Face",
"Uri": "/api/v2/region/4953418458",
"UriDescription": "Region by ID"
},
{
"Width": 0.055,
"Height": 0.074,
"X": 0.7635,
"Y": 0.403,
"Type": "Face",
"Uri": "/api/v2/region/4953418459",
"UriDescription": "Region by ID"
},
{
"Width": 0.042,
"Height": 0.056,
"X": 0.465,
"Y": 0.465,
"Type": "Face",
"Uri": "/api/v2/region/4953418460",
"UriDescription": "Region by ID"
},
{
"Width": 0.046,
"Height": 0.062,
"X": 0.366,
"Y": 0.432,
"Type": "Face",
"Uri": "/api/v2/region/4953418461",
"UriDescription": "Region by ID"
}
],
"UriDescription": "Regions for image",
"EndpointType": "Regions",
"Timing": {
"Total": {
"time": 0.04426,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}