Units API.

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

GET /api/units/47106/?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/pkp-lib/installer/pt_PT/?format=api",
    "source": [
        "\n\t\t<p>1. The following files and directories (and their contents) must be made writable:</p>\n\t\t<ul>\n\t\t\t<li><tt>config.inc.php</tt> is writable (optional): {$writable_config}</li>\n\t\t\t<li><tt>public/</tt> is writable: {$writable_public}</li>\n\t\t\t<li><tt>cache/</tt> is writable: {$writable_cache}</li>\n\t\t\t<li><tt>cache/t_cache/</tt> is writable: {$writable_templates_cache}</li>\n\t\t\t<li><tt>cache/t_compile/</tt> is writable: {$writable_templates_compile}</li>\n\t\t\t<li><tt>cache/_db</tt> is writable: {$writable_db_cache}</li>\n\t\t</ul>\n\n\t\t<p>2. A directory to store uploaded files must be created and made writable (see \"File Settings\" below).</p>\n\t"
    ],
    "previous_source": "",
    "target": [
        "\n\t\t<p>1. Os seguintes ficheiros e pastas (e os seus conteúdos) devem ser editáveis:</p>\n\t\t<ul>\n\t\t\t<li><tt>config.inc.php</tt> é editável (opcional): {$writable_config}</li>\n\t\t\t<li><tt>public/</tt> é editável: {$writable_public}</li>\n\t\t\t<li><tt>cache/</tt> é editável: {$writable_cache}</li>\n\t\t\t<li><tt>cache/t_cache/</tt> é editável: {$writable_templates_cache}</li>\n\t\t\t<li><tt>cache/t_compile/</tt> é editável: {$writable_templates_compile}</li>\n\t\t\t<li><tt>cache/_db</tt> é editável: {$writable_db_cache}</li>\n\t\t</ul>\n\n\t\t<p>2. Deve ser criada uma pasta para armazenar os ficheiros tranferidos e tornada editável (ver \"Configurações de Ficheiro\" abaixo).</p>\n\t"
    ],
    "id_hash": -6334022814875513916,
    "content_hash": 3602728078576696783,
    "location": "",
    "context": "installer.preInstallationInstructions",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 57,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/406834/?format=api",
    "priority": 100,
    "id": 47106,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/installer/pt_PT/?checksum=281907cf18200bc4",
    "url": "http://translate.pkp.sfu.ca/api/units/47106/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T11:46:10.950294Z"
}