Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Debugging with Toolbx" ], "previous_source": "", "target": [ "" ], "id_hash": -739932244609364140, "content_hash": -739932244609364140, "location": "pages/debugging-with-toolbox.adoc:1", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/8949890/?format=api", "priority": 100, "id": 9075016, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=75bb3b8b3a338f54", "url": "https://translate.fedoraproject.org/api/units/9075016/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.677215Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "What is Toolbx?" ], "previous_source": "", "target": [ "" ], "id_hash": -5196367982319073861, "content_hash": -5196367982319073861, "location": "pages/debugging-with-toolbox.adoc:7", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/8949892/?format=api", "priority": 100, "id": 9075018, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=37e2cada03a885bb", "url": "https://translate.fedoraproject.org/api/units/9075018/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.683129Z", "last_updated": "2025-03-24T22:37:40.919793Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "These containers can then be used to install tools that you may need for troubleshooting." ], "previous_source": "", "target": [ "" ], "id_hash": 4274482901674704752, "content_hash": 4274482901674704752, "location": "pages/debugging-with-toolbox.adoc:13", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.fedoraproject.org/api/units/5994083/?format=api", "priority": 100, "id": 9075020, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=bb52038d48cd3f70", "url": "https://translate.fedoraproject.org/api/units/9075020/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.690766Z", "last_updated": "2025-03-24T22:37:40.928906Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Using Toolbx" ], "previous_source": "", "target": [ "" ], "id_hash": -4209965266782066671, "content_hash": -4209965266782066671, "location": "pages/debugging-with-toolbox.adoc:14", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/8949894/?format=api", "priority": 100, "id": 9075021, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=459332e52cb8e811", "url": "https://translate.fedoraproject.org/api/units/9075021/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.694826Z", "last_updated": "2025-03-24T22:37:40.932284Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "toolbox list\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7526341209088153905, "content_hash": -7526341209088153905, "location": "pages/debugging-with-toolbox.adoc:29", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.fedoraproject.org/api/units/5994093/?format=api", "priority": 100, "id": 9075025, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=178d108bedeaa6cf", "url": "https://translate.fedoraproject.org/api/units/9075025/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.708144Z", "last_updated": "2025-03-24T22:37:40.951117Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "sudo dnf install strace\n# Some hosts directories are mounted at /run/host\nstrace -eread /run/host/usr/bin/toolbox list\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1744551504600839762, "content_hash": 1744551504600839762, "location": "pages/debugging-with-toolbox.adoc:46", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/5994101/?format=api", "priority": 100, "id": 9075029, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=9835e459b41b3652", "url": "https://translate.fedoraproject.org/api/units/9075029/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.722595Z", "last_updated": "2025-03-24T22:37:40.972407Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Once done with your container, you can exit the container and then remove it from the host with the following command." ], "previous_source": "", "target": [ "" ], "id_hash": 7291388352571579129, "content_hash": 7291388352571579129, "location": "pages/debugging-with-toolbox.adoc:49", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate.fedoraproject.org/api/units/5994103/?format=api", "priority": 100, "id": 9075030, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=e530371342731af9", "url": "https://translate.fedoraproject.org/api/units/9075030/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-11-11T01:38:16.725543Z", "last_updated": "2025-03-24T22:37:40.976268Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "The FCOS image is kept minimal by design to reduce the image size and the attack surface. This means that it does not include every troubleshooting tool that a normal OS may include. Instead, the recommended approach is to leverage containers with the https://containertoolbx.org/[toolbox] utility included in the image." ], "previous_source": "", "target": [ "" ], "id_hash": -3915884940006746740, "content_hash": -3915884940006746740, "location": "pages/debugging-with-toolbox.adoc:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 49, "source_unit": "https://translate.fedoraproject.org/api/units/19144575/?format=api", "priority": 100, "id": 19144625, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=49a7fb64f198958c", "url": "https://translate.fedoraproject.org/api/units/19144625/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.914730Z", "last_updated": "2025-03-24T22:37:40.914739Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Toolbx is a utility that allows you to create privileged containers meant to debug and troubleshoot your instance. It is a wrapper around podman which starts long running containers with default mounts and namespaces to facilitate debugging the host system." ], "previous_source": "", "target": [ "" ], "id_hash": 6935339463384060675, "content_hash": 6935339463384060675, "location": "pages/debugging-with-toolbox.adoc:11", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://translate.fedoraproject.org/api/units/19144576/?format=api", "priority": 100, "id": 19144626, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=e03f467f37c15303", "url": "https://translate.fedoraproject.org/api/units/19144626/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.924596Z", "last_updated": "2025-03-24T22:37:40.924610Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "You can create a new toolbox by running the command below. On the first run it will ask you if you want to download an image. Answer yes with `y`." ], "previous_source": "", "target": [ "" ], "id_hash": -1148649665124318407, "content_hash": -1148649665124318407, "location": "pages/debugging-with-toolbox.adoc:17", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate.fedoraproject.org/api/units/19144577/?format=api", "priority": 100, "id": 19144627, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=700f2d3722e4c339", "url": "https://translate.fedoraproject.org/api/units/19144627/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.937613Z", "last_updated": "2025-03-24T22:37:40.937623Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "toolbox create my_toolbox\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5702103213472481939, "content_hash": 5702103213472481939, "location": "pages/debugging-with-toolbox.adoc:21", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/19144578/?format=api", "priority": 100, "id": 19144628, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=cf21f0a95fa40293", "url": "https://translate.fedoraproject.org/api/units/19144628/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.942842Z", "last_updated": "2025-03-24T22:37:40.942850Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "You can then list all the running toolboxes running on the host. This should show you your newly created toolbox. In this case, it is named `my_toolbox`." ], "previous_source": "", "target": [ "" ], "id_hash": -2230229591318946741, "content_hash": -2230229591318946741, "location": "pages/debugging-with-toolbox.adoc:25", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/19144579/?format=api", "priority": 100, "id": 19144629, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=610ca200c1de9c4b", "url": "https://translate.fedoraproject.org/api/units/19144629/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.947750Z", "last_updated": "2025-03-24T22:37:40.947759Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "As pointed out by the output of the `toolbox create my_toolbox` command, you can enter the following command to enter your toolbox." ], "previous_source": "", "target": [ "" ], "id_hash": -443650722683737328, "content_hash": -443650722683737328, "location": "pages/debugging-with-toolbox.adoc:32", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate.fedoraproject.org/api/units/19144580/?format=api", "priority": 100, "id": 19144630, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=79d7d604ae172b10", "url": "https://translate.fedoraproject.org/api/units/19144630/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.955925Z", "last_updated": "2025-03-24T22:37:40.955934Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "toolbox enter my_toolbox\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1691054407440848262, "content_hash": -1691054407440848262, "location": "pages/debugging-with-toolbox.adoc:36", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/19144581/?format=api", "priority": 100, "id": 19144631, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=68882af9dca12a7a", "url": "https://translate.fedoraproject.org/api/units/19144631/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.962039Z", "last_updated": "2025-03-24T22:37:40.962051Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Now that you're in the container, you can use the included `dnf` package manager to install packages. For example, let's install `strace` to look at read syscall done by the host's `toolbox` utility." ], "previous_source": "", "target": [ "" ], "id_hash": 7716317528363631604, "content_hash": 7716317528363631604, "location": "pages/debugging-with-toolbox.adoc:40", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate.fedoraproject.org/api/units/19144582/?format=api", "priority": 100, "id": 19144632, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=eb15dde8c43c03f4", "url": "https://translate.fedoraproject.org/api/units/19144632/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.966781Z", "last_updated": "2025-03-24T22:37:40.966790Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "toolbox rm --force my_toolbox\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2777161114198403053, "content_hash": -2777161114198403053, "location": "pages/debugging-with-toolbox.adoc:53", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/19144583/?format=api", "priority": 100, "id": 19144633, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=59758aae402d1813", "url": "https://translate.fedoraproject.org/api/units/19144633/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.982151Z", "last_updated": "2025-03-24T22:37:40.982164Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?format=api", "source": [ "Toolbx allows you to create toolboxes with your custom images. You can find more details in the https://github.com/containers/toolbox/tree/main/doc[toolbox manpages]." ], "previous_source": "", "target": [ "" ], "id_hash": -492343353782206346, "content_hash": -492343353782206346, "location": "pages/debugging-with-toolbox.adoc:56", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate.fedoraproject.org/api/units/19144584/?format=api", "priority": 100, "id": 19144634, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesdebugging-with-toolbox/id/?checksum=792ad8540a498076", "url": "https://translate.fedoraproject.org/api/units/19144634/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-24T22:37:40.986677Z", "last_updated": "2025-03-24T22:37:40.986682Z" } ] }{ "count": 17, "next": null, "previous": null, "results": [ { "translation": "