-
Notifications
You must be signed in to change notification settings - Fork 357
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
GET /v2/config/running_security_groups is not a paginated request #578
Comments
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/117802219. |
Hi @Zteve, As a default, pages have We have updated our docs, in the locations that you mentioned, to include the pagination query parameters you can use. Our CI will update them on the internet when our tests complete. So, I'll list them below, too.
Thanks, |
Thank you Amelia, I'm hoping that, apart from updating the docs, you also update CF to use the page query parameters in the normal way. I'll retry my test to check if I specified them correctly on my trial request. |
As you were; CF recognizes the query parameters; typo in my test. Thank you for your efforts. |
It happens to the best of us 😄 |
Issue
returns a paginated response (with pages) but the request is not documented as paginated. It is therefore apparently impossible to request page 2.
Context
CC API 2.53.0, version 234 (latest version). REST interface.
Steps to Reproduce
Simply issue a
GET /v2/config/running_security_groups
request. The response looks like this:which is a paginated response. To build a complete list of "running security groups" one would expect to issue a series of page requests, but the request has no payload and is not paginated.
Expected result
The result is fine, as far as it goes.
Current result
I currently lack the ability to request page 2.
Possible Fix
Extend the request to have a paginated request payload:
or some such.
Notes
GET /v2/config/staging_security_groups
.GET /v2/security_groups
) and filtering out the defaults ones, however the API description of the List all Security Groups request doesn't have any of the staging default or running default security groups in its example response, which implies they aren't returned. Please clarify this in your response.The text was updated successfully, but these errors were encountered: