BizKitHub
DokumentacjaEksplorator APISupport/api/v1/support/docs-suggest
getSupportPubliczne 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

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
querystringWymagane

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

Długość: 0–200
PrzykładNedaří se mi odeslat fakturu e-mailem
localestringOpcjonalne

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

Przykładcs
limitstring | integerOpcjonalne

Maximum number of suggestions (default 5).

Zakres: 1–10
Przykład5

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
querystringWymagane

Normalized query.

termsstring[]Wymagane

Search terms (stems) actually used.

itemsobject[]Wymagane
Każdy element tablicy:
type"article" | "section" | "category"Wymagane
titlestringWymagane
PrzykładFaktury
contextstring | nullWymagane

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

snippetstringWymagane

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

localestringWymagane
Przykładcs
urlstringWymagane
Przykładhttps://docs.bizkithub.com/cs/faktury
scorenumberWymagane

Przykład odpowiedzi

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

Przykład żądania

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"

Potrzebujesz klucza API?

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

Uzyskaj klucz API