BizKitHub
getGlossaryVerejné API v1

/api/v1/glossary/detail

Returns the full public representation of a glossary term: definitions, aliases, cross references (with resolved target slugs when possible), canonical routes across the organisation locales, and the parent category (if set). Returns an error envelope when the slug does not resolve to a published term.

glossarygetApiV1GlossaryDetail

Parametre

3 v query

Parametre v query

· 3
apiKeystringPovinné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringPovinné
Príkladaes
localestringPovinné

Communication locale code — controls the language of textual data (product names, descriptions, articles, storefront UI, transactional e-mails).

Preferred format: BCP 47 language tag — language[-Script][-REGION]. Use the full tag whenever the script or region matters:

  • en-GB vs. en-US (British vs. American spelling)
  • pt-PT vs. pt-BR (European vs. Brazilian Portuguese)
  • zh-Hans vs. zh-Hant (Simplified vs. Traditional Chinese)
  • sr-Latn vs. sr-Cyrl (Latin vs. Cyrillic Serbian)

Backwards-compatible fallback: the bare two-letter ISO 639-1 code (cs, en, pl, …) is accepted indefinitely — legacy clients that only send the language subtag continue to work unchanged.

Resolution algorithm (server-side): the input is resolved against the supported locale list via the [RFC 4647 Lookup] progressive-fallback strategy — trailing subtags are stripped one by one until a supported locale is found. Example: en-GB-oxendict → en-GB → en (matched). If no subtag combination is supported, the request is rejected.

Currently supported locales: cs, en, fr, it, pl, de, sk, sv, es, zh, ja, uk, da, hu, ro, nl, pt, fi, nb, hr. Region-specific variants (e.g. en-GB, pt-BR) are accepted and resolved to their base language when the exact variant is not registered separately.

Dĺžka: 2–35
Príkladcs

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
object | object
Jedna z 2 možností:
Variant 1
idstringPovinné
termstringPovinné
abbreviationstring | nullPovinné
notesstring | nullPovinné

Raw notes as authored (Markdown).

notesHtmlstring | nullPovinné

Notes rendered from Markdown (GFM) to HTML. Null when notes are empty.

definitionsobject[]Povinné
Každá položka poľa:
textstringPovinné

Definition text.

sourcestring | nullPovinné

Optional attribution or source term.

aliasesstring[]Povinné
crossReferencesobject[]Povinné
Každá položka poľa:
targetTextstringPovinné

Free-text pointer as authored.

targetSlugstring | nullPovinné

Canonical slug of the target term in the same locale, when the text resolved to a known term. Null when unresolved.

routeobjectPovinné
slugstringPovinné
localestringPovinné
routesobject[]Povinné
Každá položka poľa:
slugstringPovinné
localestringPovinné
categoryobject | nullPovinné
idstringPovinné

Category public id (16-char).

namestringPovinné
slugstring | nullPovinné

Canonical slug in the requested locale, if any.

routesobject[]Povinné

Canonical category routes across all organisation locales.

Každá položka poľa:
slugstringPovinné
localestringPovinné
relatedTermsobject[]Povinné

Up to 50 related terms combining bidirectional cross-references (highest priority) with terms in the same category and sibling-category matches. Empty when the source term has no category assigned.

Každá položka poľa:
idstringPovinné

Related term public id.

slugstring | nullPovinné

Canonical slug in the requested locale, if any.

termstringPovinné
abbreviationstring | nullPovinné
categoryobject | nullPovinné
slugstring | nullPovinné
namestringPovinné
matchType"cross-reference" | "same-category" | "sibling-category"Povinné

Signal that qualified this term as related. Cross-references outrank category matches.

publishedDateDate | string | string | numberPovinné
Jedna z 4 možností:
Variant 1
Date
Variant 2
stringdate-time
Variant 3
stringdate
Variant 4
number
Variant 2
state"error"Povinné
messagestringPovinné
code"200"Povinné
hintstring | nullPovinné

Ukážka odpovede

application/json
{
  "id": "example_id",
  "term": "example_term",
  "definitions": [
    {
      "text": "example_text"
    }
  ],
  "aliases": [
    "string"
  ],
  "crossReferences": [
    {
      "targetText": "example_targetText"
    }
  ],
  "route": {
    "slug": "example_slug",
    "locale": "example_locale"
  },
  "routes": [
    {
      "slug": "example_slug",
      "locale": "example_locale"
    }
  ],
  "relatedTerms": [
    {
      "id": "example_id",
      "term": "example_term"
    }
  ]
}

Ukážka požiadavky

GET /api/v1/glossary/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/glossary/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&slug=aes&locale=cs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč