public

Send a beer price

A price someone saw, for a person to review before it goes live. Behind Turnstile and a daily cap per address; an email, if any, is kept encrypted only to say the price is live, then deleted.

post/api/v1/submissions

Request

  • Base URL: https://cervejabarata.com.br
  • URL: https://cervejabarata.com.br/api/v1/submissions
  • Auth: none declared

Request body

citystring required
beerstring nullable required

As written; null for "outra / não sei"

format_codestring required

A format from the catalog, e.g. garrafa_600

pricenumber required

What was paid, in currency units (9.99)

unitsinteger
packaging'single' | 'balde' | 'torre' | 'combo' | 'dobro'
kind'regular' | 'happy_hour' | 'promo' | 'combo' | 'open_bar'
open_bar_minutesinteger
valid_fromstring date
valid_untilstring date
conditionsstring
service_charge_pctinteger
couvertnumber
attributesstring[]
seen_in'menu' | 'poster' | 'instagram' | 'staff' | 'receipt' | 'other'
linkstring uri
observed_onstring date

City-local date the price was seen

notesstring
is_ownerboolean

Sent by the bar's owner or manager

nicknamestring

Credited on the site when the price goes live

emailstring email

Only to say "seu preço está no ar"; deleted after

consentboolean

LGPD consent: required with an email

turnstilestring required

Cloudflare Turnstile token

Response

Queued for review

status'received' | 'duplicate' required

duplicate: the same thing from the same address is already waiting for review

Changes

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