Units API.

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

GET /api/units/37470/?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/freebsd-doc/boooks_developers-handbook/pt_BR/?format=api",
    "source": [
        "Create a debug version of the executable. This makes the compiler put information into the executable about which line of which source file corresponds to which function call. A debugger can use this information to show the source code as you step through the program, which is <emphasis>very</emphasis> useful; the disadvantage is that all this extra information makes the program much bigger. Normally, you compile with <option>-g</option> while you are developing a program and then compile a <quote>release version</quote> without <option>-g</option> when you are satisfied it works properly."
    ],
    "previous_source": "",
    "target": [
        "Crie uma versão de depuração do executável. Isso faz com que o compilador coloque informações no executável sobre qual linha de arquivo corresponde a qual chamada de função. Um depurador pode usar essas informações para mostrar o código-fonte conforme você percorre o programa, é <emphasis> muito </emphasis> útil; a desvantagem é que toda essa informação extra torna o programa muito maior. Normalmente, você compila com <option value=-g> -g </option> enquanto você está desenvolvendo um programa e, em seguida, compilar um <quote> versão de lançamento </quote> sem <option value=-g> -g </option> quando você está satisfeito, funciona corretamente "
    ],
    "id_hash": -7465239772459311477,
    "content_hash": -7465239772459311477,
    "location": "book.translate.xml:865",
    "context": "",
    "note": "(itstool) path: listitem/para",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 163,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 88,
    "source_unit": "https://translate-dev.freebsd.org/api/units/105777/?format=api",
    "priority": 100,
    "id": 37470,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/pt_BR/?checksum=186623fabf71de8b",
    "url": "https://translate-dev.freebsd.org/api/units/37470/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:23:55.909106Z"
}