Units API.

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

GET /api/units/888140/?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/submission/zh_Hans/?format=api",
    "source": [
        "Could not create a DOI for the {$pubObjectTitle} galley for the following submission: {$itemTitle}. The submission must be assigned to an issue before a DOI can be generated."
    ],
    "previous_source": "",
    "target": [
        "无法为以下提交稿件 {$itemTitle} 的 {$pubObjectTitle} 排版稿创建 DOI。必须先将提交稿件分配到某一期刊期次,才能生成 DOI。"
    ],
    "id_hash": -2756768163067980155,
    "content_hash": -9097906188453877739,
    "location": "",
    "context": "doi.submission.issueMissing.representation",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 97,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 28,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/412028/?format=api",
    "priority": 100,
    "id": 888140,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/submission/zh_Hans/?checksum=59bdfdf6303a1685",
    "url": "http://translate.pkp.sfu.ca/api/units/888140/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-28T22:45:45.252119Z"
}