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 paginated list of all juices. The juices are returned sorted by name in descending alphabetical order.

Parameters

sort_by
string
The field in which the sort should be applied to. Can be only one item. Default is name.
sort
string
The order in which the response should be sorted. Can be set to order by desc or asc. Default is desc.
page
int
The page number. Default is 1.
per
int
The amount of records returned per page. Default is 20.

Returns

Returns a list of juices, and returns an error otherwise.
  curl -H "Authorization: $ACCESS_TOKEN" \
    --request GET \
    --url https://api.onlydrams.app/api/v1/juices
{
	"total": 2879,
	"has_more": true,
	"data": [
      {
        "id": "8190a041-1387-4934-bed7-57d9a7797ec9",
        "name": "Zackariah Harris Bourbon",
        "proof": 80.0,
        "variety": "blended grain",
        "image_url": "https://storage.googleapis.com/onlydrams/...",
        "bottle_id": "0f52d7f1-afe7-4e8a-a771-eeac85a45f59"
      },
      {...},
      {...}
    ]
}