Skip to content

Typo in README #3

@RichardD2

Description

@RichardD2

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions