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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjExOCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzMn0.yZeWsGmlcRxi4HC3NjcVLPNajCm76tXrbsgwxp6WJnk
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/"38f69edd8b35903b08fb01395c25e31e"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 09addb61-6d7a-43a5-8c7e-2da3486a5425
X-Runtime: 0.009966
Content-Length: 1233

Status

200 OK

Body

{
  "data": [
    {
      "id": "af51bbbe-40ca-4dcd-b1f0-0c8166a2acbe",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/af51bbbe-40ca-4dcd-b1f0-0c8166a2acbe"
      },
      "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/af51bbbe-40ca-4dcd-b1f0-0c8166a2acbe/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/af51bbbe-40ca-4dcd-b1f0-0c8166a2acbe/gateway"
          }
        }
      }
    },
    {
      "id": "e456e0c5-bca8-4647-914a-ad4181c8da02",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/e456e0c5-bca8-4647-914a-ad4181c8da02"
      },
      "attributes": {
        "auth-id": 123,
        "contact": "sip:test@10.255.10.2",
        "expires": "3600",
        "path": "sip:test.2@domain",
        "user-agent": "Twinkle"
      },
      "relationships": {
        "gateway": {
          "links": {
            "self": "http://example.org/api/rest/admin/incoming-registrations/e456e0c5-bca8-4647-914a-ad4181c8da02/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/e456e0c5-bca8-4647-914a-ad4181c8da02/gateway"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 0
  }
}