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.
Endpoints
All paths are nested under a producer.
GET /odis/v1/producers/:producer_id/brands
GET /odis/v1/producers/:producer_id/brands/:id
POST /odis/v1/producers/:producer_id/brands
PATCH /odis/v1/producers/:producer_id/brands/:id
DELETE /odis/v1/producers/:producer_id/brands/:id
| Method | Notes |
|---|
GET (index) | Paginated; any ODIS user |
GET (show) | Any ODIS user |
POST / PATCH / DELETE | Admin or editor |
Request body
{
"brand": {
"name": "House Label",
"producer_ids": ["uuid-optional"]
}
}
On create, the new brand is associated with the producer in the path unless it was already shared.
Response
- Detail includes
id, name, producer_ids (all producers linked to this brand via the join).
- A brand may be linked to more than one producer; ODIS may expose
producer_ids for editing relationships.
Example
curl -sS "https://api.onlydrams.app/odis/v1/producers/PRODUCER_UUID/brands" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"
See Spirits catalog overview for auth and Product lines for routes under a brand.