Response [200 Ok]

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

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

Uri /api/v2/region/4221212809
UriDescription Region by ID
Height 0.0963809
Type Face
Width 0.0722857
X 0.325571
Y 0.613143

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

Uri /api/v2/region/4221212813
UriDescription Region by ID
Height 0.0890476
Type Face
Width 0.0670476
X 0.219238
Y 0.530905

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

Uri /api/v2/region/4221212820
UriDescription Region by ID
Height 0.0534286
Type Face
Width 0.0398095
X 0.430857
Y 0.502619

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

Uri /api/v2/region/4221212822
UriDescription Region by ID
Height 0.0680952
Type Face
Width 0.0513333
X 0.842048
Y 0.480619

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

Uri /api/v2/region/4221212824
UriDescription Region by ID
Height 0.0555238
Type Face
Width 0.0419048
X 0.673905
Y 0.483762

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

Uri /api/v2/region/4221212825
UriDescription Region by ID
Height 0.0974286
Type Face
Width 0.0722857
X 0.606333
Y 0.568619

Timing

Total

cycles 1
objects 0
time 0.0493

Request

Uri /api/v2/image/DrHjBLX-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/DrHjBLX-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": "DrHjBLX-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/DrHjBLX-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0722857,
                "Height": 0.0963809,
                "X": 0.325571,
                "Y": 0.613143,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212809",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0670476,
                "Height": 0.0890476,
                "X": 0.219238,
                "Y": 0.530905,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212813",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0398095,
                "Height": 0.0534286,
                "X": 0.430857,
                "Y": 0.502619,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212820",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0513333,
                "Height": 0.0680952,
                "X": 0.842048,
                "Y": 0.480619,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212822",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0419048,
                "Height": 0.0555238,
                "X": 0.673905,
                "Y": 0.483762,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212824",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0722857,
                "Height": 0.0974286,
                "X": 0.606333,
                "Y": 0.568619,
                "Type": "Face",
                "Uri": "/api/v2/region/4221212825",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.0493,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}