Units API.

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

GET /api/units/11289175/?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-silverblue/masterpagesgetting-started/zh_Hans/?format=api",
    "language_code": "zh_Hans",
    "source": [
        "Currently, using package layering creates a new \"deployment\", or bootable filesystem root.  It does not affect your current root.  This preserves rollback and the transactional model, but means that the system must be rebooted after a package has been layered or updated.  You can alternatively use `rpm-ostree install --apply-live <pkg>` to also temporarily apply the change directly to your currently booted deployment.  It's generally expected that you use package layering sparingly, and use `flatpak` and `dnf install` inside a `toolbox` etc."
    ],
    "previous_source": "Currently, using package layering creates a new \"deployment\", or bootable filesystem root.  It does not affect your current root.  This preserves rollback and the transactional model, but means that the system must be rebooted after a package has been layered.  If you don't want to reboot your system for switching to the new deployment, you can use an experimental `rpm-ostree ex apply-live` command to update the filesystem to see changes from new deployment, but it's generally expected that you use package layering sparingly, and use `flatpak` and `dnf install` inside a `toolbox` etc.",
    "target": [
        "目前来说,每执行一次软件包层叠都会创建一个新的『部署』,换言之就是可启动的系统。它并不会影响你当前的系统,也使回滚和事务模型得到保留,但也意味着在层叠软件包后需要重启,当然你也可以体验我们的实验性功能,通过执行 `rpm-ostree ex apply-live` 更新文件系统并应用更新。无论如何,我们还是希望你谨慎使用软件包层叠,在可以的时候尽可能采用 `flatpak` 或者在 `toolbox` 使用 `dnf install` 。"
    ],
    "id_hash": 3688516750614371482,
    "content_hash": 3688516750614371482,
    "location": "pages/getting-started.adoc:103",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 46,
    "has_suggestion": true,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 81,
    "source_unit": "https://translate.fedoraproject.org/api/units/11289125/?format=api",
    "priority": 100,
    "id": 11289175,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-silverblue/masterpagesgetting-started/zh_Hans/?checksum=b3303e712c729c9a",
    "url": "https://translate.fedoraproject.org/api/units/11289175/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-09-10T22:06:15.539603Z",
    "last_updated": "2024-07-01T22:49:06.850585Z"
}