Main menu

GET /translations/{id}/{locale}/revisions

Get previous revisions of a translation

GET https://localise.biz/api/translations/{id}/{locale}/revisions 

URI parameters

id

Asset ID

string required
locale

Locale short code, or language tag

string required
key

API key - required if not sent in Authorization header

string optional

Request headers

Authorization

API key sent as "Loco <key>" or "Basic <encoded>". See Authentication.

string required if not in query

Response

Array of JSON-encoded Revision objects, taking the following form:

[ {
    "status": "", // Status of translation as string compatible with export status parameter
    "flagged": false, // Whether translation is flagged as requiring attention
    "translated": false, // Whether the translation exists (even if flagged)
    "translation": "", // Translated text in specified locale
    "revision": 0, // Number of edits made, zero if never translated
    "modified": "", // Time last modified in UTC, null if translation doesn't exist
    "author": {
        "id": 0, // User id
        "name": "", // Full user name
        "email": "", // Contact email address if you have permission to see it
    },
    "flagger": {
        "id": 0, // User id
        "name": "", // Full user name
        "email": "", // Contact email address if you have permission to see it
    }
} ] 

Try it

Open in test console »


« /api/translations