Language Files

Get a language file

Returns one language file -- one of the account's own or one of the sixteen the platform ships -- with a signed link to its .txt.

THE LITERALS NEVER TRAVEL IN JSON. A language file is six thousand lines and 370 to 420 KB, which is over half a megabyte once base64 encoded: download_url is a link to GET /v1/language-files/download that carries the account and the file inside it, needs no Authorization header and expires 900 seconds after this call (download_url_expires_at says when). Ask again for a fresh one.

It is the way to get the .txt that /v1/language-files/create and /v1/language-files/update take: download a file, edit the values, send it back.

post/language-files/get

Request

  • Base URL: https://api.reportingninja.com/v1
  • URL: https://api.reportingninja.com/v1/language-files/get
  • Auth: HTTP bearer

Request body

language_file_keystring required

The file. From /v1/language-files/list; the sixteen of the platform are named language_file_en, language_file_es and so on, and they can be read and downloaded.

Response

The call succeeded. This endpoint reports its errors with a real HTTP status, so a 200 always carries status=ok.

status'ok' required

Changes

No recorded changes to this operation across all 1 revision of this API.