IncomingRegistrations API

get listing

GET /api/rest/admin/incoming-registrations

Parameters

Name Description
filter[id] id filter
filter[auth-id-eq] auth id eq filter

Request

Headers

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

Route

GET /api/rest/admin/incoming-registrations

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/"f364db971c253e34df7cda272a3c75e7"
cache-control: max-age=0, private, must-revalidate
x-request-id: 16236588-76e1-4741-9f08-c8e1ddbc05eb
x-runtime: 0.025283
content-length: 969

Status

200 OK

Body

{
  "data": [
    {
      "id": "123",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/123"
      },
      "attributes": {
        "auth-id": 123,
        "contact": "sip:test@10.255.10.2",
        "expires": "3600",
        "path": "sip:test.1@domain",
        "user-agent": "Twinkle"
      },
      "relationships": {
        "gateway": {
          "links": {
            "self": "http://example.org/api/rest/admin/incoming-registrations/123/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/123/gateway"
          }
        }
      }
    },
    {
      "id": "123",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/123"
      },
      "attributes": {
        "auth-id": 123,
        "contact": "sip:test@10.255.10.2",
        "expires": "3600",
        "path": "sip:test.1@domain",
        "user-agent": "Twinkle"
      },
      "relationships": {
        "gateway": {
          "links": {
            "self": "http://example.org/api/rest/admin/incoming-registrations/123/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/123/gateway"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 0
  }
}