Ethiack Docs
Organizations

Get an organization's beacon

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

Return one beacon belonging to an organization.

The response includes the beacon's auth token and rathole parameters, so it also needs beacon:read_credentials.

AuthorizationBearer <token>

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

In: header

Path Parameters

organization_id*integer
beacon_id*integer

Response Body

application/json

application/json

curl -X GET "https://api.ethiack.com/v1/organizations/0/beacons/0"
{
  "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",
  "version": 0,
  "beacon_token": "string",
  "rathole_server": "string",
  "rathole_public_port": 0,
  "rathole_control_port": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}