SmartGare
API referenceEndpoints

Search equipment

Returns enrolled devices matching optional text, type and status filters. **Required permission:** `referential.equipment:read`

GET/referential/v1/equipment

Returns enrolled devices matching optional text, type and status filters.

Required permission: referential.equipment:read

AuthorizationBearer <token>

In: header

Query Parameters

search?string

Matches part of a code or name.

type?string

Restrict to one type of device.

Value in

  • "PLATE_CAMERA"
  • "RFID_READER"
  • "BARRIER"
  • "KEYPAD"
  • "BADGE_READER"
  • "GATE"
  • "INTERCOM"
  • "PRINTER"
  • "SAFETY_RELEASE"
  • "PRESENCE_SENSOR"
  • "PAYMENT_TERMINAL"
status?string

Restrict to one lifecycle status; defaults to ACTIVE.

Value in

  • "ACTIVE"
  • "RETIRED"
  • "ACTIVE"
  • "RETIRED"
  • "ACTIVE"
  • "RETIRED"
  • "ACTIVE"
  • "RETIRED"
page?integer

Zero-based page index.

Formatint32
Range0 <= value
size?integer

Page size, at most 200.

Formatint32
Range0 <= value <= 200

Response Body

*/*

curl -X GET "https://example.com/referential/v1/equipment"
{  "data": [    {      "bridge_address": "string",      "code": "string",      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "name": "string",      "retired_at": "2019-08-24T14:15:22Z",      "retirement_reason": "string",      "status": "string",      "type": "string",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "page": 0,  "size": 0,  "total": 0}