influxdata / influxdata/influxdb

Add pagination support to `/scrapers/{scraperTargetID}/labels` API

Open
#21,412 0 comments 0 reactions 0 assignees View on GitHub
area/2.x area/api
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Add support for `limit`/`after`/`descending` to the `GET /scrapers/{scraperTargetID}/labels` API.

Contributor guide

Open the contributing guide

Research direction

Start by locating the handler for GET /scrapers/{scraperTargetID}/labels and review how the endpoint currently lists labels. Add support for limit, after, and descending, with completion shown by the endpoint returning correctly paginated label results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.