Response [200 Ok]

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

Region [1 of 4]
/api/v2/region/521294704

Uri /api/v2/region/521294704
UriDescription Region by ID
Height 0.08226
Type Face
Width 0.05495
X 0.50127
Y 0.42487

Region [2 of 4]
/api/v2/region/521294705

Uri /api/v2/region/521294705
UriDescription Region by ID
Height 0.08778
Type Face
Width 0.05864
X 0.48438
Y 0.29028

Region [3 of 4]
/api/v2/region/521294706

Uri /api/v2/region/521294706
UriDescription Region by ID
Height 0.11085
Type Face
Width 0.07404
X 0.95073
Y 0.42947

Region [4 of 4]
/api/v2/region/521294708

Uri /api/v2/region/521294708
UriDescription Region by ID
Height 0.08542
Type Face
Width 0.05706
X 0.35161
Y 0.41579

Timing

Total

cycles 1
objects 0
time 0.04079

Request

Uri /api/v2/image/8GkqHhW-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/8GkqHhW-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": "8GkqHhW-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/8GkqHhW-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.05495,
                "Height": 0.08226,
                "X": 0.50127,
                "Y": 0.42487,
                "Type": "Face",
                "Uri": "/api/v2/region/521294704",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.05864,
                "Height": 0.08778,
                "X": 0.48438,
                "Y": 0.29028,
                "Type": "Face",
                "Uri": "/api/v2/region/521294705",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.07404,
                "Height": 0.11085,
                "X": 0.95073,
                "Y": 0.42947,
                "Type": "Face",
                "Uri": "/api/v2/region/521294706",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.05706,
                "Height": 0.08542,
                "X": 0.35161,
                "Y": 0.41579,
                "Type": "Face",
                "Uri": "/api/v2/region/521294708",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04079,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}