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": "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
}
}