Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Returns a newly created blind or an error.

Parameters

blind.name
string
required
A name for the blind
blind.number_of_bottles
integer
The number of bottles to select for the blind. Defaults to 4.
blind.proof_low
integer
The lowest proof that should be picked for the blind.
blind.proof_high
integer
The highest proof that should be picked for the blind.
blind.price_low
integer
The lowest price that should be picked for the blind.
blind.price_high
integer
The highest price that should be picked for the blind.
blind.types
array
The types that the blind should be selected from (e.g., “rye”, “bourbon”, “santori”).
blind.distillery_ids
array
An array of uuids of distilleries that the blind should be picked from.

Returns

Returns a newly created blind if successfully created by a logged in user on the platinum tier. Returns a 422 if the blind cannot be saved. Returns a 403 if the logged in user is not a Platinum Tier member.
  curl -H "Authorization: $ACCESS_TOKEN" \
    --request POST \
    --url https://api.onlydrams.app/api/v1/blinds
  {
    "id":"0694a6c3-a3e3-4eba-884c-7ccc714a02c4",
    "name":"Hastur",
    "number_of_bottles":4,
    "proof_low":null,
    "proof_high":null,
    "price_low":null,
    "price_high":null,
    "types":null,
    "distillery_ids":null,
    "user": User
  }