Units API.

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

GET /api/units/149048/?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/borg/en/?format=api",
    "source": [
        "borg export-tar --exclude apps/nextcloud/backup/home/yunohost.app \"$repository::ARCHIVE_NAME\" /home/yunohost.backup/archives/ARCHIVE_NAME.tar\nyunohost backup restore ARCHIVE_NAME\n"
    ],
    "previous_source": "",
    "target": [
        "borg export-tar --exclude apps/nextcloud/backup/home/yunohost.app \"$repository::ARCHIVE_NAME\" /home/yunohost.backup/archives/ARCHIVE_NAME.tar\nyunohost backup restore ARCHIVE_NAME\n"
    ],
    "id_hash": -1636537677975882692,
    "content_hash": -1636537677975882692,
    "location": "src/borg/ADMIN.md:60",
    "context": "",
    "note": "type: Fenced code block (bash)",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 27,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://translate.yunohost.org/api/units/149048/?format=api",
    "priority": 100,
    "id": 149048,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/borg/en/?checksum=6949d9a712b4743c",
    "url": "https://translate.yunohost.org/api/units/149048/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:15:32.568176Z"
}