BizKitHub
DokumentationAPI-ExplorerLocalization/api/v1/localization/editions
getLocalizationÖffentliche API v1

/api/v1/localization/editions

Editions a multi-region publication can serve, derived from the languages enabled for the organisation and the real-world country × language matrix (core__country_language, Unicode CLDR).

  • languages — one international edition per enabled language (URL /en, /cs). It lists posts without any country / continent rule (/post/feed?country=INT).
  • regional — one regional edition per country where an enabled language is official (URL /de-ch, /it-ch). It lists the unrestricted posts plus those restricted to the country or its continent (/post/feed?country=CH).

There is no default edition; isDefault only marks the organisation primary locale as a last-resort fallback. Safe to cache for minutes.

localizationgetApiV1LocalizationEditions

Parameter

1 in der Query

Query-Parameter

· 1
apiKeystringPflicht

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

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Antwortschema

1 dokumentierter Statuscode

200Erfolg
languagesobject[]Pflicht
Jedes Array-Element:
codestringPflicht

ISO 639-1 language code.

Beispielde
isDefaultbooleanPflicht

Organisation primary locale (informational).

positionnumberPflicht
regionalobject[]Pflicht
Jedes Array-Element:
keystringPflicht

URL key {language}-{country}, lowercase.

Beispielde-ch
languageCodestringPflicht
Beispielde
countryCodestringPflicht

ISO 3166-1 alpha-2, uppercase.

BeispielCH
countryNamestringPflicht
BeispielSwitzerland
continentCodestringPflicht
BeispielEU
officialStatusstringPflicht

CLDR status: official, de_facto_official or official_regional.

Beispielofficial
populationPercentnumberPflicht

Share of speakers (CLDR estimate).

Beispiel76
postCountnumberPflicht

Public posts restricted to this country (directly or via its continent). Zero = the edition only mirrors the international one: canonicalize its listings there and do not advertise it.

Beispiel3

Antwortbeispiel

application/json
{
  "languages": [
    {
      "code": "de",
      "isDefault": false,
      "position": 0
    }
  ],
  "regional": [
    {
      "key": "de-ch",
      "languageCode": "de",
      "countryCode": "CH",
      "countryName": "Switzerland",
      "continentCode": "EU",
      "officialStatus": "official",
      "populationPercent": 76,
      "postCount": 3
    }
  ]
}

Anfragebeispiel

GET /api/v1/localization/editions

get
curl -X GET "https://api.bizkithub.com/api/v1/localization/editions?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten