Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/uk/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/uk/?format=api",
            "source": [
                "= Programming =\n\n== Scripts ==\n\n=== 1.0 Scripts ===\n\n{{info}}In XWiki Syntax 1.0 it was possible to enter Velocity scripts anywhere directly in the page. This can lead to issues for example when the user was involuntarily entering Velocity content. It is also performance hungry for pages not requiring Velocity content. There are several other technical limitations. Same goes for entering Groovy scripts.{{/info}}\n\n|=Feature|=XWiki Syntax 1.0\n|Velocity script|((({{{\n#set ($var = \"whatever\")\n}}})))\n|Groovy script|((({{{\n<%\ndef var = \"whatever\"\n%>\n}}})))\n\n=== 2.0 Scripts ===\n\n{{info}}XWiki [[supports several scripting languages>>https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/]].{{/info}}\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}\n|Velocity script|((({{{\n{{velocity}}\n#set ($var = \"whatever\")\n{{/velocity}}\n}}})))\n|Groovy script|((({{{\n{{groovy}}\ndef var = \"whatever\"\n{{/groovy}}\n}}})))"
            ],
            "previous_source": "",
            "target": [
                "= Програмування =\n\n== Скрипти ==\n\n=== 1.0 Scripts ===\n\n{{info}}У XWiki Syntax 1.0 можна було вводити скрипти Velocity будь-де безпосередньо на сторінці. Це може призвести до проблем, наприклад, коли користувач мимоволі вводив вміст Velocity. Він також потребує продуктивності для сторінок, які не потребують вмісту Velocity. Існує кілька інших технічних обмежень. Те ж саме стосується введення скриптів Groovy.{{/info}}\n\n|=Функція|=Синтаксис XWiki 1.0\n|Скрипт Velocity|(({{{\n#set ($var = \"whatever\")\n}}})))\n|Скрипт Groovy|((({{{\n<%\ndef var = \"whatever\"\n%>\n}}})))\n\n=== 2.0 Scripts ===\n\n{{info}}XWiki [[підтримує кілька мов сценаріїв>>https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/]].{{/info}}\n\n|=Функція|=Синтаксис XWiki {{velocity}}$crtSyntaxVer{{/velocity}}\n|Скрипт Velocity|(({{{\n{{velocity}}\n#set ($var = \"whatever\")\n{{/velocity}}\n}}})))\n|Скрипт Groovy|((({{{\n{{groovy}}\ndef var = \"whatever\"\n{{/groovy}}\n}}})))"
            ],
            "id_hash": 4321460072923956526,
            "content_hash": 7115209826416164921,
            "location": "",
            "context": "content",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 113,
            "source_unit": "https://l10n.xwiki.org/api/units/465636/?format=api",
            "priority": 100,
            "id": 564847,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/uk/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/564847/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-06T13:33:35.677007Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/uk/?format=api",
            "source": [
                "XWikiSyntaxScripts"
            ],
            "previous_source": "",
            "target": [
                "XWikiSyntaxScripts"
            ],
            "id_hash": -7901431335316922026,
            "content_hash": 8273557082750526113,
            "location": "",
            "context": "title",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 1,
            "source_unit": "https://l10n.xwiki.org/api/units/465637/?format=api",
            "priority": 100,
            "id": 564848,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/uk/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/564848/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2023-05-06T13:33:35.684256Z"
        }
    ]
}