Skip to content

Organizations paging in InfluxDB 2.0 API is lacking #19033

Open
@hinstw

Description

@hinstw

Paging of organizations is currently not possible in InfluxDB 2.0.

Steps to reproduce:

  1. Create 30 organisations
  2. GET /organizations
  3. Observe the output. 20 organizations will be returned.

Expected behavior:
A link to the next page will be present in object {"links": {"next": "..."}}

Actual behavior:
Links object contains only self link

Environment info:

  • System info: Linux 4.19.76-linuxkit x86_64
  • InfluxDB version: InfluxDB 2.0.0-beta.14 (git: c8af0f3) build_date: 2020-07-08T20:42:23Z
  • Runs in a Docker container

Note
It would be nice if we could set ?limit=999 to get all organizations without paging

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions