Units API.

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

GET /api/units/8115/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/ojs/locale/pt_BR/?format=api",
    "source": [
        "\n<h4>Pre-Installation Steps</h4>\n\n\n<p>1. The following files and directories (and their contents) must be made writable:</p>\n<ul>\n\t<li><tt>config.inc.php</tt> is writable (optional): {$writable_config}</li>\n\t<li><tt>public/</tt> is writable: {$writable_public}</li>\n\t<li><tt>cache/</tt> is writable: {$writable_cache}</li>\n\t<li><tt>cache/t_cache/</tt> is writable: {$writable_templates_cache}</li>\n\t<li><tt>cache/t_compile/</tt> is writable: {$writable_templates_compile}</li>\n\t<li><tt>cache/_db</tt> is writable: {$writable_db_cache}</li>\n</ul>\n\n<p>2. A directory to store uploaded files must be created and made writable (see \"File Settings\" below).</p>"
    ],
    "previous_source": "",
    "target": [
        "\n<h4>Etapas de pré-instalação</h4>\n\n\n<p> 1. Os seguintes arquivos e diretórios (e seu conteúdo) devem ser gravados: </p>\n<ul>\n<li> <tt> config.inc.php </tt> é gravável (opcional): {$writable_config} </li>\n<li> <tt> public / </tt> é gravável: {$writable_public} </li>\n<li> <tt> cache / </tt> é gravável: {$writable_cache} </li>\n<li> <tt> cache / t_cache / </tt> pode ser gravado: {$writable_templates_cache} </li>\n<li> <tt> cache / t_compile / </tt> é gravável: {$writable_templates_compile} </li>\n<li> <tt> cache / _db </tt> é gravável: {$writable_db_cache} </li>\n</ul>\n\n<p> 2. Um diretório para armazenar arquivos enviados deve ser criado e tornado gravável (consulte \"Configurações de arquivo\" abaixo). </p>"
    ],
    "id_hash": -6334022814875513916,
    "content_hash": -7250338715642748943,
    "location": "",
    "context": "installer.preInstallationInstructions",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 549,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 59,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/405070/?format=api",
    "priority": 100,
    "id": 8115,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/locale/pt_BR/?checksum=281907cf18200bc4",
    "url": "http://translate.pkp.sfu.ca/api/units/8115/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T11:43:00.957364Z"
}