Get Policies
GET {{baseUrl}}/v1/policy?pagination=<number>&createdUntil=<string>&archived=<boolean>
Get all policies for current Organization.
Parameters
Field | Type | Required | Description |
---|---|---|---|
pagination | number greater than 0 | optional | Start paginating result by a given number of items on the page. Next page link is available in the response header Link .E.g.: <https://api.signageos/v1/policy?pagination=50&createdUntil=2020-10-22T16%3A10%3A00.000Z>; rel="next" |
createdUntil | string | optional | Filter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). |
archived | boolean | optional | Filter archived/active policies. Accepted values '0', '1', 'true', 'false' |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pagination | string | Start paginating result by given number items on page. Next page link is available on in response under header Link . E.g.: <https://api.signageos/v1/policy?pagination=50&createdUntil=2020-10-22T16%3A10%3A00.000Z>; rel="next" | |
createdUntil | string | Filter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter). | |
archived | string | Filter archived/active policies. Accepted values '0', '1', 'true', 'false' |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
[]