Units API.

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

GET /api/units/30746/?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": [
        "The fact that <filename>/var</filename> is a read-write filesystem is an important distinction, as the <filename>/</filename> partition (and any other partitions you may have on your flash media) should be mounted read-only. Remember that in <xref linkend=\"intro\"/> we detailed the limitations of flash memory - specifically the limited write capability. The importance of not mounting filesystems on flash media read-write, and the importance of not using a swap file, cannot be overstated. A swap file on a busy system can burn through a piece of flash media in less than one year. Heavy logging or temporary file creation and destruction can do the same. Therefore, in addition to removing the <literal>swap</literal> entry from your <filename>/etc/fstab</filename>, you should also change the Options field for each filesystem to <literal>ro</literal> as follows:"
    ],
    "previous_source": "",
    "target": [
        "O fato do <filename>/var</filename> ser um sistema de arquivos read-write é uma distinção importante, pois a partição <filename>/</filename> (e quaisquer outras partições que você possa ter em sua mídia flash) deve ser montada como read-only. Lembre-se que em <xref linkend=\"intro\"/> detalhamos as limitações da memória flash - especificamente a capacidade de gravação limitada. A importância de não montar sistemas de arquivos em mídia flash em modo read-write, e a importância de não usar um arquivo de swap, não pode ser exagerado. Um arquivo de swap em um sistema ocupado pode inutilizar uma mídia flash em menos de um ano. Criação de log pesado ou criação e destruição de arquivos temporários podem fazer o mesmo. Portanto, além de remover a entrada <literal>swap</literal> do seu <filename>/etc/fstab</filename>, você também deve alterar o campo Options para cada sistema de arquivos para <literal>ro</literal> como segue:"
    ],
    "id_hash": -1874354514139311922,
    "content_hash": -1874354514139311922,
    "location": "article.translate.xml:222",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 31,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 128,
    "source_unit": "https://translate-dev.freebsd.org/api/units/101797/?format=api",
    "priority": 100,
    "id": 30746,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_solid-state/pt_BR/?checksum=65fcf480099390ce",
    "url": "https://translate-dev.freebsd.org/api/units/30746/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:19:08.484767Z"
}