get listing
GET /api/rest/admin/diversion-policies
Parameters
Name |
Description |
filter[id]
|
id filter
|
filter[name]
|
name filter
|
filter[name-eq]
|
name eq filter
|
filter[name-not-eq]
|
name not eq filter
|
filter[name-cont]
|
name cont filter
|
filter[name-start]
|
name start filter
|
filter[name-end]
|
name end filter
|
filter[name-in]
|
name in filter
|
filter[name-not-in]
|
name not in filter
|
filter[name-cont-any]
|
name cont any filter
|
Request
Headers
Route
GET /api/rest/admin/diversion-policies
Response
Headers
Status
200 OK
Body
{
"data": [
{
"id": "1",
"type": "diversion-policies",
"links": {
"self": "http://example.org/api/rest/admin/diversion-policies/1"
},
"attributes": {
"name": "Do not accept"
}
},
{
"id": "2",
"type": "diversion-policies",
"links": {
"self": "http://example.org/api/rest/admin/diversion-policies/2"
},
"attributes": {
"name": "Accept"
}
}
],
"meta": {
"total-count": 2
},
"links": {
"first": "http://example.org/api/rest/admin/diversion-policies?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"last": "http://example.org/api/rest/admin/diversion-policies?page%5Bnumber%5D=1&page%5Bsize%5D=50"
}
}