Response [200 Ok]

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

Region [1 of 7]
/api/v2/region/2625921613

Uri /api/v2/region/2625921613
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.237047
Y 0.5

Region [2 of 7]
/api/v2/region/2625921614

Uri /api/v2/region/2625921614
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.342293
Y 0.383268

Region [3 of 7]
/api/v2/region/2625921615

Uri /api/v2/region/2625921615
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.342293
Y 0.616732

Region [4 of 7]
/api/v2/region/2625921616

Uri /api/v2/region/2625921616
UriDescription Region by ID
Height 0.0359922
Type AF Point
Width 0.0349741
X 0.5
Y 0.719844

Region [5 of 7]
/api/v2/region/2625921617

Uri /api/v2/region/2625921617
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.657707
Y 0.383268

Region [6 of 7]
/api/v2/region/2625921618

Uri /api/v2/region/2625921618
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.657707
Y 0.616732

Region [7 of 7]
/api/v2/region/2625921620

Uri /api/v2/region/2625921620
UriDescription Region by ID
Height 0.0515564
Type AF Point
Width 0.0249352
X 0.762953
Y 0.5

Timing

Total

cycles 1
objects 0
time 0.05348

Request

Uri /api/v2/image/LG6m6Xp-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/LG6m6Xp-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": "LG6m6Xp-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/LG6m6Xp-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.237047,
                "Y": 0.5,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921613",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.342293,
                "Y": 0.383268,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921614",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.342293,
                "Y": 0.616732,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921615",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0349741,
                "Height": 0.0359922,
                "X": 0.5,
                "Y": 0.719844,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921616",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.657707,
                "Y": 0.383268,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921617",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.657707,
                "Y": 0.616732,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921618",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0249352,
                "Height": 0.0515564,
                "X": 0.762953,
                "Y": 0.5,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2625921620",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.05348,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}