Get all security measures as PagedList
GET {{baseUrl}}/v1/ws/:workspaceId/SecurityMeasures?q=eu&tags=88057944&tags=-17779712&types=Physical&types=Technical&select=eu&page=61551403&size=61551403&skip=61551403&sortBy=eu&asc=true&filters=eu
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
q | string | ||
tags | number | ||
tags | number | ||
types | string | ||
types | string | ||
select | string | Comma separated list of fields | |
page | number | Pagination index (1 based, page 1 = 1, page 2 = 2...) | |
size | number | Size of the result page (default: 20, max 500) | |
skip | number | The number of items to skip (if not provided, it will use the default page and size prop) | |
sortBy | string | The field to sort | |
asc | boolean | True to sort ascending | |
filters | string | A serialized as json filter string using the JsonRuleEngine.net format | |
https://github.com/antoinebidault/JsonRuleEngine.Net | |||
The filters is a query param, that's why he must be properly serialized as a json string and url encoded | |||
e.g. {"field":"ProcessingType", "operator":"notEqual", "value": "Done"} | |||
The field prop must match one property name of the object (present in the output results) | |||
The operator can be equal, | |||
notEqual, | |||
lessThan, | |||
lessThanInclusive, | |||
greaterThan, | |||
greaterThanInclusive, | |||
in, | |||
notIn, | |||
contains, | |||
doesNotContains, | |||
isNull, | |||
isNotNull, | |||
isEmpty | |||
You can combine the filters as following : | |||
{ "separator":"Or","rules": [{"field":"ProcessingType", "operator":"notEqual", "value": "Done"},{"field":"ProcessingType", "operator":"isNull"}]} | |||
Serialize the filter param as following: | |||
?filters=${uriEncodeComponent(JSON.stringify({"field":"ProcessingType", "operator":"notEqual", "value": "Done"}))} |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"label":"laborum aute","type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataProcessings":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"customFields":{"incididunt_e8":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"esse_53":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"enim662":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"nonac_":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"id":-55236436,"description":"amet","relatedRisk":"amet laborum incididunt Excepteur","moreDetailsUrl":"Ut","dateCreation":"1946-12-08T14:05:04.645Z","dateUpdate":"1965-05-06T14:28:44.192Z","tags":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"attachments":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"creatorUser":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"label":"tempor cillum","type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"dataProcessings":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"customFields":{"do3e8":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"eiusmodd80":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"id":-72523091,"description":"exercitation in dolor enim ex","relatedRisk":"dolor consectetur","moreDetailsUrl":"quis dolore ut elit","dateCreation":"1984-10-31T19:58:33.454Z","dateUpdate":"2010-08-18T07:22:18.694Z","tags":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"attachments":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"creatorUser":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"total":-88680726,"size":69851878,"page":-95538494}