Units API.

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

GET /api/units/17768822/?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/fedora-docs-l10n-fedora-system-administrat/f29pagesbasic-system-configurationgaining_privileges/nn/?format=api",
    "source": [
        "Opening a new shell as `root` in this or similar fashion gives the attacker administrative access for a theoretically unlimited amount of time, bypassing the timeout period specified in the `/etc/sudoers` file and never requiring the attacker to input a password for [command]#sudo# again until the newly opened session is closed."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -2770102059594452502,
    "content_hash": -2770102059594452502,
    "location": "./pages/basic-system-configuration/Gaining_Privileges.adoc:135",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 48,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 51,
    "source_unit": "https://translate.fedoraproject.org/api/units/885626/?format=api",
    "priority": 100,
    "id": 17768822,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f29pagesbasic-system-configurationgaining_privileges/nn/?checksum=598e9eda7a4b71ea",
    "url": "https://translate.fedoraproject.org/api/units/17768822/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-02T06:16:28.763258Z"
}