Retrieve a list of all slots matching the specified parameters

GET /accounts/{account_id}/cni/slots

Responses

200 List of matching slots

Data is at body["result"]

{
  "items": [
    {
      "account": "*string*",
      "facility": {
        "address": null,
        "name": null
      },
      "id": "*string*",
      "occupied": "*boolean*",
      "site": "*string*",
      "speed": "*string*"
    }
  ],
  "next": "*integer*"
}

400 Bad request

500 Internal server error

Get information about the specified slot

GET /accounts/{account_id}/cni/slots/{slot}

Responses

200 Information about the specified slot

Data is at body["result"]

{
  "account": "*string*",
  "facility": {
    "address": [
      "*string*"
    ],
    "name": "*string*"
  },
  "id": "*string*",
  "occupied": "*boolean*",
  "site": "*string*",
  "speed": "*string*"
}

400 Bad request

404 Slot not found

500 Internal server error