Units API.

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

GET /api/units/5846869/?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/sv/?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 rättighetskontroller av filer med etiketten unlabeled_t nekas\n    unlabeled_t är en kontext som SELinux-kärnan ger till filer som inte\n    har någon etikett. Detta indikerar ett alvarligt etiketteringsproblem.\n    Inga filer på en SELinux-maskin skall någonsin etiketteras unlabeled_t.\n    Om du just har lagt till en disk till systemet kan du etiketter om den\n    med kommandot restorecon. Till exempel, om du sparade\nhemkatalogen från en tidigare installation som inte använde SELinux kommer ”restorecon -R -v /home” laga etiketterna.  Annars bör du\n    etikettera om hela filsystemet.\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": 5846869,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/sv/?checksum=dcaf426748d0b812",
    "url": "https://translate.fedoraproject.org/api/units/5846869/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:22:52.369262Z"
}