Units API.

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

GET /api/units/465465/?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/lv/?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": [
        "Smilšu kaste ir viki vieta, kuru jūs varat brīvi mainīt. Jūs šeit varat mācīties un mēģināt. Jūs varat pārbaudīt, kā tiek mainīti esošie dokumenti, un kā var veidot jaunas lapas. Lai sāktu, spiediet **Mainīt**! {{info}}Neuztraucieties par satura zaudēšanu šajā lapā, jo jūs vienmēr varat atritināt saturu uz iepriekšējo versiju, \"Vēsture\" cilnē lapas apakšā.{{/info}} Ja vēlaties izpētīt [[XWiki sintaksi>>XWiki.XWikiSyntax]], aktivizējiet izvēlni \"Rādīt\" \"Viki kodu\", vai izvēlieties \"Kods\" cilni, lapas mainīšanas režīmā.\n\nTālāk ir vairākas lapas ar kurām jūs varat darboties:\n* [[1. testa lapa>>Sandbox.TestPage1]]\n* [[2. testa lapa>>Sandbox.TestPage2]]\n* [[3. testa lapa>>Sandbox.TestPage3]] \n\nTālāk ir saturs, kas demonstrē [[XWiki dokumentu sintaksi>>XWiki.XWikiSyntax]]. Xwiki lapās jūs varat izmantot dažādus noformējum elementus (virsraktus, attēlus, tabulas u.c.). \n\n== Virsraksti ==\nXWiki ļauj veidot 6 līmeņu virsrakstus. Virsrakstus jūs varat izmantot, lai strukturētu lapas tekstu. \n\n== 2. līmeņa virsraksts ==\n=== 3. līmeņa virsraksts ===\n==== 4. līmeņa virsraksts ====\n===== 5. līmeņa virsraksts =====\n====== 6. līmeņa virsraksts ======\n\n== Stili ==\nXWiki nodrošina visus pamata noformējuma stilus:\n* **Teksts treknrakstā** \n* //Teksts slīprakstā// \n* __Pasvītrots teksts__ \n* --Nosvitrots teksts-- \n* Teksts ,,apakšrakstā,, \n* Teksts ^^augšrakstā^^ \n\n== Saraksti ==\nXWiki var veidot dažādus sarakstus: \n\n=== Nesakārtots saraksts ===\n* 1. līmenis\n** 2. līmenis\n*** 3. līmenis\n** 2. līmenis\n* 1. līmenis\n\n=== Numurēts saraksts ===\n1. 1. līmeņa vienība \n11. 2. līmeņa vienība\n111. 3. līmeņa vienība\n1. 1. līmeņa vienība\n\n=== Jaukti saraksti ===\n1. 1. līmeņa vienība\n11. 1. līmeņa vienība\n11*. 3. līmeņa vienība ar iezīmi\n11*. otra 3. līmeņa vienība ar iezīmi\n1. 1. līmeņa vienība\n\n== Tabulas ==\n\nXWiki dokumentā var veidot tabulas:\n\n=== Tabula ar virsrakstu 1. rindā ===\n\n|= tabulas virsraksts |= tabulas virsraksts |= tabulas virsraksts\n| šūna | šūna | šūna\n| šūna | šūna | šūna\n\n=== Tabula ar virsrakstu 2. rindās ===\n\n|= tabulas virsraksts |= tabulas virsraksts\n|= tabulas virsraksts |= tabulas virsraksts\n| šūna | šūna \n| šūna | šūna\n\n== Saites ==\nXWiki dokumentā var veidot saites uz citām Xwiki lapām (šajā vietnē) un ārējām lapām: \n* [[WebHome]] -> saite uz vietas mājas lapu (to sauc WebHome)\n* [[Šīs vietas sākuma lapa>>WebHome]] -> saite ar nosaukumu\n* [[Viki sākuma lapa>>Main.WebHome]] -> nosaukta saite uz citas vietas sākuma lapu. Saites mērķi raksta formā Vieta.lapa \n* [[http://www.xwiki.org]] -> saite uz citu, ārēju vietni tiek norādīta ar vietrādi (URL)\n* [[XWiki.org mājas lapa>>http://www.xwiki.org]] -> nosaukta saite uz citu, ārēju vietni\n\n== Attēli ==\nXWiki dokumentā var ievietot lapas pielikumā augšuplādētus attēlus:\n\n[[image:XWikiLogo.png]] \n\n== Makrosi ==\nAr makrosiem var veidot dinamisku lapu saturu un tie paver daudz un dažādas iespējas. Ir arī makrosi īpašam teksta noformējumam, piemēram:\n\n== Brīdinājuma ziņojuma makross ==\n\nSekojošais makross parāda tekstu brīdinājuma ziņojuma rāmī:\n\n{{warning}}Sveika pasaule!{{/warning}} \n\n=== Satura rādītājs ===\n\nŠis makross automātiski izveido lapas satura rādītāju, izmantojot lapā saliktos virsrakstus:\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": 465465,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/sandbox-webhome/lv/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/465465/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-02T15:32:18.455567Z"
}