Export the terms
Every term at ?ref=, by ID, as a download (Content-Disposition: attachment): TBX-Basic (ISO 30042:2019, DCA style; one conceptEntry per term, a termSec per variant with its administrative status: preferred, admitted, deprecated for a forbidden one, superseded for a deprecated term’s) or CSV (a header row, then one row per term and language; variants one per line in their cell; a value a spreadsheet would run as a formula starts with '). Definitions are plain text. Files that are no term are left out. Sent with nosniff; X-Ccms-Terms says how many terms it holds.
bearerAuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
format*stringtbx or csv.
"tbx""csv"lang?stringOnly this language (a language tag); a term without it is left out. Default: every language.
^[a-zA-Z]{2,3}(?:-[A-Za-z0-9]{2,8})*$ref?stringBranch, tag or commit ID to read from. Default: the server's CCMS_DEFAULT_REF.
The file.
response?stringcurl -X GET 'http://localhost:3000/terms/export?format=tbx'"string"