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

Updated README with Glove service REST API doc #14

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Conversation

shamsasari
Copy link
Contributor

@shamsasari shamsasari commented Jul 15, 2024

This includes a Polkadot JS sample which creates a signed vote request payload for the /vote endpoint. This endpoint was also updated to return a JSON object if the request was bad with error information.

/remove-vote had to be fixed to be a signed request, otherwise anyone can remove a vote.

Added network_name field to /info output, and network_url was renamed to node_endpoint

Also added some documentation to the public Rust structs.

This includes a Polkadot JS sample which creates a valid payload for the `/vote` endpoint. This endpoint
was also updated to return a JSON object if the request was bad with the error information.
Also added some documentation to the public Rust structs
@shamsasari
Copy link
Contributor Author

shamsasari commented Jul 15, 2024

Just implemented the signed remove vote request, and updated the README accordingly

@shamsasari shamsasari merged commit 32340c8 into main Jul 15, 2024
1 check passed
@shamsasari shamsasari deleted the shams-rest-api branch July 15, 2024 16:29
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.

2 participants