Units API.

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

GET /api/units/5842223/?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/fi/?format=api",
    "source": [
        "\n    SELinux denied $SOURCE access to $TARGET_PATH.\n    If this is a swapfile, it has to have a file context label of\n    swapfile_t. If you did not intend to use\n    $TARGET_PATH as a swapfile, this message could indicate either a bug or an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux eväsi $SOURCE -käyttöoikeuden kohteeseen $TARGET_PATH.\nJos tämä on näennäistiedosto, sillä on oltava tiedoston kontekstinimiö\n     swapfile_t. Jos et aikonut käyttää\n     $TARGET_PATH:ia swap-tiedostona, voi tämä viesti osoittaa joko virheen tai tunkeutumisyrityksen.\n    "
    ],
    "id_hash": -3155635510062426646,
    "content_hash": -3155635510062426646,
    "location": "../src/swapfile.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 201,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 43,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839711/?format=api",
    "priority": 100,
    "id": 5842223,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/fi/?checksum=5434ee390e1ed5ea",
    "url": "https://translate.fedoraproject.org/api/units/5842223/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:20:56.305639Z"
}