Main menu

POST /translations/{id}/{locale}/flag

Flag a translation in a given locale

POST https://localise.biz/api/translations/{id}/{locale}/flag 

Flag a single translation or set its status in a given locale.

The flag parameter can be any flag (e.g. fuzzy) a status (e.g. translated) or a redundant state (e.g. blank translation). See translation states.

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

POST parameters

flag

Flag or status to set, e.g. "fuzzy"

string required

Request headers

Authorization

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

string required if not in query

Response

A single JSON-encoded Success object, which takes the following form:

{
    "status": 0, // HTTP status 2xx code
    "message": "", // Descriptive success message
}  

Try it

Open in test console »


« /api/translations