influxdata / influxdata/influxdb

Add pagination support to `/notificationEndpoints/{endpointID}/labels` API

Open
#21,436 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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 /notificationEndpoints/{endpointID}/labels` API.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GET /notificationEndpoints/{endpointID}/labels handler and its existing label-listing behavior. Trace how query parameters are parsed and how similar APIs implement limit, after, and descending pagination. Done means this endpoint accepts all three parameters and returns correctly paginated labels, with tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.