Skip to main content
Download the interface texts for a share

Path Parameters

lang
string
required

Language to return the texts in. It has to be one the workspace offers.

Minimum string length: 1
Pattern: ^[a-z][a-z-]+$
Example:

"en"

Query Parameters

namespaces
string[]

Parts of the vocabulary to return, given once per namespace. Everything the workspace declares is returned when none is named.

Translations namespace (optional).

Maximum string length: 128
Pattern: ^[a-z0-9]+([_-]{1}[a-z0-9]+)*$
shareToken
string
required

Share token used to access the shared resource.

Minimum string length: 1
Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_82c5fa30d26bc.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

tenant
string

Tenant the share belongs to. It only has to be given when neither the share token nor the address the request arrives on says which one it is.

Pattern: ^[a-z0-9]+$
Example:

"default"

Response

Returns the texts of the requested language, keyed by translation key.

Translated texts keyed by translation key, ready to be handed straight to a client's translation library. Only keys that resolved to a non-empty text are present.

{key}
string