Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/setroubleshoot/plugins/pt_BR/?format=api",
    "source": [
        "\n    SELinux permission checks on files labeled unlabeled_t are being\n    denied. unlabeled_t is a context the SELinux kernel gives to files\n    that do not have a label. This indicates a serious labeling\n    problem. No files on an SELinux box should ever be labeled unlabeled_t.\n    If you have just added a disk drive to the system, you can\n    relabel it using the restorecon command. For example if you saved the\nhome directory from a previous installation that did not use SELinux, 'restorecon -R -v /home' will fix the labels.  Otherwise you should\n    relabel the entire file system.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    As verificações de permissões do SELinux em arquivos rotulados como unlabeled_t estão\n    sendo negadas. unlabeled_t é um contexto que o kernel SELinux dá aos arquivos que não\n    possuem um rótulo. Isso indica um problema sério de rotulagem. Nenhum arquivo em um\n    sistema com SELinux deveria ser rotulado como unlabeled_t. Se você acabou de adicionar\n    um disco novo no sistema, você pode rotulá-lo novamente usando o comando restorecon.\n    Por exemplo, se você salvou o diretório home de uma instalação anterior que não usava o\n    SELinux, 'restorecon -R -v /home' consertará os rótulos.  Não fazendo isso, você precisaria\n    rotular o sistema de arquivos inteiro novamente.\n    "
    ],
    "id_hash": 6678629783784437778,
    "content_hash": 6678629783784437778,
    "location": "../src/file.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 101,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 95,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839511/?format=api",
    "priority": 100,
    "id": 5845965,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/pt_BR/?checksum=dcaf426748d0b812",
    "url": "https://translate.fedoraproject.org/api/units/5845965/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:22:29.995396Z"
}