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
Route
GET /api/rest/admin/incoming-registrations
Response
Headers
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
}
}