Units API.

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

GET /api/units/29534/?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/articles_rc-scripting/pt_BR/?format=api",
    "source": [
        "The exit codes from methods and their pre-commands are not just ignored by default. If <envar><replaceable>argument</replaceable>_precmd</envar> returns a non-zero exit code, the main method will not be performed. In turn, <envar><replaceable>argument</replaceable>_postcmd</envar> will not be invoked unless the main method returns a zero exit code."
    ],
    "previous_source": "",
    "target": [
        "Os códigos de saída dos métodos e seus pré-comandos não são apenas ignorados por padrão. Se o argumento <envar><replaceable></replaceable>_precmd</envar> retornar um código de saída diferente de zero, o método principal não será executado. Por sua vez, o <envar><replaceable>argumento</replaceable>_postcmd</envar> não será invocado a menos que o método principal retorne um código de saída zero."
    ],
    "id_hash": -3608005090373777856,
    "content_hash": -3608005090373777856,
    "location": "article.translate.xml:899",
    "context": "",
    "note": "(itstool) path: callout/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 104,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 44,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100960/?format=api",
    "priority": 100,
    "id": 29534,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=4dedca7c80784640",
    "url": "https://translate-dev.freebsd.org/api/units/29534/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:16:13.798522Z"
}