BizKitHub
getPostVerejné API v1

/api/v1/post/mentions

For each identifier (e.g. a system log code or an API error code) returns the publicly visible, already published posts whose title, perex or body contains it as an exact, case-sensitive whole token. Unlike /search the identifier is never split into words, so API_UNCAUGHT does not match a post that only says "API". A post matches when any of its translations mentions the identifier; it is returned in locale when that translation exists. Identifiers without a match are omitted. supported is false for organisations whose content is too large for the in-memory index.

postgetApiV1PostMentions

Parametre

3 v query

Parametre v query

· 3
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
identifiersstringPovinné

Comma-separated identifiers, each [A-Za-z0-9_]{2,64}. Invalid entries are ignored; at most 500 are used.

Dĺžka: 2–20000
PríkladAPI_UNCAUGHT,PUBLIC_API_KEY_DOES_NOT_EXIST
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ĺžka: 2–35
Príkladcs

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
supportedbooleanPovinné

False when mention lookup is not available for this organisation.

itemsobject[]Povinné
Každá položka poľa:
identifierstringPovinné
PríkladPUBLIC_API_KEY_DOES_NOT_EXIST
postsobject[]Povinné
Každá položka poľa:
slugstringPovinné
Príkladapi-integration
titlestringPovinné
PríkladAPI integration
localestringPovinné

Locale of the returned translation.

Príkladen

Ukážka odpovede

application/json
{
  "supported": false,
  "items": [
    {
      "identifier": "PUBLIC_API_KEY_DOES_NOT_EXIST",
      "posts": [
        {
          "slug": "api-integration",
          "title": "API integration",
          "locale": "en"
        }
      ]
    }
  ]
}

Ukážka požiadavky

GET /api/v1/post/mentions

get
curl -X GET "https://api.bizkithub.com/api/v1/post/mentions?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&identifiers=API_UNCAUGHT%2CPUBLIC_API_KEY_DOES_NOT_EXIST&locale=cs" \
  -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ľúč