BizKitHub
DokumentacePrůzkumník APIGlossary/api/v1/glossary/category/detail
getGlossaryVeřejné API v1

/api/v1/glossary/category/detail

Returns the category metadata (name, description, meta description), its breadcrumb chain up to the root, and a paginated slice of published public terms directly assigned to it. Nested subcategories are not merged in — the frontend obtains them via /category/list filtered by parentId.

glossarygetApiV1GlossaryCategoryDetail

Parametry

5 v query

Parametry v query

· 5
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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
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élka: 2–35
Příkladcs
slugstringPovinné
Příkladkryptografie
pagestringVolitelné

1-based page index. Default 1.

Příkladexample_page
limitstringVolitelné

Items per page. Default 50, max 500.

Příkladexample_limit

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
object | object
Jedna z 2 možností:
Varianta 1
idstringPovinné
slugstringPovinné
namestringPovinné
descriptionstring | nullPovinné
metaDescriptionstring | nullPovinné
parentobject | nullPovinné
idstringPovinné

Category public id (16-char).

slugstring | nullPovinné
namestringPovinné
breadcrumbobject[]Povinné
Každá položka pole:
idstringPovinné

Category public id (16-char).

slugstring | nullPovinné
namestringPovinné
termsobject[]Povinné
Každá položka pole:
idstringPovinné
slugstring | nullPovinné
termstringPovinné
abbreviationstring | nullPovinné
definitionCountnumberPovinné
aliasCountnumberPovinné
publishedDateDate | string | string | numberPovinné
Jedna z 4 možností:
Varianta 1
Date
Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
updatedDateDate | string | string | numberPovinné
Jedna z 4 možností:
Varianta 1
Date
Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
termCountnumberPovinné
Varianta 2
state"error"Povinné
messagestringPovinné
code"200"Povinné
hintstring | nullPovinné

Ukázka odpovědi

application/json
{
  "id": "example_id",
  "slug": "example_slug",
  "name": "example_name",
  "breadcrumb": [
    {
      "id": "example_id",
      "name": "example_name"
    }
  ],
  "terms": [
    {
      "id": "example_id",
      "term": "example_term",
      "definitionCount": 0,
      "aliasCount": 0
    }
  ],
  "termCount": 0
}

Ukázka požadavku

GET /api/v1/glossary/category/detail

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

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč