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]: HTTP APIs : show current node, show node, list nodes #1950

Open
1 task done
vsian opened this issue Sep 30, 2024 · 0 comments
Open
1 task done

[Feature Request]: HTTP APIs : show current node, show node, list nodes #1950

vsian opened this issue Sep 30, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@vsian
Copy link
Contributor

vsian commented Sep 30, 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

HTTP APIs related to cluster administration:

  • Show current node.
  • Show node by name.
  • List all nodes.

Describe implementation you've considered

  1. Show current node:
curl --request GET \
        --url http://localhost:23820/admin/node/current \
        --header 'accept: application/json'
  1. Show node by name:
curl --request GET \
        --url http://localhost:23820/admin/node/{node_name} \
        --header 'accept: application/json'
  1. List all nodes:
curl --request GET \
        --url http://localhost:23820/admin/nodes \
        --header 'accept: application/json'

Documentation, adoption, use case

No response

Additional information

No response

@vsian vsian added the feature request New feature or request label Sep 30, 2024
@vsian vsian mentioned this issue Sep 30, 2024
1 task
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