Entity reference · v1
themes
THM-NNNNNNtable themessoft deletePatterns clustered from feedback. Trend chip + AI summary.
Endpoints
GET
/api/v1/themesPOST
/api/v1/themesGET
/api/v1/themes/{id}PATCH
/api/v1/themes/{id}DELETE
/api/v1/themes/{id}POST
/api/v1/themes/{id}/restoreGET
/api/v1/themes/{id}/links/feedbackPOST
/api/v1/themes/{id}/links/feedbackDELETE
/api/v1/themes/{id}/links/feedback/{targetId}GET
/api/v1/themes/{id}/links/featuresPOST
/api/v1/themes/{id}/links/featuresDELETE
/api/v1/themes/{id}/links/features/{targetId}GET
/api/v1/themes/{id}/links/personasPOST
/api/v1/themes/{id}/links/personasDELETE
/api/v1/themes/{id}/links/personas/{targetId}Writable fields
* required on create. PATCH treats every field as optional.
| Field | Type | Constraints | Notes |
|---|---|---|---|
| title* | string | ||
| description | text | ||
| status | string | new | under-review | planned | in-progress | emerging | active | mature | archived | |
| category | string | ||
| trend | string | up | growing | stable | declining | down | |
| weekly_growth | float | ||
| linked_initiative | string | ||
| ai_summary | text | ||
| module_id | uuid | ||
| is_draft | boolean | ||
| metadata | json |
Listing & filtering
- Pagination:
?limit=50&offset=0· max limit 200 - Default sort:
?sort=created_at&order=desc - Sortable fields: created_at · updated_at · title · weekly_growth · id_number
- Search (?q=): title, description, ai_summary
- Filters: ?status= ?trend= ?category= ?module_id= ?is_draft= , repeat any filter to OR multiple values
- Trash: hidden by default; pass
?include_deleted=true - Expand:
?expand=feedback,features
Examples
curlbash
curl 'https://productos.ca/api/v1/themes?limit=10' \
-H "Authorization: Bearer $TOKEN"Try it out
Paste a token and hit a real endpoint. The request goes from your browser straight to /api/v1/themes. The token is held in this page only for the request and is never stored.
Try it out
Issue tokens in Settings → API tokens. Token never leaves this page.
GET/api/v1/themes?limit=3