Units API.

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

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

{
    "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/gitea/en/?format=api",
    "source": [
        "sudo systemctl restart __APP__.service.\n"
    ],
    "previous_source": "",
    "target": [
        "sudo systemctl restart __APP__.service.\n"
    ],
    "id_hash": -5229027398861459135,
    "content_hash": -5229027398861459135,
    "location": "src/gitea/ADMIN.md:48",
    "context": "",
    "note": "type: Fenced code block (bash)",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 18,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 4,
    "source_unit": "https://translate.yunohost.org/api/units/149201/?format=api",
    "priority": 100,
    "id": 149201,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/gitea/en/?checksum=376ec3490a13f141",
    "url": "https://translate.yunohost.org/api/units/149201/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:15:42.367696Z"
}