Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow Link header URIs for pagination #420

Closed
miketaylr opened this issue Nov 21, 2014 · 1 comment
Closed

Follow Link header URIs for pagination #420

miketaylr opened this issue Nov 21, 2014 · 1 comment

Comments

@miketaylr
Copy link
Member

Follow up from #370. Pagination traversal is much simpler if we just go where GitHub is telling us where to go.

@karlcow
Copy link
Member

karlcow commented Nov 24, 2014

Hypermedia driven API ;) And agreed.
This is exactly the goal.

miketaylr pushed a commit that referenced this issue Nov 24, 2014
(when checking to enable or disable pagination links)
miketaylr pushed a commit that referenced this issue Nov 24, 2014
(when checking to enable or disable pagination links)
miketaylr pushed a commit that referenced this issue Nov 24, 2014
(when checking to enable or disable pagination links)
miketaylr pushed a commit that referenced this issue Nov 24, 2014
(when checking to enable or disable pagination links)
miketaylr pushed a commit that referenced this issue Nov 25, 2014
…model

Search comes back as an object, with issues in the items key.
Issues is just an array.
miketaylr pushed a commit that referenced this issue Nov 25, 2014
This is a temporary workaround of GitHub's lack of sending
Link headers to the Issues API filtered by label. They have been
contacted and confirmed they are tracking it via an internal issue.
miketaylr pushed a commit that referenced this issue Nov 25, 2014
"closed" remains at /issues/category because requesting issues by
issue state correctly returns Link headers.
miketaylr pushed a commit that referenced this issue Dec 5, 2014
(when checking to enable or disable pagination links)
miketaylr pushed a commit that referenced this issue Dec 5, 2014
…model

Search comes back as an object, with issues in the items key.
Issues is just an array.
miketaylr pushed a commit that referenced this issue Dec 5, 2014
This is a temporary workaround of GitHub's lack of sending
Link headers to the Issues API filtered by label. They have been
contacted and confirmed they are tracking it via an internal issue.
miketaylr pushed a commit that referenced this issue Dec 5, 2014
"closed" remains at /issues/category because requesting issues by
issue state correctly returns Link headers.
miketaylr pushed a commit that referenced this issue Dec 5, 2014
miketaylr pushed a commit that referenced this issue Dec 5, 2014
miketaylr pushed a commit that referenced this issue Dec 5, 2014
miketaylr pushed a commit that referenced this issue Dec 5, 2014
miketaylr pushed a commit that referenced this issue Dec 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants