Skip to content

Get the caller's votes and site settings

Returns the anonymous caller's existing votes, so a client can show which way they voted, and whether new reports are currently held for review.

GET
https://deathspot.org/api/me

Returns

200

The caller's state.

JSON
  • votesmap ofintegerrequired

    Map of spot id to the caller's vote (1 or -1).

  • requireApprovalbooleanrequired

    true when new reports wait for moderator approval before appearing.

429

The caller exceeded a rate limit. Wait Retry-After seconds before retrying.

JSON
  • errorstringrequired

    A human-readable message you can show to users.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close