Response [200 Ok]

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

Region [1 of 5]
/api/v2/region/4953418174

Uri /api/v2/region/4953418174
UriDescription Region by ID
Height 0.093
Type Face
Width 0.125
X 0.3875
Y 0.5525

Region [2 of 5]
/api/v2/region/4953418175

Uri /api/v2/region/4953418175
UriDescription Region by ID
Height 0.044
Type Face
Width 0.059
X 0.7005
Y 0.294

Region [3 of 5]
/api/v2/region/4953418176

Uri /api/v2/region/4953418176
UriDescription Region by ID
Height 0.075
Type Face
Width 0.101
X 0.0605
Y 0.5375

Region [4 of 5]
/api/v2/region/4953418177

Uri /api/v2/region/4953418177
UriDescription Region by ID
Height 0.053
Type Face
Width 0.071
X 0.0985
Y 0.3545

Region [5 of 5]
/api/v2/region/4953418178

Uri /api/v2/region/4953418178
UriDescription Region by ID
Height 0.087
Type Face
Width 0.116
X 0.386
Y 0.5575

Timing

Total

cycles 1
objects 0
time 0.05013

Request

Uri /api/v2/image/4XLJzJd-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/4XLJzJd-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": "4XLJzJd-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/4XLJzJd-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.125,
                "Height": 0.093,
                "X": 0.3875,
                "Y": 0.5525,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418174",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.059,
                "Height": 0.044,
                "X": 0.7005,
                "Y": 0.294,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418175",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.101,
                "Height": 0.075,
                "X": 0.0605,
                "Y": 0.5375,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418176",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.071,
                "Height": 0.053,
                "X": 0.0985,
                "Y": 0.3545,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418177",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.116,
                "Height": 0.087,
                "X": 0.386,
                "Y": 0.5575,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418178",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.05013,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}