Units API.

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

GET /api/units/37172/?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_dev-model/pt_BR/?format=api",
    "source": [
        "The verification phase of the project is two-fold. Before committing code to the current-branch, developers request their code to be reviewed by their peers. This review is for the most part done by functional testing, but also code review is important. When the code is committed to the branch, a broader functional testing will happen, that may trigger further code review and debugging should the code not behave as expected. This second verification form may be regarded as structural verification. Although the sub-projects themselves may write formal tests such as unit tests, these are usually not collected by the main project and are usually removed before the code is committed to the current branch. <_:footnote-1/>"
    ],
    "previous_source": "",
    "target": [
        "A fase de verificação do projeto é dupla. Antes de fazer o commit do código para a branch atual, os desenvolvedores solicitam que seu código seja revisado por seus pares. Esta revisão é, na maior parte, feita por testes funcionais, mas a revisão de código também é importante. Quando o código é \"committed\" para a branch, um teste funcional mais amplo ocorrerá, o que pode acionar mais revisões de código e depuração, caso o código não se comporte conforme o esperado. Esta segunda forma de verificação pode ser considerada como verificação estrutural. Embora os próprios subprojetos possam escrever testes formais, como testes de unidade, eles geralmente não são coletados pelo projeto principal e geralmente são removidos antes que o código seja \"committed\" na branch atual. <_:footnote-1/>"
    ],
    "id_hash": -9099087952956091618,
    "content_hash": -9099087952956091618,
    "location": "book.translate.xml:1884",
    "context": "",
    "note": "(itstool) path: section/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 282,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 115,
    "source_unit": "https://translate-dev.freebsd.org/api/units/105479/?format=api",
    "priority": 100,
    "id": 37172,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_dev-model/pt_BR/?checksum=01b98bb74004131e",
    "url": "https://translate-dev.freebsd.org/api/units/37172/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:23:14.987645Z"
}