Sensor levels API

get listing

GET /api/rest/admin/sensor-levels

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxMiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3MX0.T7x02gBvjy1h06G7xhc3IrDmpRLp27DJLthu9z6FTns
Host: example.org
Cookie: 

Route

GET /api/rest/admin/sensor-levels

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"6ff4fbf6fc4c83c2b33d9acdb87b50a0"
cache-control: max-age=0, private, must-revalidate
x-request-id: ab15bc97-8459-4ec8-b87e-7af2a5157ec2
x-runtime: 0.012594
content-length: 643

Status

200 OK

Body

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