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
| Method | Path | Notes |
|---|---|---|
GET | /odis/v1/producers | Paginated; any ODIS user |
GET | /odis/v1/producers/:id | Show |
POST | /odis/v1/producers | Admin or editor |
PATCH | /odis/v1/producers/:id | Admin or editor |
DELETE | /odis/v1/producers/:id | Admin or editor |
JSON attributes (producer key)
| Field | Type | Notes |
|---|---|---|
name | string | |
website_link | string, optional | |
founded | string, optional | |
location | string, optional |
Logo (create / update)
The logo is not insideproducer. Pass a top-level string logo with a data URI (same pattern as other ODIS image fields):
- Omit
logoto leave the existing attachment unchanged on update. - The string must be a full data URI, e.g.
data:image/png;base64,...ordata:image/jpeg;base64,.... A nested object (for examplelogo: { "logo": "..." }) is not supported and the attachment will be skipped.
Response shape (detail / list item)
- List uses the list serializer; show returns at least:
id,name,website_link,founded,location,logo_url(CDN URL ornullif no file).
Example
POST /odis/v1/producers

