BizKitHub
getGlossaryPubliczne 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

Parametry

3 w query

Parametry query

· 3
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringWymagane
Przykładaes
localestringWymagane

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ługość: 2–35
Przykładcs

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
object | object
Jedna z 2 opcji:
Wariant 1
idstringWymagane
termstringWymagane
abbreviationstring | nullWymagane
notesstring | nullWymagane

Raw notes as authored (Markdown).

notesHtmlstring | nullWymagane

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

definitionsobject[]Wymagane
Każdy element tablicy:
textstringWymagane

Definition text.

sourcestring | nullWymagane

Optional attribution or source term.

aliasesstring[]Wymagane
crossReferencesobject[]Wymagane
Każdy element tablicy:
targetTextstringWymagane

Free-text pointer as authored.

targetSlugstring | nullWymagane

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

routeobjectWymagane
slugstringWymagane
localestringWymagane
routesobject[]Wymagane
Każdy element tablicy:
slugstringWymagane
localestringWymagane
categoryobject | nullWymagane
idstringWymagane

Category public id (16-char).

namestringWymagane
slugstring | nullWymagane

Canonical slug in the requested locale, if any.

routesobject[]Wymagane

Canonical category routes across all organisation locales.

Każdy element tablicy:
slugstringWymagane
localestringWymagane
relatedTermsobject[]Wymagane

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żdy element tablicy:
idstringWymagane

Related term public id.

slugstring | nullWymagane

Canonical slug in the requested locale, if any.

termstringWymagane
abbreviationstring | nullWymagane
categoryobject | nullWymagane
slugstring | nullWymagane
namestringWymagane
matchType"cross-reference" | "same-category" | "sibling-category"Wymagane

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

publishedDateDate | string | string | numberWymagane
Jedna z 4 opcji:
Wariant 1
Date
Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
Wariant 2
state"error"Wymagane
messagestringWymagane
code"200"Wymagane
hintstring | nullWymagane

Przykład odpowiedzi

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"
    }
  ]
}

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API