-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the "How to use" section, your README file has:
Now you can filter, sort and paginate versions:
GET /api/version?$filter=major gt 2&$orderby=major desc
would return this response:
{ "value": [ { "major": 3, "minor": 0 }, { "major": 2, "minor": 0 } ] }
The query is requesting versions where major
is greater than 2
, so the response should only contain one record ({"major":3,"minor":0}
).
Presumably, the request should actually be:
GET /api/version?$filter=major ge 2&$orderby=major desc
using the "greater-than-or-equal-to" operator, rather than the "greater-than" operator.
Metadata
Metadata
Assignees
Labels
No labels