Query container properties
GET
/container/<containerId>/zones
Description
Query all zones for a given container.
Path parameters
Param | Description |
---|---|
containerId |
Container Id. |
Query parameters
none
Return codes
Error code | Reason |
---|---|
200 |
Success. |
400 |
Unknown field or invalid query param. |
401 |
Invalid or missing token. |
403 |
Insufficient permissions (required: API +READ ). |
404 |
Container not found. |
Example
Curl request:
curl \
-X GET 'https://api.infrasonar.com/container/123/zones' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Response:
[
{
"zone": 0,
"name": "default"
}
]