Units API.

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

GET /api/units/5842266/?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/fr/?format=api",
    "source": [
        "\n    The $SOURCE application attempted to make its stack\n    executable.  This is a potential security problem.  This should\n    never ever be necessary. Stack memory is not executable on most\n    OSes these days and this will not change. Executable stack memory\n    is one of the biggest security problems. An execstack error might\n    in fact be most likely raised by malicious code. Applications are\n    sometimes coded incorrectly and request this permission.  The\n    <a href=\"http://people.redhat.com/drepper/selinux-mem.html\">SELinux Memory Protection Tests</a>\n    web page explains how to remove this requirement.  If $SOURCE does not\n    work and you need it to work, you can configure SELinux\n    temporarily to allow this access until the application is fixed. Please\nfile a bug report.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    L'application $SOURCE a essayé de rendre sa propre pile\n    exécutable. C'est un problème potentiel de sécurité. Cette action\n    ne devrait jamais être nécessaire. De nos jours, une pile-mémoire n'est\n    pas exécutable sur les OS et cela ne changera pas. Une pile-mémoire exécutable\n    est l'un des problèmes de sécurité les plus sévères . Une erreur execstack\n    pourrait être causée par un code malveillant. Les applications sont\n    parfois incorrectement programmées et demandent cette permission. La page web\n    <a href=\"http://people.redhat.com/drepper/selinux-mem.html\">Essais de protection mémoire de SELinux</a>\n    explique comment retirer ces exigences.  Si $SOURCE ne\n    fonctionne pas et que vous avez besoin qu'il fonctionne, vous pouvez configurer temporairement\n    SELinux pour autoriser cet accès jusqu'à ce que l'application soit corrigée. Merci de remplir un rapport de bogue.\n    "
    ],
    "id_hash": -1484314863589510914,
    "content_hash": -1484314863589510914,
    "location": "../src/allow_execstack.py:64",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 18,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 112,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839345/?format=api",
    "priority": 100,
    "id": 5842266,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/fr/?checksum=6b66a77eecea30fe",
    "url": "https://translate.fedoraproject.org/api/units/5842266/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:57.528724Z"
}