You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue for the same feature request?
I have checked the existing issues.
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.
Show variables
curl --request GET \
--url localhost:23820/variables/ \
--header 'accept: application/json'
Show configs
curl --request GET \
--url localhost:23820/configs/ \
--header 'accept: application/json'
Show variable
curl --request GET \
--url localhost:23820/variables/{variable_name} \
--header 'accept: application/json'
Show config
curl --request GET \
--url localhost:23820/configs/{config_name} \
--header 'accept: application/json'
### What problem does this PR solve?
- Refactors config file and show config/configs;
- Implements show global/session variables;
- Implements show global/session variable;
Issue link:#1180
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
### What problem does this PR solve?
As title.
Issue link:#1180
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
…G/VARIABLE (#1207)
### What problem does this PR solve?
Implement HTTP API: SHOW CONFIGS/VARIABLES/CONFIG/VARIABLE, SET
CONFIG/VARIABLE
Issue link:#1180
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
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
The text was updated successfully, but these errors were encountered: