ProductOSDocs

Entity reference · v1

ds-components

DSC-NNNNNNtable ds_componentssoft delete

Design system components.

Endpoints

GET/api/v1/ds-components
POST/api/v1/ds-components
GET/api/v1/ds-components/{id}
PATCH/api/v1/ds-components/{id}
DELETE/api/v1/ds-components/{id}
POST/api/v1/ds-components/{id}/restore

Writable fields

* required on create. PATCH treats every field as optional.

FieldTypeConstraintsNotes
name*string
categorystring
descriptiontext
statusstringdraft | review | stable | deprecated
figma_urlstring
documentation_urlstring
feature_idsjson
variantsjson
propsjson
sort_orderinteger
is_draftboolean
metadatajson

Listing & filtering

  • Pagination: ?limit=50&offset=0 · max limit 200
  • Default sort: ?sort=sort_order&order=asc
  • Sortable fields: created_at · updated_at · sort_order · name · id_number
  • Search (?q=): name, description
  • Filters: ?status= ?category= , repeat any filter to OR multiple values
  • Trash: hidden by default; pass ?include_deleted=true

Examples

curlbash
curl 'https://productos.ca/api/v1/ds-components?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/ds-components. 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/ds-components?limit=3

Generated from the API's entity configuration. This page is rebuilt on every deploy, so it always matches the live API.