Ethiack Docs
Organizations

List an organization's beacons

GET
/v1/organizations/{organization_id}/beacons/

List beacons belonging to an organization.

Scoped to organization and partner integrators; supports filtering by status.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

Query Parameters

page?integer
Default1
Range1 <= value
per_page?integer

Page size. Values above 500 are clamped to it (or rejected, per the server configuration).

Default25
Range1 <= value
status?|

Status name (active, idle, faulty; any case) or numeric code (1, 2, 3).

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/beacons/"
{
  "total": 0,
  "page": 0,
  "per_page": 0,
  "_links": {
    "property1": "string",
    "property2": "string"
  },
  "beacons": [
    {
      "id": 0,
      "name": "string",
      "status": 0,
      "last_seen": "2019-08-24T14:15:22Z",
      "created": "2019-08-24T14:15:22Z",
      "allowed_cidrs": [
        "string"
      ],
      "dns_server": "string",
      "interface_name": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}