Response [200 Ok]

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

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

Uri /api/v2/region/4639728722
UriDescription Region by ID
Height 0.049
Type Face
Width 0.0366667
X 0.487952
Y 0.4965

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

Uri /api/v2/region/4639728723
UriDescription Region by ID
Height 0.058
Type Face
Width 0.044
X 0.754571
Y 0.518

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

Uri /api/v2/region/4639728724
UriDescription Region by ID
Height 0.038
Type Face
Width 0.0282857
X 0.353857
Y 0.532

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

Uri /api/v2/region/4639728725
UriDescription Region by ID
Height 0.04
Type Face
Width 0.030381
X 0.387381
Y 0.485

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

Uri /api/v2/region/4639728726
UriDescription Region by ID
Height 0.044
Type Face
Width 0.0335238
X 0.592191
Y 0.517

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

Uri /api/v2/region/4639728727
UriDescription Region by ID
Height 0.065
Type Face
Width 0.0492381
X 0.846238
Y 0.4605

Timing

Total

cycles 1
objects 0
time 0.0498

Request

Uri /api/v2/image/xwtHSXf-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/xwtHSXf-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": "xwtHSXf-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/xwtHSXf-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0366667,
                "Height": 0.049,
                "X": 0.487952,
                "Y": 0.4965,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728722",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.044,
                "Height": 0.058,
                "X": 0.754571,
                "Y": 0.518,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728723",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0282857,
                "Height": 0.038,
                "X": 0.353857,
                "Y": 0.532,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728724",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.030381,
                "Height": 0.04,
                "X": 0.387381,
                "Y": 0.485,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728725",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0335238,
                "Height": 0.044,
                "X": 0.592191,
                "Y": 0.517,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728726",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0492381,
                "Height": 0.065,
                "X": 0.846238,
                "Y": 0.4605,
                "Type": "Face",
                "Uri": "/api/v2/region/4639728727",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.0498,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}