Response [200 Ok]

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

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

Uri /api/v2/region/21985304
UriDescription Region by ID
Height 0.07088
Type Face
Width 0.04734
X 0.27883
Y 0.27478

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

Uri /api/v2/region/21985305
UriDescription Region by ID
Height 0.07353
Type Face
Width 0.04911
X 0.55882
Y 0.59655

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

Uri /api/v2/region/21985306
UriDescription Region by ID
Height 0.07469
Type Face
Width 0.04989
X 0.58111
Y 0.21804

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

Uri /api/v2/region/21985307
UriDescription Region by ID
Height 0.06778
Type Face
Width 0.04527
X 0.36312
Y 0.41777

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

Uri /api/v2/region/21985308
UriDescription Region by ID
Height 0.0722
Type Face
Width 0.04823
X 0.67856
Y 0.57049

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

Uri /api/v2/region/21985309
UriDescription Region by ID
Height 0.07051
Type Face
Width 0.0471
X 0.49037
Y 0.21683

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

Uri /api/v2/region/21985310
UriDescription Region by ID
Height 0.06489
Type Face
Width 0.04334
X 0.50026
Y 0.43446

Timing

Total

cycles 1
objects 0
time 0.05371

Request

Uri /api/v2/image/WH4NmwQ-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/WH4NmwQ-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": "WH4NmwQ-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/WH4NmwQ-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.04734,
                "Height": 0.07088,
                "X": 0.27883,
                "Y": 0.27478,
                "Type": "Face",
                "Uri": "/api/v2/region/21985304",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04911,
                "Height": 0.07353,
                "X": 0.55882,
                "Y": 0.59655,
                "Type": "Face",
                "Uri": "/api/v2/region/21985305",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04989,
                "Height": 0.07469,
                "X": 0.58111,
                "Y": 0.21804,
                "Type": "Face",
                "Uri": "/api/v2/region/21985306",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04527,
                "Height": 0.06778,
                "X": 0.36312,
                "Y": 0.41777,
                "Type": "Face",
                "Uri": "/api/v2/region/21985307",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04823,
                "Height": 0.0722,
                "X": 0.67856,
                "Y": 0.57049,
                "Type": "Face",
                "Uri": "/api/v2/region/21985308",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0471,
                "Height": 0.07051,
                "X": 0.49037,
                "Y": 0.21683,
                "Type": "Face",
                "Uri": "/api/v2/region/21985309",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04334,
                "Height": 0.06489,
                "X": 0.50026,
                "Y": 0.43446,
                "Type": "Face",
                "Uri": "/api/v2/region/21985310",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.05371,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}