Skip to content

Query APIs: allow empty predicate #15

Description

@paullatzelsperger

Query APIs, that take a predicate should be robust enough so that an empty predicate does not cause a 400 error.

Omitting the predicate should be interpreted as "no filter", i.e. return all values, within the limits of limit and offset.

the following circumstances count as "omitted"

  • "predicate": ""
  • `"predicate": null"
  • omitted from JSON

Metadata

Metadata

Assignees

No one assigned

    Labels

    apianything to do with REST APIsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions