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

count description doesn't respect the limit defined in the documentation #9

Open
leonstafford opened this issue Jul 28, 2018 · 0 comments

Comments

@leonstafford
Copy link

Using something like

$inactive_sites = $api->Api("/plugins/{$first_plugin_id}/installs.json?filter=active&count=30", 'GET');

I'm unable to get more than 25 results returned. I can set the value to less than 25 and it returns the expected number of results.

The API documentation states:

Ranges from 1 to 50. Example: 30. Default: 25.

and

Pagination: All collection queries optionally accept count (limit) and offset params while limit can range from 1 to 50 and defaults to 25.

Suggested fix: align API with documentation.

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

1 participant