Units API.

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

GET /api/units/5844835/?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/nl/?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    SELinux toestemmingscontroles op bestanden met het label unlabeled_t worden\n    verboden.  unlabeled_t is een context die de SELinux kernel aan bestanden geeft\n    die geen label hebben. Dit geeft een serieus label probleem\n    aan. In een SELinux box mogen bestanden nooit gelabeld zijn met unlabeled_t.\n    Als je zojuist een schijfstation aan het systeem hebt toegevoegd kun je het opnieuw\n    labelen met het restorecon commando.  Bijvoorbeeld, als je de persoonlijke\n map van een vorige installatie opgeslagen hebt waarin SELinux niet gebruikt werd, zal 'restorecon -R -v /home' de labels repareren.  Anders moet je\n    het gehele bestandssysteem opnieuw labelen.\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": 5844835,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/nl/?checksum=dcaf426748d0b812",
    "url": "https://translate.fedoraproject.org/api/units/5844835/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:22:01.241926Z"
}