Correct facts about a toilet

For the web page of this site only. It needs a Turnstile token unless an account is signed in. Each person has one vote per fact, and the latest vote counts. A value replaces the shown value when it gets more than half of all votes in the last 24 months and at least 2 votes. The source value counts as one vote. On a tie the shown value stays. A majority for existence gone hides nothing: a moderator decides. One address adds one new voter per toilet per day.

post/api/v1/toilets/{id}/votes

Request

  • Base URL: https://wcway.com
  • URL: https://wcway.com/api/v1/toilets/{id}/votes
  • Auth: none required

Path parameters

idstring required

Request body

device_idstring

Random number that the browser makes once and keeps. The server stores only its hash. A signed-in account needs none.

turnstile_tokenstring

Cloudflare Turnstile token from the page of this site. A signed-in account needs none.

Response

The votes are saved and counted.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.