Response [200 Ok]

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

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

Uri /api/v2/region/4890868397
UriDescription Region by ID
Height 0.153
Type Face
Width 0.116286
X 0.106619
Y 0.6545

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

Uri /api/v2/region/4890868398
UriDescription Region by ID
Height 0.094
Type Face
Width 0.0712381
X 0.175238
Y 0.465

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

Uri /api/v2/region/4890868399
UriDescription Region by ID
Height 0.131
Type Face
Width 0.0987619
X 0.950619
Y 0.5915

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

Uri /api/v2/region/4890868400
UriDescription Region by ID
Height 0.08
Type Face
Width 0.0607619
X 0.307238
Y 0.357

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

Uri /api/v2/region/4890868401
UriDescription Region by ID
Height 0.086
Type Face
Width 0.0649524
X 0.776571
Y 0.478

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

Uri /api/v2/region/4890868402
UriDescription Region by ID
Height 0.071
Type Face
Width 0.0534286
X 0.627286
Y 0.4025

Timing

Total

cycles 1
objects 0
time 0.03539

Request

Uri /api/v2/image/xD6CtZT-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/xD6CtZT-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": "xD6CtZT-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/xD6CtZT-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.116286,
                "Height": 0.153,
                "X": 0.106619,
                "Y": 0.6545,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868397",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0712381,
                "Height": 0.094,
                "X": 0.175238,
                "Y": 0.465,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868398",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0987619,
                "Height": 0.131,
                "X": 0.950619,
                "Y": 0.5915,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868399",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0607619,
                "Height": 0.08,
                "X": 0.307238,
                "Y": 0.357,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868400",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0649524,
                "Height": 0.086,
                "X": 0.776571,
                "Y": 0.478,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868401",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0534286,
                "Height": 0.071,
                "X": 0.627286,
                "Y": 0.4025,
                "Type": "Face",
                "Uri": "/api/v2/region/4890868402",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.03539,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}