Units API.

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

GET /api/units/149868/?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/paheko/en/?format=api",
    "source": [
        "const FILE_STORAGE_BACKEND = 'FileSystem';\n\nconst FILE_STORAGE_CONFIG = DATA_ROOT . /files';\n"
    ],
    "previous_source": "",
    "target": [
        "const FILE_STORAGE_BACKEND = 'FileSystem';\n\nconst FILE_STORAGE_CONFIG = DATA_ROOT . /files';\n"
    ],
    "id_hash": -7449770691322153415,
    "content_hash": -7449770691322153415,
    "location": "src/paheko/ADMIN.md:11",
    "context": "",
    "note": "type: Fenced code block (php)",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 7,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 10,
    "source_unit": "https://translate.yunohost.org/api/units/149868/?format=api",
    "priority": 100,
    "id": 149868,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/paheko/en/?checksum=189d1906dda07639",
    "url": "https://translate.yunohost.org/api/units/149868/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:16:26.835371Z"
}