Customizing saved filters for certification reviewers.
List, create, and delete saved filters, globally or for a single workflow. Reviewers can pick from available quick filters under Certification Filters > Saved Filters.
Method
Syntax
GET, POST, DELETE
{Veza URL}/api/preview/awf/quick_filters
Examples
Add a quick filter
Add a quick filter by specifying an optional workflow_id and a single source or destination node property, corresponding to a Review interface column.
Valid filter operators are:
co "contains"
eq "equals"
ne "not equals"
sw "starts with"
ew "ends with"
With a workflow_id specified, the filter will only apply to certifications on that workflow. Otherwise, reviewers can apply the quick filter to any certification:
POST {Veza URL}/api/preview/awf/quick_filters
{
"name": "custom filter",
"filter": "source.type co \"admin\"",
"workflow_id": "ad78350a-bfe5-4eff-a160-dccbe28c6961"
}
A successful response will contain the filter id, for example:
{
"id": "41761624-cb9c-4668-be69-3b0f359a45e3"
}
List all quick filters
GET {Veza URL}/api/preview/awf/quick_filters
Including a workflow_id in the query returns quick filters with a matching workflow_id and quick filters with no workflow_id:
GET {Veza URL}/api/preview/awf/quick_filters?workflow_id=78be0b3d-d6f4-4e5d-98c4-7b1db1a88575