The Userback API utilizes Filtering and Sorting based on Microsoft API guidelines syntax, excluding the use of
This allows for the use of the following operators:
eq- Field equals the value
ne- Field is not equal to the value
gtGreater (than) the value
ltLess (than) the value
or- Logical connectives for multiple conditions
)- Allows grouping/ordering of more complex conditional logic
Filtering results can be done on all list endpoints using the
filter query URL parameter (eg:
In order to filter records you can perform an equality check like so:
https://api.userback.io/rest/1.0/feedback?filter=name eq 'Joe'
gt to find all feedback with more than 5 votes:
https://rest.userback.io/1.0/feedback?filter=voteCount gt 5
Filters can also be combined using the
//rest.userback.io/1.0/feedback?filter=voteCount gt 5 and feedbackType eq 'Bug'
Note that all string value quotations must use
?filter=name eq 'Joe Doe'
This also is required when it comes to
false, which are reserved keywords for booleans.
Sorting is achieved through the
sort query URL parameter. If we wanted to sort all feedback from mostly recently modified to least recently, we could use:
Only one field can be sorted at a time.