Translations microservice documentation (0.0.1)

Download OpenAPI specification:Download

Authentication

BearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer

Translations

Gets translations in specific format

Authorizations:
path Parameters
sheetId
required
any

ID of the sheet where are the translations stored

query Parameters
format
required
string
Enum: "csv" "json" "yaml" "array"

The format of the response file

ignoreCache
integer
Default: 0
Enum: 0 1

If true, the cache will be ignored, file will be pulled from sheets API

compressed
integer
Default: 0
Enum: 0 1

If true, the output will be compressed. Can be used only with JSON and YAML formats.

flatten
integer
Default: 0
Enum: 0 1

If true, the output will be only one dimensional array

Responses

Response samples

Content type
"{\n \"cs\": {\n \"user\": {\n \"email\": {\n \"header\": \"Dobr\\u00fd den\",\n \"footer\": \"Nashledanou\",\n \"body\": \"Nepoda\\u0159ilo se.\"\n }\n }\n },\n \"en\": {\n \"user\": {\n \"email\": {\n \"header\": \"Hello\",\n \"footer\": \"Goodbye\"\n }\n }\n }\n}\n"