BizKitHub
DokumentacjaEksplorator APIGlossary/api/v1/glossary/related
getGlossaryPubliczne API v1

/api/v1/glossary/related

Returns published+public terms that are linked to the source term either outgoing (source points at them) or incoming (they point at source). Deduplicated: a term linked both ways surfaces once with direction=both.

glossarygetApiV1GlossaryRelated

Parametry

4 w query

Parametry query

· 4
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
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
idstringWymagane

Source term public id.

Przykładexample_id
limitstringOpcjonalne

Max related terms to return. Default 20, max 100.

Przykładexample_limit

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
itemsobject[]Wymagane
Każdy element tablicy:
idstringWymagane
slugstring | nullWymagane
termstringWymagane
abbreviationstring | nullWymagane
direction"outgoing" | "incoming" | "both"Wymagane

Przykład odpowiedzi

application/json
{
  "items": [
    {
      "id": "example_id",
      "term": "example_term"
    }
  ]
}

Przykład żądania

GET /api/v1/glossary/related

get
curl -X GET "https://api.bizkithub.com/api/v1/glossary/related?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&locale=cs&id=example_id&limit=example_limit" \
  -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