Units API.

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

GET /api/units/149242/?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/django-fmd/en/?format=api",
    "source": [
        "ssh admin@yourdomain.tld\nroot@yunohost:~# cd /opt/yunohost/django-fmd/\nroot@yunohost:/opt/yunohost/django-fmd# source venv/bin/activate\n(venv) root@yunohost:/opt/yunohost/django-fmd# ./manage.py sendtestemail --admins\n"
    ],
    "previous_source": "",
    "target": [
        "ssh admin@yourdomain.tld\nroot@yunohost:~# cd /opt/yunohost/django-fmd/\nroot@yunohost:/opt/yunohost/django-fmd# source venv/bin/activate\n(venv) root@yunohost:/opt/yunohost/django-fmd# ./manage.py sendtestemail --admins\n"
    ],
    "id_hash": 8818513938383426990,
    "content_hash": 8818513938383426990,
    "location": "src/django-fmd/ADMIN.md:8",
    "context": "",
    "note": "type: Fenced code block (bash)",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 4,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 13,
    "source_unit": "https://translate.yunohost.org/api/units/149242/?format=api",
    "priority": 100,
    "id": 149242,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/django-fmd/en/?checksum=fa61a7b4582cd5ae",
    "url": "https://translate.yunohost.org/api/units/149242/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:15:45.060866Z"
}