Units API.

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

GET /api/units/5844904/?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 denied access requested by $SOURCE. $TARGET_PATH may\n    be mislabeled.  $TARGET_PATH default SELinux type is\n    <B>%s</B>, but its current type is <B>$TARGET_TYPE</B>. Changing\n    this file back to the default type may fix your problem.\n    <p>\n    File contexts can be assigned to a file in the following ways.\n    <ul>\n        <li>Files created in a directory receive the file context of the parent directory by default.\n        <li>The SELinux policy might override the default label inherited from the parent directory by\n            specifying a process running in context A which creates a file in a directory labeled B\n            will instead create the file with label C. An example of this would be the dhcp client running\n            with the dhcpc_t type and creating a file in the directory /etc. This file would normally\n            receive the etc_t type due to parental inheritance but instead the file\n            is labeled with the net_conf_t type because the SELinux policy specifies this.\n        <li>Users can change the file context on a file using tools such as chcon, or restorecon.\n    </ul>\n    This file could have been mislabeled either by user error, or if an normally confined application\n    was run under the wrong domain.\n    <p>\n    However, this might also indicate a bug in SELinux because the file should not have been labeled\n    with this type.\n    <p>\n    If you believe this is a bug, please file a bug report against this package.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux weigerde toegang aangevraagd door $SOURCE. $TARGET_PATH kan\n    verkeerd gelabeld zijn.  $TARGET_PATH standaard SELinux type is\n    <B>%s </B>, maar het huidige type is <B>$TARGET_TYPE</B>. Veranderen\n    van dit bestand naar het standaardtype kan je probleem oplossen.\n    <p>\n    Bestandscontexten kunnen op de volgende manieren aan een bestand worden toegewezen.\n    <ul>\n        <li> Bestanden die in een map zijn gemaakt, krijgen standaard de bestandscontext van de bovenliggende map.\n        <li> Het SELinux-beleid zou het standaardlabel kunnen overschrijven dat is geërfd van de bovenliggende map door\n            specificeren van een proces dat in context A wordt uitgevoerd en dat een bestand creëert in een map met het label B\n            zal in plaats daarvan het bestand met label C maken. Een voorbeeld hiervan is de actieve dhcp-client\n            met het type dhcpc_t en een bestand aanmaken in de directory /etc. Dit bestand zou normaal\n            ontvang het etc_t type vanwege ouderlijke erfenis, maar in plaats daarvan het bestand\n            is gelabeld met het net_conf_t type omdat de SELinux tactiek dit specificeert.\n        <li> Gebruikers kunnen de bestandscontext van een bestand wijzigen met tools zoals chcon of restorecon.\n    </ul>\n    Dit bestand kan verkeerd zijn gelabeld door een gebruikersfout of door een normaal beperkte toepassing\n    werd uitgevoerd onder het verkeerde domein.\n    <p>\n    Dit kan echter ook duiden op een bug in SELinux omdat het bestand niet gelabeld had moeten zijn\n    met dit type.\n    <p>\n    Als je denkt dat dit een bug is, dien dan een bugrapport in voor dit pakket.\n    "
    ],
    "id_hash": 6553961742861883236,
    "content_hash": 6553961742861883236,
    "location": "../src/restorecon.py:64",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 170,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 227,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839649/?format=api",
    "priority": 100,
    "id": 5844904,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/nl/?checksum=daf4597b12c85764",
    "url": "https://translate.fedoraproject.org/api/units/5844904/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:22:02.809293Z"
}