Feedback
Vote on one or more translation slots
One vote per person per slot value. up, down, or none to clear. Each item carries the hash of the value as rendered; a stale hash is refused with 409. Requires a session cookie.
put/api/v1/feedback/translations/{lang}/{termId}/votes
Request
- Base URLhttps://glossary.ethereum.org
- AuthAPI key in cookie ethglossary-session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
langstring required
Language code (e.g., es, ja, zh-tw)
Example:es
termIdstring required
Term ID, alias, or variant (intelligent matching)
Example:staking
Request body
Example request
{
"votes": [
{
"context": "prose",
"hash": "2e69ecb0f9b3fb9dd37c0ed376166171"
}
]
}Response
Current tallies for the slots voted on
Example response
{
"tallies": [
{
"context": "prose",
"hash": "2e69ecb0f9b3fb9dd37c0ed376166171"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.