Units API.

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

GET /api/units/5843488/?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/it/?format=api",
    "source": [
        "\n    SELinux is preventing $SOURCE from creating a file with a context of $SOURCE_TYPE on a filesystem.\n    Usually this happens when you ask the cp command to maintain the context of a file when\n    copying between file systems, \"cp -a\" for example.  Not all file contexts should be maintained\n    between the file systems.  For example, a read-only file type like iso9660_t should not be placed\n    on a r/w system.  \"cp -p\" might be a better solution, as this will adopt the default file context\n    for the destination.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux sta impedendo a $SOURCE di creare un file con un contesto $SOURCE_TYPE su un file system.\n    Solitamente questo si verifica quando si chiede al comando cp di mantenere il contesto di un file durante la copia\n    tra file system, \"cp -a\" ad esempio.  Non tutti i contesti di file devono essere mantenuti tra i\n    file system.  Ad esempio, un file di sola lettura come iso9660_t non deve essere posizionato\n    su un sistema a lettura/scrittura.  \"cp -p\" potrebbe essere una soluzione migliore, in quanto adotta\n     il contesto di file predefinito per la destinazione.\n    "
    ],
    "id_hash": -5601097168817246223,
    "content_hash": -5601097168817246223,
    "location": "../src/filesystem_associate.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 110,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 86,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839529/?format=api",
    "priority": 100,
    "id": 5843488,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/it/?checksum=3244e7cd0433aff1",
    "url": "https://translate.fedoraproject.org/api/units/5843488/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:28.196325Z"
}