BizKitHub
getPostVerejné API v1

/api/v1/post/rss

Returns an RSS 2.0 XML feed of published posts for the given locale. Response Content-Type is application/rss+xml.

Filters: mainCategory (category route slug), tag (tag code) and author (author profileSlug = shop__contact.external_id) narrow the feed. All three may be combined and are optional.

Full-body syndication: set fullContent=true to embed the raw HTML body of each post inside <content:encoded><![CDATA[…]]></content:encoded> (the standard RSS content-module extension). When omitted or false, only the short teaser (<description>) is emitted.

postgetApiV1PostRss

Parametre

7 v query

Parametre v query

· 7
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
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
mainCategorystringVoliteľné

Optional main category route slug to filter posts. Only posts whose mainCategory matches this slug will be included in the feed. Same semantics as /post/feed.

Príkladnovinky
tagstringVoliteľné

Optional tag code to filter posts. Only posts that have this tag assigned will be included. The tag must be active and belong to the same organisation. Same semantics as /post/feed.

Príkladnovinky
authorstringVoliteľné

Optional author filter: the author's profileSlug (shop__contact.external_id) or the routable author slug — same semantics as /post/feed?author=. Every carries <dc:creator>.

Príklad71E58E5SjdZN6ut3
fullContentbooleanVoliteľné

When true, each <item> includes the full HTML body of the post as <content:encoded><![CDATA[…]]></content:encoded> (the standard RSS content-module extension). When false or omitted, the current teaser-only behavior is preserved.

Predvolené: false
Príkladtrue
countrystringVoliteľné

Optional ISO 3166-1 alpha-2 country code of the visitor (e.g. "CZ"). When set, the response is filtered to posts whose per-country / per-continent allowlist matches the visitor — a post targeted at continent "EU" matches every EU country, and a post with no rules stays globally available. When omitted, the filter is disabled and every post is returned regardless of geo settings. The API does NOT infer the country from the caller's IP; it is up to the caller to resolve and supply it. Case-insensitive. Unknown codes are rejected with HTTP 400 (PUBLIC_COUNTRY_CODE_UNKNOWN). The pseudo code INT selects the international (region-less) edition of a multi-region publication: only posts WITHOUT any country / continent rule.

Dĺžka: 2–3
PríkladCZ

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech

Táto odpoveď nemá JSON telo.

Ukážka odpovede

application/json
{
  "success": true
}

Ukážka požiadavky

GET /api/v1/post/rss

get
curl -X GET "https://api.bizkithub.com/api/v1/post/rss?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&locale=cs&mainCategory=novinky&tag=novinky&author=71E58E5SjdZN6ut3&fullContent=true&country=CZ" \
  -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ľúč