Response [200 Ok]

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

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

Uri /api/v2/region/2656380299
UriDescription Region by ID
Height 0.0497685
Type AF Point
Width 0.0248843
X 0.338156
Y 0.386285

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

Uri /api/v2/region/2656380300
UriDescription Region by ID
Height 0.0497685
Type AF Point
Width 0.0248843
X 0.661844
Y 0.386285

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

Uri /api/v2/region/2656380301
UriDescription Region by ID
Height 0.0648148
Type AF Point
Width 0.0428241
X 0.5
Y 0.5

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

Uri /api/v2/region/2656380303
UriDescription Region by ID
Height 0.0497685
Type AF Point
Width 0.0248843
X 0.768904
Y 0.5

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

Uri /api/v2/region/2656380304
UriDescription Region by ID
Height 0.0497685
Type AF Point
Width 0.0248843
X 0.338156
Y 0.613715

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

Uri /api/v2/region/2656380305
UriDescription Region by ID
Height 0.0497685
Type AF Point
Width 0.0248843
X 0.661844
Y 0.613715

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

Uri /api/v2/region/2656380306
UriDescription Region by ID
Height 0.0338542
Type AF Point
Width 0.0349151
X 0.5
Y 0.714988

Timing

Total

cycles 1
objects 0
time 0.08329

Request

Uri /api/v2/image/xw7PSF8-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/xw7PSF8-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": "xw7PSF8-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "regions"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/xw7PSF8-0!regions",
        "Locator": "Region",
        "LocatorType": "Objects",
        "Region": [
            {
                "Width": 0.0248843,
                "Height": 0.0497685,
                "X": 0.338156,
                "Y": 0.386285,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380299",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0248843,
                "Height": 0.0497685,
                "X": 0.661844,
                "Y": 0.386285,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380300",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0428241,
                "Height": 0.0648148,
                "X": 0.5,
                "Y": 0.5,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380301",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0248843,
                "Height": 0.0497685,
                "X": 0.768904,
                "Y": 0.5,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380303",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0248843,
                "Height": 0.0497685,
                "X": 0.338156,
                "Y": 0.613715,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380304",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0248843,
                "Height": 0.0497685,
                "X": 0.661844,
                "Y": 0.613715,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380305",
                "UriDescription": "Region by ID"
            },
            {
                "Width": 0.0349151,
                "Height": 0.0338542,
                "X": 0.5,
                "Y": 0.714988,
                "Type": "AF Point",
                "Uri": "/api/v2/region/2656380306",
                "UriDescription": "Region by ID"
            }
        ],
        "UriDescription": "Regions for image",
        "EndpointType": "Regions",
        "Timing": {
            "Total": {
                "time": 0.08329,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}