BizKitHub
DokumentáciaPrieskumník APISupport/api/v1/support/docs-suggest
getSupportVerejné API v1

/api/v1/support/docs-suggest

Autocomplete for help-desk ticket forms: returns the public documentation pages (docs.bizkithub.com) most relevant to a free-text subject. Searches article titles, section headings, perex, meta description, body, public tags and category names/descriptions across every docs locale. Each item is an article, a section (deep link to a heading anchor) or a category, with an absolute url in the locale the hit was found in. Only public, non-deleted content is searched. Any valid API key may call it; the docs corpus is shared.

supportgetApiV1SupportDocs-suggest

Parametre

4 v query

Parametre v query

· 4
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
querystringPovinné

The ticket subject as typed so far. Free text; noise words are dropped and Czech inflection is tolerated.

Dĺžka: 0–200
PríkladNedaří se mi odeslat fakturu e-mailem
localestringVoliteľné

Preferred locale (default cs). Hits in this locale rank slightly higher; hits in other locales are still returned.

Príkladcs
limitstring | integerVoliteľné

Maximum number of suggestions (default 5).

Rozsah: 1–10
Príklad5

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
querystringPovinné

Normalized query.

termsstring[]Povinné

Search terms (stems) actually used.

itemsobject[]Povinné
Každá položka poľa:
type"article" | "section" | "category"Povinné
titlestringPovinné
PríkladFaktury
contextstring | nullPovinné

Article title for a section; category (or parent category) name otherwise.

snippetstringPovinné

One-line plain-text preview around the first hit.

localestringPovinné
Príkladcs
urlstringPovinné
Príkladhttps://docs.bizkithub.com/cs/faktury
scorenumberPovinné

Ukážka odpovede

application/json
{
  "query": "example_query",
  "terms": [
    "string"
  ],
  "items": [
    {
      "title": "Faktury",
      "snippet": "example_snippet",
      "locale": "cs",
      "url": "https://docs.bizkithub.com/cs/faktury",
      "score": 0
    }
  ]
}

Ukážka požiadavky

GET /api/v1/support/docs-suggest

get
curl -X GET "https://api.bizkithub.com/api/v1/support/docs-suggest?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&query=Neda%C5%99%C3%AD%20se%20mi%20odeslat%20fakturu%20e-mailem&locale=cs&limit=5" \
  -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ľúč