Execute Filter Count
Executes the saved query of the filter by id and returns the count.
Method
GET /filter/{id}/count
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the filter to execute. |
Result
A JSON object with a single count property.
Name | Type | Description |
---|---|---|
count | Number | The number of filters that fulfill the query criteria. |
Response Codes
Code | Media type | Description |
---|---|---|
200 | application/json | Request successful. |
403 | application/json | The authenticated user is unauthorized to read this filter. See the Introduction for the error response format. |
404 | application/json | Filter with given id does not exist. See the Introduction for the error response format. |
Example
Request
GET /filter/aTaskFilterId/count
Response
Status 200.
{
"count": 2
}