Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api",
    "source": [
        "Patches are saved into files named [.filename]#patch-*# where * indicates the pathname of the file that is patched, such as [.filename]#patch-Imakefile# or [.filename]#patch-src-config.h#.  Patches with file names which do not start with [.filename]#patch-# will not be applied automatically."
    ],
    "previous_source": "",
    "target": [
        "Патчи сохраняются в файлы с именами [.filename]#patch-*#, где * указывает на путь к файлу, который патчится, например [.filename]#patch-Imakefile# или [.filename]#patch-src-config.h#. Патчи с именами файлов, не начинающимися с [.filename]#patch-#, не будут применены автоматически."
    ],
    "id_hash": -7054813176998305706,
    "content_hash": -7054813176998305706,
    "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:193",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 49,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 38,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1115188/?format=api",
    "priority": 100,
    "id": 1812004,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=1e1844cb24456056",
    "url": "https://translate-dev.freebsd.org/api/units/1812004/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:47.663599Z"
}