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

[Feature Request]: Cluster Admin HTTP APIs - part2 #1983

Open
1 task done
vsian opened this issue Oct 8, 2024 · 0 comments
Open
1 task done

[Feature Request]: Cluster Admin HTTP APIs - part2 #1983

vsian opened this issue Oct 8, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@vsian
Copy link
Contributor

vsian commented Oct 8, 2024

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

Support following HTTP APIs:

Set node role:

curl --request POST \
     --url http://localhost:23820/admin/node/current \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data ' 
     {
            "role" : "leader"
     } '

List node variables:

curl --request GET \
     --url http://localhost:23820/admin/variables \
     --header 'accept: application/json' \

List node configs:

curl --request GET \
     --url http://localhost:23820/admin/configs \
     --header 'accept: application/json' \

Show node variable by name:

curl --request GET \
     --url http://localhost:23820/admin/variables/{var_name} \
     --header 'accept: application/json' \

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response

@vsian vsian added the feature request New feature or request label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant