Response [200 Ok]

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

Region [1 of 3]
/api/v2/region/4890865807

Uri /api/v2/region/4890865807
UriDescription Region by ID
Height 0.067
Type Face
Width 0.0502857
X 0.783905
Y 0.2775

Region [2 of 3]
/api/v2/region/4890865808

Uri /api/v2/region/4890865808
UriDescription Region by ID
Height 0.097
Type Face
Width 0.0733333
X 0.310381
Y 0.2435

Region [3 of 3]
/api/v2/region/4890865809

Uri /api/v2/region/4890865809
UriDescription Region by ID
Height 0.053
Type Face
Width 0.0398095
X 0.664476
Y 0.2935

Timing

Total

cycles 1
objects 0
time 0.04068

Request

Uri /api/v2/image/fHTnxcR-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/fHTnxcR-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": "fHTnxcR-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/fHTnxcR-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0502857,
                "Height": 0.067,
                "X": 0.783905,
                "Y": 0.2775,
                "Type": "Face",
                "Uri": "/api/v2/region/4890865807",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0733333,
                "Height": 0.097,
                "X": 0.310381,
                "Y": 0.2435,
                "Type": "Face",
                "Uri": "/api/v2/region/4890865808",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0398095,
                "Height": 0.053,
                "X": 0.664476,
                "Y": 0.2935,
                "Type": "Face",
                "Uri": "/api/v2/region/4890865809",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04068,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}