Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/2223/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/ojs/editor/zh_CN/?format=api",
    "source": [
        "The public identifier '{$publicIdentifier}' already exists for another object of the same type. Please choose unique identifiers for the objects of the same type within your journal."
    ],
    "previous_source": "",
    "target": [
        "相同类型的另一个对象的公共标识符 '{$publicIdentifier}' 已经存在。 请为期刊中相同类型的对象选择唯一的标识符。"
    ],
    "id_hash": 3658881618714623312,
    "content_hash": 6943920379917176820,
    "location": "",
    "context": "editor.publicIdentificationExistsForTheSameType",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 139,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 27,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/404167/?format=api",
    "priority": 100,
    "id": 2223,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/editor/zh_CN/?checksum=b2c6f57256b0fd50",
    "url": "http://translate.pkp.sfu.ca/api/units/2223/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T11:42:29.560096Z"
}