-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat: /admin rest api endpoint #2094
Conversation
/admin rest api implementation and tests
You can find the image built from this PR at
Built from c821fea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, but generaly LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is super beautiful! Thanks for it! I've added a few comments/questions :)
'400': | ||
description: Cannot connect to one or more peers. | ||
'5XX': | ||
description: Unexpected error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if would it make sense to test this at this point or maybe we already are testing this in another tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather add such case, with adding one false peer out of three or sthg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see the last of the "legacy" APIs now in REST.
Co-authored-by: Simon-Pierre Vivier <simvivier@status.im>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful PR! Thanks!
Just added a couple of comments.
Description
/admin rest api endpoint implementation and test
Changes
How to test
Issue
#2075