Response [200 Ok]

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

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

Uri /api/v2/region/521289123
UriDescription Region by ID
Height 0.16407
Type Face
Width 0.0634
X 0.23367
Y 0.47639

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

Uri /api/v2/region/521289124
UriDescription Region by ID
Height 0.11217
Type Face
Width 0.04334
X 0.45145
Y 0.74578

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

Uri /api/v2/region/521289125
UriDescription Region by ID
Height 0.11217
Type Face
Width 0.04334
X 0.64359
Y 0.0255

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

Uri /api/v2/region/521289126
UriDescription Region by ID
Height 0.11217
Type Face
Width 0.04334
X 0.37293
Y 0.5377

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

Uri /api/v2/region/521289127
UriDescription Region by ID
Height 0.11217
Type Face
Width 0.04334
X 0.83043
Y 0.23393

Timing

Total

cycles 1
objects 0
time 0.0486

Request

Uri /api/v2/image/WdbNBxH-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/WdbNBxH-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": "WdbNBxH-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/WdbNBxH-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0634,
                "Height": 0.16407,
                "X": 0.23367,
                "Y": 0.47639,
                "Type": "Face",
                "Uri": "/api/v2/region/521289123",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04334,
                "Height": 0.11217,
                "X": 0.45145,
                "Y": 0.74578,
                "Type": "Face",
                "Uri": "/api/v2/region/521289124",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04334,
                "Height": 0.11217,
                "X": 0.64359,
                "Y": 0.0255,
                "Type": "Face",
                "Uri": "/api/v2/region/521289125",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04334,
                "Height": 0.11217,
                "X": 0.37293,
                "Y": 0.5377,
                "Type": "Face",
                "Uri": "/api/v2/region/521289126",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04334,
                "Height": 0.11217,
                "X": 0.83043,
                "Y": 0.23393,
                "Type": "Face",
                "Uri": "/api/v2/region/521289127",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.0486,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}