Units API.

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

GET /api/units/17278664/?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-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?format=api",
    "language_code": "cs",
    "source": [
        "[core@localhost ~]$ sudo machinectl shell sleeper@\nConnected to the local host. Press ^] three times within 1s to exit session.\n[sleeper@localhost ~]$ systemctl --user status\n● localhost.localdomain\n    State: running\n    Units: 157 loaded (incl. loaded aliases)\n     Jobs: 0 queued\n   Failed: 0 units\n    Since: Thu 2023-08-03 18:31:27 UTC; 23s ago\n  systemd: 253.4-1.fc38\n   CGroup: /user.slice/user-1001.slice/user@1001.service\n           ├─app.slice\n           │ └─linger-example.service\n           │   └─1589 /usr/bin/sleep infinity\n           └─init.scope\n             ├─1489 /usr/lib/systemd/systemd --user\n             └─1496 \"(sd-pam)\"\n[sleeper@localhost ~]$ systemctl --user status linger-example.service\n● linger-example.service - A systemd user unit demo\n     Loaded: loaded (/var/home/sleeper/.config/systemd/user/linger-example.service; enabled; preset: disabled)\n    Drop-In: /usr/lib/systemd/user/service.d\n             └─10-timeout-abort.conf\n     Active: active (running) since Thu 2023-08-03 18:31:27 UTC; 38s ago\n   Main PID: 1589 (sleep)\n      Tasks: 1 (limit: 2238)\n     Memory: 224.0K\n        CPU: 1ms\n     CGroup: /user.slice/user-1001.slice/user@1001.service/app.slice/linger-example.service\n             └─1589 /usr/bin/sleep infinity\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5370709303275794923,
    "content_hash": 5370709303275794923,
    "location": "pages/tutorial-user-systemd-unit-on-boot.adoc:236",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 27,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 115,
    "source_unit": "https://translate.fedoraproject.org/api/units/14881037/?format=api",
    "priority": 100,
    "id": 17278664,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-user-systemd-unit-on-boot/cs/?checksum=ca8897a7f5a3b1eb",
    "url": "https://translate.fedoraproject.org/api/units/17278664/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-02-20T17:09:36.394909Z",
    "last_updated": "2024-02-20T17:09:36.394937Z"
}