Admin

Upsert glossary terms (primers)

One SeedGlossaryTerm or an array, upserted by slug. Illustrations are not set here: they come from the ink pipeline (packages/ink/out/glossary) via the seed loader, and an upsert keeps the stored drawing.

put/v1/admin/glossary

Request

  • Base URL: http://api.technooptimist.io
  • URL: http://api.technooptimist.io/v1/admin/glossary
  • Auth: HTTP bearer

Headers

x-routine-namestring

Name of the routine making the write; recorded as routine:<name> in the audit log.

Example:news-scan

Request body

OR

Response

Upserted

oktrue required
slugsstring[] required

Example response

{
  "slugs": [
    "helion"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.