EndpunkteContent translationsLanguages
Add a content language
Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.
POST
Requires an administrator browser session. The first language becomes the canonical default.
bearerAuthheader
AuthentifizierungBearer <inv_ token>X-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
Format
uuidapplication/json- body
code*stringLänge
2 <= length <= 35label*stringLänge
1 <= length <= 120isDefault?booleanStandard
falseautoTranslate?booleanStandard
trueinstructions?stringLänge
length <= 5000position?integerBereich
0 <= value <= 100000Language added
curl -X POST 'https://inventory.example.com/api/v1/languages' \ -H 'Content-Type: application/json' \ -d '{ "code": "de", "label": "German"}'Beispielantwort
Leer