Units API.

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

GET /api/units/29443/?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 real problem with the monolithic approach was that it provided no control over the individual components started from <filename>/etc/rc</filename>. For instance, <filename>/etc/rc</filename> could not restart a single daemon. The system admin had to find the daemon process by hand, kill it, wait until it actually exited, then browse through <filename>/etc/rc</filename> for the flags, and finally type the full command line to start the daemon again. The task would become even more difficult and prone to errors if the service to restart consisted of more than one daemon or demanded additional actions. In a few words, the single script failed to fulfil what scripts are for: to make the system admin's life easier."
    ],
    "previous_source": "",
    "target": [
        "O problema real com a abordagem monolítica era que ela não fornecia nenhum controle sobre os componentes individuais iniciados a partir do <filename>/etc/rc</filename>. Por exemplo, o <filename>/etc/rc</filename> não podia reiniciar um único daemon. O administrador do sistema tinha que encontrar o processo daemon manualmente, matá-lo, esperar até que ele realmente finalizasse, então procurar pelas flags no <filename>/etc/rc</filename>, e finalmente digitar a linha de comando completa para iniciar o daemon novamente. A tarefa se tornaria ainda mais difícil e propensa a erros se o serviço de reinicialização consistisse em mais de um daemon ou exigisse ações adicionais. Em poucas palavras, o único script não cumpriu o objetivo dos scripts: tornar a vida do administrador do sistema mais fácil."
    ],
    "id_hash": -5882330643479041238,
    "content_hash": -5882330643479041238,
    "location": "article.translate.xml:62",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 13,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 113,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100869/?format=api",
    "priority": 100,
    "id": 29443,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/pt_BR/?checksum=2e5dc37218096b2a",
    "url": "https://translate-dev.freebsd.org/api/units/29443/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:16:12.541077Z"
}