Units API.

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

GET /api/units/465492/?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/sandbox-webhome/zh/?format=api",
    "source": [
        "The sandbox is a part of your wiki that you can freely modify. It's meant to let you practice editing. You will discover how page editing works and create new pages. Simply click on **Edit** to get started!\n\n{{info}}\nDon't worry about overwriting or losing stuff when editing the page, you can always roll back to the first version of the page from the \"History\" tab at the bottom of the page.\n{{/info}}\n\nIf you want to give a look to the underlying [[XWiki Syntax>>XWiki.XWikiSyntax]], you can click on \"Wiki code\" in the \"Show\" menu or click on the \"Source\" tab when editing the page.\n\nHere are a number of test pages you can play with:\n\n* [[Sandbox Test Page 1>>Sandbox.TestPage1]]\n* [[Sandbox Test Page 2>>Sandbox.TestPage2]]\n* [[Sandbox Test Page 3>>Sandbox.TestPage3]]\n\nBelow is a demonstration of the [[XWiki Syntax>>XWiki.XWikiSyntax]] you can use in wiki pages (headings, images, tables).\n\n== Headings ==\n\nXWiki offers 6 levels of headings. You can use them to structure your pages.\n\n== Level 2 Heading ==\n\n=== Level 3 Heading ===\n\n==== Level 4 Heading 4 ====\n\n===== Level 5 Heading 5 =====\n\n====== Level 6 Heading 6 ======\n\n{{info title=\"Accessibility recommendation\"}}\nIn order to provide the best experience for assistive technology users on your wiki, you should avoid using the first level of heading in page content.\n{{/info}}\n\n== Styles ==\n\nBasic styles are supported in XWiki:\n\n* **Text in Bold**\n* //Text in Italics//\n* __Text in Underline__\n* --Text in Strikethrough--\n* Text in ,,subscript,,\n* Text in ^^superscript^^\n\n== Lists ==\n\nYou can create various types of lists in your wiki pages:\n\n=== Unordered list ===\n\n* Level 1\n** Level 2\n*** Level 3\n** Level 2\n* Level 1\n\n=== Numbered list ===\n\n1. Item\n11. Subitem\n111. Item\n1. Subitem\n\n=== Mixed list ===\n\n1. Item 1\n11. Item 2\n11*. Item 3\n11*. Item 4\n1. Item 5\n\n== Tables ==\n\nYou can create tables right into wiki pages:\n\n=== Table with headers in the top row ===\n\n|= table header |= table header |= table header\n| cell | cell | cell\n| cell | cell | cell\n\n=== Table with headers in the top row and left column ===\n\n|= table header |= table header |= table header\n|= table header | cell | cell\n|= table header | cell | cell\n\n== Links ==\n\nXWiki allows you to create links to other pages in your wiki or on the web:\n\n* [[WebHome]] -> links to the homepage of the current space\n* [[Sandbox Home>>WebHome]] -> links can have labels\n* [[Wiki Home>>Main.WebHome]] -> a link can use the SpaceName.PageName format to link to a page located in another space\n* [[http://www.xwiki.org]] -> you can link to wiki pages or to external websites\n* [[XWiki.org Website>>http://www.xwiki.org]] -> link labels work for exernal links too\n\nYou can also create links to attachments:\n\nattach:XWikiLogo.png\n\n== Images ==\n\nYou can insert images in your wiki pages:\n\nimage:XWikiLogo.png\n\n== Macros ==\n\nMacros allow you to make wiki content look better and to add additional features to your wiki. Here are 2 examples of how macros can be used in wiki pages:\n\n=== Warning Macro ===\n\nThis macro allows you to draw users' attention to a specific piece of information:\n\n{{warning}}\nHello World\n{{/warning}}\n\n=== Table of Contents ===\n\nThis macro automatically generates a table of contents of your wiki page based on headings:\n\n{{toc/}}"
    ],
    "previous_source": "",
    "target": [
        "沙箱是您的wiki中可以任意改动的部分。您可以用它来练习和测试wiki页面的编辑。通过这些练习,你能够学习和发现页面是怎样被创建和修改的。让我们从点击 **编辑** 链接开始!\n\n{{info}}请不用担心您的修改会覆盖或者删除页面的原有内容,您总可以通过页面底部的”历史“标签页回滚到该页面的最初版本。{{/info}}\n\n如果您想查看当前页面的[[XWiki语法格式>>XWiki.XWikiSyntax]],请选择”查看“菜单中的”Wiki代码“或者在编辑页面时选择”源代码“标签页。\n\n下面是一系列你可以用来测试的页面:\n\n* [[沙箱测试页面1>>Sandbox.TestPage1]]\n* [[沙箱测试页面2>>Sandbox.TestPage2]]\n* [[沙箱测试页面3>>Sandbox.TestPage3]]\n\n下面是[[XWiki语法>>XWiki.XWikiSyntax]]的一个基本说明,你可以在wiki页面中使用这些语法(比如:标题,图片,表格)。 \n\n== 标题 ==\n\nXWiki提供了6级标题。您可以用它们来组织您的页面。\n\n== 2级标题 ==\n\n=== 3级标题 ===\n\n==== 4级标题 ====\n\n===== 5级标题 =====\n\n====== 6级标题 ======\n\n== 样式 ==\n\nXWiki支持的基本样式:\n\n* **粗体**\n* //斜体//\n* __下划线__\n* --中划线/删除线--\n* ,,下标,,\n* ^^上标^^\n\n== 列表 ==\n\n您可以在您的wiki页面中创建不同类型的列表:\n\n=== 无序列表 ===\n\n* 1级列表项\n** 2级列表项\n*** 3级列表项\n** 2级列表项\n* 1级列表项\n\n=== 数字排序列表 ===\n\n1. 1级列表项\n11. 2级列表项\n111. 3级列表项\n1. 1级列表项\n\n=== 混合列表 ===\n\n1. 列表项1\n11. 列表项2\n11*. 列表项3\n11*. 列表项4\n1. 列表项5\n\n== 表格 ==\n\n你可以直接在wiki页面中创建表格:\n\n=== 首行为表头的表格 ===\n\n|= 表头 |= 表头 |= 表头 \n| 表格单元 | 表格单元 | 表格单元\n| 表格单元 | 表格单元 | 表格单元\n\n=== 首行首列为表头的表格 ===\n\n|= 表头 |= 表头 |= 表头 \n|= 表头 | 表格单元 | 表格单元\n|= 表头 | 表格单元 | 表格单元\n\n== 链接 ==\n\nXWiki允许您创建连接到wiki中其他页面或者互联网页面的链接:\n\n* [[WebHome]] -> 连接到当前wiki空间的首页;\n* [[沙箱首页>>WebHome]] -> 链接可以有自己的标题,这里使用了”沙箱首页“;\n* [[Wiki Home>>Main.WebHome]] -> 使用”空间名称.页面名称“的格式可以连接到同一wiki其他空间的指定页面;\n* [[http://www.xwiki.org]] -> 您还可以直接连接到外部web网站;\n* [[XWiki.org网站>>http://www.xwiki.org]] -> 当然,也可以给外部链接加上自己的标题。\n\n== 图片==\n\n您可以在您的wiki页面中插入图片:\n\n[[image:XWikiLogo.png]]\n\n== 宏 ==\n\n宏使您可以使Wiki内容看起来更好,并为Wiki添加其他功能。以下是两个如何在Wiki页面中使用宏的示例:\n\n=== 告警宏 ===\n\n该宏可以赋予一段文字以特别的格式来引起用户和读者的注意:\n\n{{warning}}世界,您好!{{/warning}}\n\n=== 目录列表宏 ===\n\n该宏能够根据wiki页面中的标题自动生成页面目录列表:\n\n{{toc/}}"
    ],
    "id_hash": 4321460072923956526,
    "content_hash": -8178221309445291395,
    "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": true,
    "num_words": 574,
    "source_unit": "https://l10n.xwiki.org/api/units/465423/?format=api",
    "priority": 100,
    "id": 465492,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/sandbox-webhome/zh/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/465492/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-02T15:32:21.559491Z"
}