Units API.

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

GET /api/units/552599/?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/ja/?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 ===\n\nXWikiシンタックス 1.0には2種類のマクロが存在します。\n\n* Velocityマクロ(###macroname(param1 ... paramN)## シンタックスを用いて呼び出す)\n* Radeoxマクロ(##{macroname:param1=value1|...|paramN=valueN}## シンタックスを用いて呼び出す)\n\n{{info}}\n利用可能なマクロの一覧は[[拡張機能ウィキ>>https://extensions.xwiki.org/]]より確認できます。\n{{/info}}\n\n|=機能|=XWikiシンタックス 1.0\n|Velocityマクロ|(((\n{{{#info(\"テキスト\")}}}\n)))\n|Radeoxマクロ|(((\n{{{{code:java}\nJavaによるコンテンツ\n{code}\n}}}\n)))\n\n=== マクロ2.0 ===\n\nXWikiシンタックス {{velocity}}$crtSyntaxVer{{/velocity}}には1種類のマクロのみ存在します。マクロは以下のシンタックスで呼び出せます:##{{{{{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利用可能なマクロの一覧は[[拡張機能ウィキ>>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": 552599,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxmacros/ja/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/552599/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-11-15T06:06:10.333941Z"
}