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

total_pages removed from API specifications #2

Open
Typel opened this issue Oct 5, 2016 · 1 comment
Open

total_pages removed from API specifications #2

Typel opened this issue Oct 5, 2016 · 1 comment

Comments

@Typel
Copy link

Typel commented Oct 5, 2016

As of September 2, 2016, Action Network has removed the total_pages and total_records fields from the "people" collection on GET requests ( https://actionnetwork.org/docs )

Presently, this causes getFullCollection and getFullSimpleCollection to return 0 results when using the "people" endpoint, as these functions rely on total_pages.

@jkissam
Copy link
Contributor

jkissam commented Oct 7, 2016

Hi there,

Just updated with a new version that uses _links->next->href as a fallback if total_pages is not present, for both getFullSimpleCollection and traverseFullCollection (there is no getFullCollection method).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants