ProductOSDocs

Entity reference · v1

battle-card-criteria

table battle_card_criteria

Per-workspace rubric of comparison criteria used inside battle cards. Workspace-level config, not a Golden-Thread entity.

Endpoints

GET/api/v1/battle-card-criteria
POST/api/v1/battle-card-criteria
GET/api/v1/battle-card-criteria/{id}
PATCH/api/v1/battle-card-criteria/{id}
DELETE/api/v1/battle-card-criteria/{id}

Writable fields

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

FieldTypeConstraintsNotes
name*string
descriptiontext
category*string
sort_orderinteger≥ 0

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
  • Search (?q=): name, description
  • Filters: ?category= , repeat any filter to OR multiple values

Examples

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

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