Sorting and Filtering
The Get All Projects endpoint supports multiple filters and sorting options. You can filter all projects by using the following query parameters:
pid. You can add
sort parameters and order them with
desc. You can only use one filter per request.
An example request with filters and sorting is included below:
https://api.peanutlabs.com/marketplace/supply/api/v1/projects &pid=2 &countryISOCode=US,UK &state=CLOSED,PROVISIONED &sort=countryISOCode:asc,languageISOCode:desc