Jira (PDB-1423) Use HTTP Link Headers for paginated results

1 view
Skip to first unread message

Daniele Sluijters (JIRA)

unread,
Apr 13, 2015, 11:28:51 AM4/13/15
to puppe...@googlegroups.com
Daniele Sluijters created an issue
 
PuppetDB / New Feature PDB-1423
Use HTTP Link Headers for paginated results
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2015/04/13 8:28 AM
Priority: Normal Normal
Reporter: Daniele Sluijters

Currently using the pagination in the PuppetDB API is a bit painful, you need to keep track of your offset and things yourself which makes walking over it more difficult than need be.

By adding a few Link headers to the response with the first, previous, current, next and last result "page" it's much easier for clients to consume this data.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d)
Atlassian logo

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:57:04 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages