cg api vote¶
The vote service endpoint. See cg api for how these relate to the higher-level commands.
Every command also accepts -h / --help.
| Command | Summary |
|---|---|
cg api vote |
Vote service commands. |
cg api vote find-votable-values-by-id |
Find a votable's current up/down-vote tally (e.g. |
cg api vote¶
Vote service commands.
usage: cg api vote [-h] COMMAND ...
Subcommands
find-votable-values-by-id— Find a votable's current up/down-vote tally (e.g. a contribution's CgContribution.votable_id)--CodinGame's generic community vote, distinct from the moderator approve/reject gate (no known API for that yet).
cg api vote find-votable-values-by-id¶
Find a votable's current up/down-vote tally (e.g. a contribution's CgContribution.votable_id)--CodinGame's generic community vote, distinct from the moderator approve/reject gate (no known API for that yet).
usage: cg api vote find-votable-values-by-id [-h] [--codingamer-id ID] VOTABLE-ID
Arguments
VOTABLE-ID— The votable entity's ID, e.g. a contribution's votableId.
Options
-g, --codingamer-id ID— Codingamer whose own vote to report. Defaults to the logged-in codingamer's ID.
Generated from the parser itself. For when to use these, see the CLI guides.