Gateway Media encryption modes API

get listing

GET /api/rest/admin/gateway-media-encryption-modes

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.eyJzdWIiOjExMywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwNH0.2RUhCRFAfIS8-Rqt2QD0sDHTGEw6wlM1KRtaxiGNW2I
Host: example.org
Cookie: 

Route

GET /api/rest/admin/gateway-media-encryption-modes

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/"e8b54af1144f9f841620cc0b36977fef"
cache-control: max-age=0, private, must-revalidate
x-request-id: 6c6ff35e-e63e-46fb-82af-804ab34f2c90
x-runtime: 0.007338
content-length: 779

Status

200 OK

Body

{
  "data": [
    {
      "id": "0",
      "type": "gateway-media-encryption-modes",
      "links": {
        "self": "http://example.org/api/rest/admin/gateway-media-encryption-modes/0"
      },
      "attributes": {
        "name": "Disable"
      }
    },
    {
      "id": "1",
      "type": "gateway-media-encryption-modes",
      "links": {
        "self": "http://example.org/api/rest/admin/gateway-media-encryption-modes/1"
      },
      "attributes": {
        "name": "SRTP SDES"
      }
    },
    {
      "id": "2",
      "type": "gateway-media-encryption-modes",
      "links": {
        "self": "http://example.org/api/rest/admin/gateway-media-encryption-modes/2"
      },
      "attributes": {
        "name": "SRTP DTLS"
      }
    }
  ],
  "meta": {
    "total-count": 3
  },
  "links": {
    "first": "http://example.org/api/rest/admin/gateway-media-encryption-modes?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/gateway-media-encryption-modes?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}