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

Implement endpoint for node query #481

Merged
merged 1 commit into from
Aug 18, 2022
Merged

Conversation

xichen1
Copy link
Member

@xichen1 xichen1 commented Aug 16, 2022

Implement the api, enable querying the node's status through node_id.

Signed-off-by: Xichen Pan xichen.pan@gmail.com

Implement the api, enable querying the node's status through node_id.

Signed-off-by: xichen1 <xichen.pan@gmail.com>
@xichen1 xichen1 requested a review from a team as a code owner August 16, 2022 23:34
@xichen1
Copy link
Member Author

xichen1 commented Aug 16, 2022

Given the node id, it will only return the node status. API doc

Example response:

{
    "data": {
        "status": "running"
    },
    "msg": null,
    "status": "successful"
}

@yeasy yeasy merged commit b929a09 into hyperledger:main Aug 18, 2022
@xichen1 xichen1 deleted the node-query branch July 24, 2023 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants