Get Policies

GET {{baseUrl}}/v1/policy?pagination=<number>&createdUntil=<string>&archived=<boolean>

Get all policies for current Organization.

Parameters

FieldTypeRequiredDescription
paginationnumber 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"
createdUntilstring
optional
Filter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter).
archivedboolean
optional
Filter archived/active policies. Accepted values '0', '1', 'true', 'false'

Request Params

KeyDatatypeRequiredDescription
paginationstringStart paginating result by given number items on page. Next page link is available on in response under header Link. E.g.: &lt;https://api.signageos/v1/policy?pagination=50&amp;createdUntil=2020-10-22T16%3A10%3A00.000Z&gt;; rel=&quot;next&quot;
createdUntilstringFilter by policy createdAt lower than (exclusive) date time in ISO-8601 format. Internally used for pagination (see pagination parameter).
archivedstringFilter archived/active policies. Accepted values '0', '1', 'true', 'false'

HEADERS

KeyDatatypeRequiredDescription
x-authstringAuthorization key and token
Content-Typestring
Acceptstring

RESPONSES

status: OK

[]