Response [200 Ok]

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

Region [1 of 8]
/api/v2/region/521289512

Uri /api/v2/region/521289512
UriDescription Region by ID
Height 0.17692
Type Face
Width 0.14583
X 0.45404
Y 0.62728

Region [2 of 8]
/api/v2/region/521289513

Uri /api/v2/region/521289513
UriDescription Region by ID
Height 0.17893
Type Face
Width 0.14749
X 0.65218
Y 0.60573

Region [3 of 8]
/api/v2/region/521289514

Uri /api/v2/region/521289514
UriDescription Region by ID
Height 0.14357
Type Face
Width 0.11835
X 0.3354
Y 0.59338

Region [4 of 8]
/api/v2/region/521289515

Uri /api/v2/region/521289515
UriDescription Region by ID
Height 0.17615
Type Face
Width 0.1452
X 0.16955
Y 0.51657

Region [5 of 8]
/api/v2/region/521289516

Uri /api/v2/region/521289516
UriDescription Region by ID
Height 0.13903
Type Face
Width 0.11461
X 0.44631
Y 0.34193

Region [6 of 8]
/api/v2/region/521289517

Uri /api/v2/region/521289517
UriDescription Region by ID
Height 0.19667
Type Face
Width 0.16212
X 0.8946
Y 0.57355

Region [7 of 8]
/api/v2/region/521289518

Uri /api/v2/region/521289518
UriDescription Region by ID
Height 0.12352
Type Face
Width 0.10181
X 0.04119
Y 0.29034

Region [8 of 8]
/api/v2/region/521289519

Uri /api/v2/region/521289519
UriDescription Region by ID
Height 0.12589
Type Face
Width 0.10377
X 0.16005
Y 0.36969

Timing

Total

cycles 1
objects 0
time 0.04667

Request

Uri /api/v2/image/V69VnSn-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/V69VnSn-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": "V69VnSn-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/V69VnSn-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.14583,
                "Height": 0.17692,
                "X": 0.45404,
                "Y": 0.62728,
                "Type": "Face",
                "Uri": "/api/v2/region/521289512",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.14749,
                "Height": 0.17893,
                "X": 0.65218,
                "Y": 0.60573,
                "Type": "Face",
                "Uri": "/api/v2/region/521289513",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.11835,
                "Height": 0.14357,
                "X": 0.3354,
                "Y": 0.59338,
                "Type": "Face",
                "Uri": "/api/v2/region/521289514",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.1452,
                "Height": 0.17615,
                "X": 0.16955,
                "Y": 0.51657,
                "Type": "Face",
                "Uri": "/api/v2/region/521289515",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.11461,
                "Height": 0.13903,
                "X": 0.44631,
                "Y": 0.34193,
                "Type": "Face",
                "Uri": "/api/v2/region/521289516",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.16212,
                "Height": 0.19667,
                "X": 0.8946,
                "Y": 0.57355,
                "Type": "Face",
                "Uri": "/api/v2/region/521289517",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.10181,
                "Height": 0.12352,
                "X": 0.04119,
                "Y": 0.29034,
                "Type": "Face",
                "Uri": "/api/v2/region/521289518",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.10377,
                "Height": 0.12589,
                "X": 0.16005,
                "Y": 0.36969,
                "Type": "Face",
                "Uri": "/api/v2/region/521289519",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04667,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}