POST /api/filters { "filter": { "role_id": 8, "permission_ids": [ 135202335 ], "organization_ids": [ 447626439 ], "override": true } } 201 { "search": null, "resource_type": "Medium", "unlimited?": false, "created_at": "2018-11-16 10:02:11 UTC", "updated_at": "2018-11-16 10:02:11 UTC", "override?": true, "id": 1062414301, "role": { "name": "Destroy hosts", "id": 8, "description": null, "origin": "" }, "permissions": [ { "name": "view_media", "id": 135202335, "resource_type": "Medium" } ], "locations": [], "organizations": [ { "id": 447626439, "name": "org19", "title": "org19", "description": null } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
filter required |
Validations:
|
filter[role_id] required |
Validations:
|
filter[search] optional , nil allowed |
Validations:
|
filter[override] optional , nil allowed |
Validations:
|
filter[permission_ids] optional , nil allowed |
Validations:
|
filter[organization_ids] optional , nil allowed |
Validations:
|
filter[location_ids] optional , nil allowed |
Validations:
|