Response [200 Ok]

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

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

Uri /api/v2/region/521289057
UriDescription Region by ID
Height 0.20983
Type Face
Width 0.15745
X 0.83483
Y 0.34582

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

Uri /api/v2/region/521289058
UriDescription Region by ID
Height 0.19346
Type Face
Width 0.13557
X 0.06778
Y 0.36569

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

Uri /api/v2/region/521289059
UriDescription Region by ID
Height 0.23751
Type Face
Width 0.17821
X 0.28841
Y 0.37918

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

Uri /api/v2/region/521289060
UriDescription Region by ID
Height 0.11282
Type Face
Width 0.08465
X 0.67614
Y 0.2879

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

Uri /api/v2/region/521289061
UriDescription Region by ID
Height 0.11282
Type Face
Width 0.08465
X 0.67596
Y 0.17391

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

Uri /api/v2/region/521289062
UriDescription Region by ID
Height 0.1276
Type Face
Width 0.09574
X 0.95468
Y 0.29705

Timing

Total

cycles 1
objects 0
time 0.04264

Request

Uri /api/v2/image/C5bMnGh-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/C5bMnGh-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": "C5bMnGh-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/C5bMnGh-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.15745,
                "Height": 0.20983,
                "X": 0.83483,
                "Y": 0.34582,
                "Type": "Face",
                "Uri": "/api/v2/region/521289057",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.13557,
                "Height": 0.19346,
                "X": 0.06778,
                "Y": 0.36569,
                "Type": "Face",
                "Uri": "/api/v2/region/521289058",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.17821,
                "Height": 0.23751,
                "X": 0.28841,
                "Y": 0.37918,
                "Type": "Face",
                "Uri": "/api/v2/region/521289059",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.08465,
                "Height": 0.11282,
                "X": 0.67614,
                "Y": 0.2879,
                "Type": "Face",
                "Uri": "/api/v2/region/521289060",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.08465,
                "Height": 0.11282,
                "X": 0.67596,
                "Y": 0.17391,
                "Type": "Face",
                "Uri": "/api/v2/region/521289061",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.09574,
                "Height": 0.1276,
                "X": 0.95468,
                "Y": 0.29705,
                "Type": "Face",
                "Uri": "/api/v2/region/521289062",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.04264,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}