influxdata / influxdata/influxdb

Organizations paging in InfluxDB 2.0 API is lacking

Open
#19,033 1 comment 1 reaction 1 assignee Assigned to @dgnorton View on GitHub
area/2.x kind/enhancement team/compute
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

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: c8af0f35be) 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.