Units API.

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

GET /api/units/1812000/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksporters-handbookslow-porting_index/ru/?format=api",
    "source": [
        "Minimize the amount of non-functional whitespace changes in patches.  It is common in the Open Source world for projects to share large amounts of a code base, but obey different style and indenting rules.  When taking a working piece of functionality from one project to fix similar areas in another, please be careful: the resulting patch may be full of non-functional changes.  It not only increases the size of the ports repository but makes it hard to find out what exactly caused the problem and what was changed at all."
    ],
    "previous_source": "",
    "target": [
        "Минимизируйте количество нефункциональных изменений пробелов в патчах. В мире открытого исходного кода распространена практика, когда проекты используют обширные части кодовой базы, но следуют разным правилам стиля и отступов. При переносе работоспособного функционала из одного проекта для исправления аналогичных участков в другом будьте внимательны: итоговый патч может быть переполнен нефункциональными изменениями. Это не только увеличивает размер репозитория портов, но и затрудняет понимание того, что именно вызвало проблему и какие изменения были внесены."
    ],
    "id_hash": 8805333580560032928,
    "content_hash": 8805333580560032928,
    "location": "documentation/content/en/books/porters-handbook/slow-porting/_index.adoc:177",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 45,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 90,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1238336/?format=api",
    "priority": 100,
    "id": 1812000,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookslow-porting_index/ru/?checksum=fa32d43d261964a0",
    "url": "https://translate-dev.freebsd.org/api/units/1812000/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-05-25T08:25:47.661396Z"
}