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

Endpoint Request: /tools/get-full-city-configuration #64

Closed
Tracked by #66
whoabuddy opened this issue May 13, 2022 · 1 comment
Closed
Tracked by #66

Endpoint Request: /tools/get-full-city-configuration #64

whoabuddy opened this issue May 13, 2022 · 1 comment

Comments

@whoabuddy
Copy link
Contributor

whoabuddy commented May 13, 2022

Right now the current format is:

/{cityname}/tools/get-full-city-configuration

In some cases, it may make sense to query all versions in one request, rather than splitting requests based on v1/v2/etc.

The {version} route should accept the word all, similar to how {blockheight} accepts current.

This would need to be updated in the handler and defined in the OpenAPI spec, but should be a pretty straight-forward change.

@whoabuddy
Copy link
Contributor Author

This would be better off as it's own endpoint for /{cityname}/tools/get-full-city-configuration

The return type is a different shape and it would deviate from the 1 request 1 response pattern.

@whoabuddy whoabuddy mentioned this issue May 13, 2022
3 tasks
@whoabuddy whoabuddy changed the title Update Endpoint: /tools/get-city-configuration Endpoint Request: /tools/get-full-city-configuration May 13, 2022
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