Response [200 Ok]

Uri /api/v2/image/XW4Zrs3-0!regions
UriDescription Regions for image
EndpointType Regions
Locator Region
LocatorType Objects

Region [1 of 7]
/api/v2/region/4631491417

Uri /api/v2/region/4631491417
UriDescription Region by ID
Height 0.038
Type Face
Width 0.0282857
X 0.601095
Y 0.406

Region [2 of 7]
/api/v2/region/4631491418

Uri /api/v2/region/4631491418
UriDescription Region by ID
Height 0.04
Type Face
Width 0.030381
X 0.0154762
Y 0.418

Region [3 of 7]
/api/v2/region/4631491419

Uri /api/v2/region/4631491419
UriDescription Region by ID
Height 0.04
Type Face
Width 0.030381
X 0.706905
Y 0.357

Region [4 of 7]
/api/v2/region/4631491420

Uri /api/v2/region/4631491420
UriDescription Region by ID
Height 0.04
Type Face
Width 0.030381
X 0.663952
Y 0.356

Region [5 of 7]
/api/v2/region/4631491421

Uri /api/v2/region/4631491421
UriDescription Region by ID
Height 0.063
Type Face
Width 0.0471429
X 0.18519
Y 0.3355

Region [6 of 7]
/api/v2/region/4631491422

Uri /api/v2/region/4631491422
UriDescription Region by ID
Height 0.053
Type Face
Width 0.0398095
X 0.788095
Y 0.3145

Region [7 of 7]
/api/v2/region/4631491423

Uri /api/v2/region/4631491423
UriDescription Region by ID
Height 0.043
Type Face
Width 0.0324762
X 0.285762
Y 0.3525

Timing

Total

cycles 1
objects 0
time 0.05953

Request

Uri /api/v2/image/XW4Zrs3-0!regions
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !regions

Notes

  • _multiargs does not work at this endpoint

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

POST

Permissions
  • Add

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/image/XW4Zrs3-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": "XW4Zrs3-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/XW4Zrs3-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0282857,
                "Height": 0.038,
                "X": 0.601095,
                "Y": 0.406,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491417",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.030381,
                "Height": 0.04,
                "X": 0.0154762,
                "Y": 0.418,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491418",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.030381,
                "Height": 0.04,
                "X": 0.706905,
                "Y": 0.357,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491419",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.030381,
                "Height": 0.04,
                "X": 0.663952,
                "Y": 0.356,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491420",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0471429,
                "Height": 0.063,
                "X": 0.18519,
                "Y": 0.3355,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491421",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0398095,
                "Height": 0.053,
                "X": 0.788095,
                "Y": 0.3145,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491422",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0324762,
                "Height": 0.043,
                "X": 0.285762,
                "Y": 0.3525,
                "Type": "Face",
                "Uri": "/api/v2/region/4631491423",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.05953,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}