Skip to content

Optional query parameters for pagination are actually mandatory #364

@lsulak

Description

@lsulak

Describe the bug

These endpoints don't work without limit and offset query parameters! They should be optional, but are not. So I had to add ?limit=10&offset=0 into the queries for them to work:

  • GETs /api/v2/partitionings/{{partitioning_id}}/checkpoints
  • GETs /api/v2/flows/{{flow_id}}/partitionings
  • GETs /api/v2/flows/{{flow_id}}/checkpoints

To Reproduce

Just call any of these 3 API endpoints without one / both of these parameters and you will see that they don't work.

Expected behavior

Sensible defaults are used when not specifying these parameters, i.e. the endpoints work even without them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    🆕 To groom

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions