Response [200 Ok]

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

Region [1 of 6]
/api/v2/region/4953418194

Uri /api/v2/region/4953418194
UriDescription Region by ID
Height 0.113
Type Face
Width 0.084
X 0.044
Y 0.4755

Region [2 of 6]
/api/v2/region/4953418195

Uri /api/v2/region/4953418195
UriDescription Region by ID
Height 0.101
Type Face
Width 0.075
X 0.7355
Y 0.3535

Region [3 of 6]
/api/v2/region/4953418196

Uri /api/v2/region/4953418196
UriDescription Region by ID
Height 0.077
Type Face
Width 0.058
X 0.919
Y 0.4075

Region [4 of 6]
/api/v2/region/4953418197

Uri /api/v2/region/4953418197
UriDescription Region by ID
Height 0.101
Type Face
Width 0.075
X 0.5015
Y 0.3745

Region [5 of 6]
/api/v2/region/4953418198

Uri /api/v2/region/4953418198
UriDescription Region by ID
Height 0.083
Type Face
Width 0.062
X 0.45
Y 0.4515

Region [6 of 6]
/api/v2/region/4953418199

Uri /api/v2/region/4953418199
UriDescription Region by ID
Height 0.114
Type Face
Width 0.083
X 0.0475
Y 0.478

Timing

Total

cycles 1
objects 0
time 0.04274

Request

Uri /api/v2/image/XJvDLxN-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/XJvDLxN-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": "XJvDLxN-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/XJvDLxN-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.084,
                "Height": 0.113,
                "X": 0.044,
                "Y": 0.4755,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418194",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.075,
                "Height": 0.101,
                "X": 0.7355,
                "Y": 0.3535,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418195",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.058,
                "Height": 0.077,
                "X": 0.919,
                "Y": 0.4075,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418196",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.075,
                "Height": 0.101,
                "X": 0.5015,
                "Y": 0.3745,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418197",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.062,
                "Height": 0.083,
                "X": 0.45,
                "Y": 0.4515,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418198",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.083,
                "Height": 0.114,
                "X": 0.0475,
                "Y": 0.478,
                "Type": "Face",
                "Uri": "/api/v2/region/4953418199",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04274,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}