Sensor levels API

get listing

GET /api/rest/admin/system/sensor-levels

Parameters

Name Description
filter[id] id filter
filter[name] name filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzksInN1YiI6MjA3fQ.p7bIcJpQJ3tlXdlJrcuTehtXsmre26GLg0iy7V3DCBQ
Host: example.org
Cookie: 

Route

GET /api/rest/admin/system/sensor-levels

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"de394f11c9f9648d95e2cc1172bb22bc"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f3f36f8d-8d83-495f-98a9-991903cc0ecc
X-Runtime: 0.008777
Content-Length: 678

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "sensor-levels",
      "links": {
        "self": "http://example.org/api/rest/admin/system/sensor-levels/1"
      },
      "attributes": {
        "name": "Signaling"
      }
    },
    {
      "id": "2",
      "type": "sensor-levels",
      "links": {
        "self": "http://example.org/api/rest/admin/system/sensor-levels/2"
      },
      "attributes": {
        "name": "RTP"
      }
    },
    {
      "id": "3",
      "type": "sensor-levels",
      "links": {
        "self": "http://example.org/api/rest/admin/system/sensor-levels/3"
      },
      "attributes": {
        "name": "Signaling+RTP"
      }
    }
  ],
  "meta": {
    "total-count": 3
  },
  "links": {
    "first": "http://example.org/api/rest/admin/system/sensor-levels?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/system/sensor-levels?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}