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.eyJleHAiOjE3MzE1Nzg3NTcsInN1YiI6MTM0fQ.IENIxi0C_GJBleyjr7PXF-mRpyeZEqYJT1TCk4TOX8w
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-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/"ab09ff8942fbdbf83581bf300a241443"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 812f114d-9721-41a0-bf4e-ec4e21b2c0d2
X-Runtime: 0.009849
Content-Length: 1233

Status

200 OK

Body

{
  "data": [
    {
      "id": "d281bb8b-9903-4606-9100-4ba18cf3ee0b",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/d281bb8b-9903-4606-9100-4ba18cf3ee0b"
      },
      "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/d281bb8b-9903-4606-9100-4ba18cf3ee0b/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/d281bb8b-9903-4606-9100-4ba18cf3ee0b/gateway"
          }
        }
      }
    },
    {
      "id": "877e3fbe-19f6-40ca-9b03-90268ed24395",
      "type": "incoming-registrations",
      "links": {
        "self": "http://example.org/api/rest/admin/incoming-registrations/877e3fbe-19f6-40ca-9b03-90268ed24395"
      },
      "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/877e3fbe-19f6-40ca-9b03-90268ed24395/relationships/gateway",
            "related": "http://example.org/api/rest/admin/incoming-registrations/877e3fbe-19f6-40ca-9b03-90268ed24395/gateway"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 0
  }
}