Is there an existing issue for the same feature request?
Is your feature request related to a problem?
No response
Describe the feature you'd like
The Infinity HTTP API already provides the show command to display the status of the infinity internal database. However, there is no way to access the configuration and variables within the system. The goal of this PR is to propose a couple of HTTP APIs to accomplish this.
curl --request GET \
--url localhost:23820/variables/ \
--header 'accept: application/json'
curl --request GET \
--url localhost:23820/configs/ \
--header 'accept: application/json'
curl --request GET \
--url localhost:23820/variables/{variable_name} \
--header 'accept: application/json'
curl --request GET \
--url localhost:23820/configs/{config_name} \
--header 'accept: application/json'
curl --request POST \
--url localhost:23820/variables \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data ' \
{
"{variable_name}": "{new_value}"
} '
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response
Is there an existing issue for the same feature request?
Is your feature request related to a problem?
No response
Describe the feature you'd like
The Infinity HTTP API already provides the show command to display the status of the infinity internal database. However, there is no way to access the configuration and variables within the system. The goal of this PR is to propose a couple of HTTP APIs to accomplish this.
Describe implementation you've considered
No response
Documentation, adoption, use case
No response
Additional information
No response