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.

Searches a Distillery object by its name. The distilleries will be returned in sorted order, defaulting to alphabetical order.

Parameters

query
string
required
The id of the user
sort
string
The order in which the response should be sorted. Can be set to order by desc or asc. Default is desc.
sort_by
string
The field in which the sort should be applied to. Can be only one item. Default is name for distilleries.

Returns

Returns a list of distilleries matching the query provided, and returns an error otherwise.
  curl -H "Authorization: $ACCESS_TOKEN" \
    --request GET \
    --url https://api.onlydrams.app/api/v1/distilleries?query=yellow
{
	"total": 2,
	"has_more": false,
	"data": [
		{
			"id": "3095fdd4-bb5f-4d8e-8015-ec5c1339a624",
			"name": "Buffalo Trace"
		}
	]
}