Units API.

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

GET /api/units/30782/?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_solid-state/pt_BR/?format=api",
    "source": [
        "However, this does not solve the problem of maintaining cron tabs across reboots. When the system reboots, the <filename>/var</filename> filesystem that is in memory will disappear and any cron tabs you may have had in it will also disappear. Therefore, one solution would be to create cron tabs for the users that need them, mount your <filename>/</filename> filesystem as read-write and copy those cron tabs to somewhere safe, like <filename>/etc/tabs</filename>, then add a line to the end of <filename>/etc/rc.initdiskless</filename> that copies those crontabs into <filename>/var/cron/tabs</filename> after that directory has been created during system initialization. You may also need to add a line that changes modes and permissions on the directories you create and the files you copy with <filename>/etc/rc.initdiskless</filename>."
    ],
    "previous_source": "",
    "target": [
        "No entanto, isso não resolve o problema de manter as crontabs entre nas reinicializações. Quando o sistema for reinicializado, o sistema de arquivos <filename>/var</filename> que está na memória desaparecerá e todas as crontabs que você tenha nele também desaparecerão. Portanto, uma solução seria criar crontabs para os usuários que precisam delas, montar seu sistema de arquivos <filename>/</filename> como read-write e copiar estas crontabs para algum lugar seguro, como <filename>/etc/tabs</filename>, em seguida, adicione uma linha ao final do  <filename>/etc/rc.initdiskless</filename> que copie estes crontabs para <filename>/var/cron/tabs</filename> depois que o diretório for criado durante inicialização do sistema. Você também pode precisar adicionar uma linha que altere modos e permissões nos diretórios criados e nos arquivos copiados com <filename>/etc/rc.initdiskless</filename>."
    ],
    "id_hash": -5493063268206124762,
    "content_hash": -5493063268206124762,
    "location": "article.translate.xml:419",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 67,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 119,
    "source_unit": "https://translate-dev.freebsd.org/api/units/101833/?format=api",
    "priority": 100,
    "id": 30782,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_solid-state/pt_BR/?checksum=33c4b80fa1d3e126",
    "url": "https://translate-dev.freebsd.org/api/units/30782/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:19:08.960025Z"
}