Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1824216/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlescommitters-guide_index/ru/?format=api", "source": [ "and you are ready to try again. The `checkout -B` with the hash combines checking out and creating a branch for it. The `-B` instead of `-b` forces the movement of a pre-existing branch. Either way works, which is what's great (and awful) about Git. One reason I tend to use `git checkout -B xxxx hash` instead of checking out the hash, and then creating / moving the branch is purely to avoid the slightly distressing message about detached heads:" ], "previous_source": "", "target": [ "и вы готовы попробовать снова. Команда `checkout -B` с хэшем объединяет извлечение (checkout) и создание ветки для него. Использование `-B` вместо `-b` принудительно перемещает уже существующую ветку. В любом случае это работает, что и прекрасно (и ужасно) в Git. Одна из причин, по которой я склонен использовать `git checkout -B xxxx хэш` вместо извлечения (checkout) хэша, а затем создания / перемещения ветки, — это чисто чтобы избежать слегка тревожного сообщения об отделённом HEAD:" ], "id_hash": -6465473100163297282, "content_hash": -6465473100163297282, "location": "documentation/content/en/articles/committers-guide/_index.adoc:1733", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 493, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 80, "source_unit": "https://translate-dev.freebsd.org/api/units/1819736/?format=api", "priority": 100, "id": 1824216, "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlescommitters-guide_index/ru/?checksum=264606788fec4ffe", "url": "https://translate-dev.freebsd.org/api/units/1824216/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-08-17T20:19:29.356286Z" }