Response [200 Ok]

Uri /api/v2/image/2jkbtjM-1!regions
UriDescription Regions for image
EndpointType Regions
Locator Region
LocatorType Objects

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

Uri /api/v2/region/21985233
UriDescription Region by ID
Height 0.0713
Type Face
Width 0.04763
X 0.33745
Y 0.32194

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

Uri /api/v2/region/21985234
UriDescription Region by ID
Height 0.07286
Type Face
Width 0.04867
X 0.42861
Y 0.57762

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

Uri /api/v2/region/21985235
UriDescription Region by ID
Height 0.07476
Type Face
Width 0.04994
X 0.67102
Y 0.58649

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

Uri /api/v2/region/21985236
UriDescription Region by ID
Height 0.071
Type Face
Width 0.04743
X 0.59873
Y 0.3079

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

Uri /api/v2/region/21985237
UriDescription Region by ID
Height 0.07446
Type Face
Width 0.04973
X 0.64059
Y 0.43197

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

Uri /api/v2/region/21985238
UriDescription Region by ID
Height 0.07464
Type Face
Width 0.04986
X 0.38075
Y 0.51709

Timing

Total

cycles 1
objects 0
time 0.05653

Request

Uri /api/v2/image/2jkbtjM-1!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/2jkbtjM-1!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": "2jkbtjM-1",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/2jkbtjM-1!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.04763,
                "Height": 0.0713,
                "X": 0.33745,
                "Y": 0.32194,
                "Type": "Face",
                "Uri": "/api/v2/region/21985233",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04867,
                "Height": 0.07286,
                "X": 0.42861,
                "Y": 0.57762,
                "Type": "Face",
                "Uri": "/api/v2/region/21985234",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04994,
                "Height": 0.07476,
                "X": 0.67102,
                "Y": 0.58649,
                "Type": "Face",
                "Uri": "/api/v2/region/21985235",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04743,
                "Height": 0.071,
                "X": 0.59873,
                "Y": 0.3079,
                "Type": "Face",
                "Uri": "/api/v2/region/21985236",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04973,
                "Height": 0.07446,
                "X": 0.64059,
                "Y": 0.43197,
                "Type": "Face",
                "Uri": "/api/v2/region/21985237",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.04986,
                "Height": 0.07464,
                "X": 0.38075,
                "Y": 0.51709,
                "Type": "Face",
                "Uri": "/api/v2/region/21985238",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.05653,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}