Closed whoabuddy closed 2 years ago
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.
{version}
all
{blockheight}
current
This would need to be updated in the handler and defined in the OpenAPI spec, but should be a pretty straight-forward change.
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.
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 wordall
, similar to how{blockheight}
acceptscurrent
.This would need to be updated in the handler and defined in the OpenAPI spec, but should be a pretty straight-forward change.