influxdata / influxdata/influxdb
Add pagination support to `/documents/templates` API
Open
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 /documents/templates` API.
Contributor guide
Research direction
Start at the GET /documents/templates API route and trace its handler to understand how templates are currently listed. Look for existing pagination implementations in nearby API endpoints and add tests covering limit, after, and descending; done means all three parameters affect the returned ordering and page boundaries correctly.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100