Response [200 Ok]

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

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

Uri /api/v2/region/4890864789
UriDescription Region by ID
Height 0.046
Type Face
Width 0.0345714
X 0.276333
Y 0.301

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

Uri /api/v2/region/4890864791
UriDescription Region by ID
Height 0.049
Type Face
Width 0.0366667
X 0.561286
Y 0.2885

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

Uri /api/v2/region/4890864793
UriDescription Region by ID
Height 0.061
Type Face
Width 0.0460952
X 0.761905
Y 0.3215

Timing

Total

cycles 1
objects 0
time 0.04675

Request

Uri /api/v2/image/KV2tB2R-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/KV2tB2R-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": "KV2tB2R-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/KV2tB2R-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0345714,
                "Height": 0.046,
                "X": 0.276333,
                "Y": 0.301,
                "Type": "Face",
                "Uri": "/api/v2/region/4890864789",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0366667,
                "Height": 0.049,
                "X": 0.561286,
                "Y": 0.2885,
                "Type": "Face",
                "Uri": "/api/v2/region/4890864791",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0460952,
                "Height": 0.061,
                "X": 0.761905,
                "Y": 0.3215,
                "Type": "Face",
                "Uri": "/api/v2/region/4890864793",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04675,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}