Units API.

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

GET /api/units/1776989/?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-handbookporting-dads_index/ru/?format=api",
    "source": [
        "The port must respect `CFLAGS`.  What we mean by this is that the port must not set the value of this variable absolutely, overriding the existing value.  Instead, it may append whatever values it needs to the existing value.  This is so that build options that affect all ports can be set globally."
    ],
    "previous_source": "",
    "target": [
        "Порт должен учитывать переменную `CFLAGS`. Под этим мы подразумеваем, что порт ни в коем случае не должен устанавливать значения этой переменной, переопределяя имеющиеся значения; вместо этого можно добавлять нужные значения к уже имеющимся. Это связано с тем, что параметры построения, относящиеся ко всем портам, могут быть заданы глобально."
    ],
    "id_hash": 4092420902041788163,
    "content_hash": 4092420902041788163,
    "location": "documentation/content/en/books/porters-handbook/porting-dads/_index.adoc:231",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 58,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 53,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1238710/?format=api",
    "priority": 100,
    "id": 1776989,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-dads_index/ru/?checksum=b8cb3320b9959f03",
    "url": "https://translate-dev.freebsd.org/api/units/1776989/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T07:57:37.479229Z"
}