Skip to content
Design preview: examples use a local mock server.
EndpointsTerms

Get a term

GET
/v1/terms/{term_id}

Responds with one entry from the terminology list.

Authorization

apiKey
headerAuthorizationBearer <API key>

Send your API key as a bearer token: Authorization: Bearer <key>. Test keys start with wsk_test_. The mock server accepts any key, but it rejects a request with no Authorization header.

Path parameters

term_id*string

The entry’s id, the headword in lowercase with hyphens.

Match^[a-z0-9-]+$
Lengthlength <= 200

Response body

The term.

application/json
  1. response
id*string

The entry’s id.

term*string

The headword.

status*TermStatus

preferred is the word to use. restricted is fine in a stated sense. prohibited is never right. obsolete was once in the list and no longer is.

Value in"preferred""restricted""prohibited""obsolete"
definition*|

What the term means, for Watership’s own terms. null for everyday words.

usage*array<string>

How to use the word, one note per item.

examples*array<>
alternatives*array<>

Words this entry replaces or competes with.

rule*|

The rule that enforces this entry, or null when none does.

related*array<string>

Ids of related entries.

Example request
curl -X GET 'http://127.0.0.1:4010/v1/terms/sign-in'
Example response
{  "id": "sign-in",  "term": "sign in",  "status": "preferred",  "definition": "To start a session in a product by proving who you are, such as with a password or a one-time code.",  "usage": [    "Write “sign in,” not “log in,” “login,” or “log on.” Use two words as a verb (“sign in to your account”), and hyphenate only as a modifier, as in “the sign-in page.”"  ],  "examples": [    {      "instead": "Login to Acme Cloud, then logout when you’re done.",      "write": "Sign in to Acme Cloud, then sign out when you’re done."    }  ],  "alternatives": [    {      "term": "log in",      "status": "prohibited"    },    {      "term": "log-in",      "status": "prohibited"    },    {      "term": "login",      "status": "prohibited"    },    {      "term": "log on",      "status": "prohibited"    },    {      "term": "logon",      "status": "prohibited"    }  ],  "rule": {    "id": "term-sign-in",    "tier": "avoid",    "check": "mechanical"  },  "related": [    "sign-out"  ]}