Units API.

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

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

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-xwikisyntaxmacros/uk/?format=api",
    "source": [
        "= Programming =\n\n== Macros ==\n\n=== 1.0 Macros ===\n\nThere are two kinds of macros in XWiki Syntax 1.0:\n\n* Velocity macros (called using the ###macroname(param1 ... paramN)## syntax)\n* Radeox macros (called using the ##{macroname:param1=value1|...|paramN=valueN}## syntax)\n\n{{info}}\nFor the full list of available macros check the [[Extensions wiki>>https://extensions.xwiki.org/]].\n{{/info}}\n\n|=Feature|=XWiki Syntax 1.0\n|Velocity Macro|(((\n{{{#info(\"Some text\")}}}\n)))\n|Radeox Macro|(((\n{{{{code:java}\njava content\n{code}\n}}}\n)))\n\n=== 2.0 Macros ===\n\nThere is only one kind of macro in XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}, which is called by the syntax: ##{{{{{macroname param1=\"value1\" ... paramN=\"valueN\"}}...{{/macroname}}}}}##. For macros without content there's a short notation: ##{{{{{macroname param1=\"value1\" ... paramN=\"valueN\"/}}}}}##\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result\n|Rendering Macro with a content|(((\n{{{{{code language=\"java\"}}\nSystem.out.println(\"Hello World!\");\n{{/code}}\n}}}\n)))|{{code language=\"java\"}}System.out.println(\"Hello World!\");{{/code}}\n|Rendering Macro without content|(((\n{{{{{include reference=\"Space.Page\"/}}}}}\n)))|The referenced page is included in the current page\n\n{{info}}\nFor the full list of available macros check the [[Extensions wiki>>https://extensions.xwiki.org/]].\n{{/info}}\n\n==== Macros in this wiki ====\n\n{{include reference=\"XWiki.XWikiSyntaxMacrosList\"/}}"
    ],
    "previous_source": "",
    "target": [
        "= Програмування =\n\n== Макроси ==\n\n=== 1.0 Macros ===\n\nУ XWiki Syntax 1.0 є два типи макросів:\n\n* Макроси velocity(викликаються за допомогою синтаксису ###macroname(param1 ... paramN)##)\n* Макроси Radeox (викликаються за допомогою синтаксису ##{macroname:param1=value1|...|paramN=valueN}## )\n\n{{info}}\nПовний список доступних макросів див. у [[Extensions wiki>>https://extensions.xwiki.org/]].\n{{/info}}\n\n|=Функція|=Синтаксис XWiki 1.0\n|Макрос velocity|(((\n{{{#info(\"Some text\")}}}\n)))\n|Макрос Radeox|(((\n{{{{code:java}\nвміст java\n{code}\n}}}\n)))\n\n=== 2.0 Macros ===\n\nУ синтаксисі XWiki є лише один тип макросу {{velocity}}$crtSyntaxVer{{/velocity}}, який викликається за допомогою синтаксису: ##{{{{{macroname param1=\"value1\" ... paramN=\" valueN\"}}...{{/macroname}}}}}##. Для макросів без вмісту є коротке позначення: ##{{{{{macroname param1=\"value1\" ... paramN=\"valueN\"/}}}}}##\n\n|=Функція|=Синтаксис XWiki {{velocity}}$crtSyntaxVer{{/velocity}}|=Результат\n|Виконання макросу з вмістом|(((\n{{{{{code language=\"java\"}}\nSystem.out.println(\"Hello World!\");\n{{/code}}\n}}}\n)))|{{code language=\"java\"}}System.out.println(\"Hello World!\");{{/code}}\n|Виконання макросу без вмісту|(((\n{{{{{include reference=\"Space.Page\"/}}}}}\n)))|Сторінка, на яку посилається, включена до поточної сторінки\n\n{{info}}\nПовний список доступних макросів див. у [[Extensions wiki>>https://extensions.xwiki.org/]].\n{{/info}}\n\n==== Макроси в цій вікі ====\n\n{{include reference=\"XWiki.XWikiSyntaxMacrosList\"/}}"
    ],
    "id_hash": 4321460072923956526,
    "content_hash": 4859279566153109085,
    "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": 157,
    "source_unit": "https://l10n.xwiki.org/api/units/465396/?format=api",
    "priority": 100,
    "id": 565590,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxmacros/uk/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/565590/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-17T11:34:39.000005Z"
}