Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/en/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/en/?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": [
                "= 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}}})))"
            ],
            "id_hash": 4321460072923956526,
            "content_hash": 7115209826416164921,
            "location": "",
            "context": "content",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 100,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": true,
            "num_words": 113,
            "source_unit": "https://l10n.xwiki.org/api/units/465636/?format=api",
            "priority": 100,
            "id": 465636,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/en/?checksum=bbf8e90a4daa852e",
            "url": "https://l10n.xwiki.org/api/units/465636/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:08.018956Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxscripts/en/?format=api",
            "source": [
                "XWikiSyntaxScripts"
            ],
            "previous_source": "",
            "target": [
                "XWikiSyntaxScripts"
            ],
            "id_hash": -7901431335316922026,
            "content_hash": 8273557082750526113,
            "location": "",
            "context": "title",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 100,
            "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": 465637,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxscripts/en/?checksum=12587a10694b6156",
            "url": "https://l10n.xwiki.org/api/units/465637/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2020-12-02T15:33:08.187582Z"
        }
    ]
}