Units API.

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

GET /api/units/465457/?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/fr/?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": [
        "Le Bac à sable contient des pages que vous pouvez librement modifier. Son but est de vous familiariser à la contribution au wiki. Grâce à lui vous découvrirez comment créer et modifier des pages. Pour commencer, cliquez tout simplement sur \"Modifier\".\n\n{{info}}Ne vous souciez pas d'écraser ou de perdre des informations lors de la modification de la page car vous pouvez toujours revenir aux versions précédentes du document via l'onglet \"Historique\" en bas de page.{{/info}}\n\nIl existe trois pages de test :\n\n* [[Page de Test 1>>Sandbox.TestPage1]]\n* [[Page de Test 2>>Sandbox.TestPage2]]\n* [[Page de Test 3>>Sandbox.TestPage3]]\n\n== Titres ==\n\nXWiki vous offre 6 niveaux pour les titres que vous pouvez utiliser afin d'organiser le contenu de vos pages. \n\n== Titre 2 ==\n\n=== Titre 3 ===\n\n==== Titre 4 ====\n\n===== Titre 5 =====\n\n====== Titre 6 ======\n\n== Styles ==\n\nXWiki supporte les styles de base suivants :\n\n* **Texte Gras**\n* //Texte Italique//\n* __Texte Souligné__\n* --Texte Barré--\n* Texte en ,,indice,,\n* Texte en ^^exposant^^\n\n== Liste ==\n\nVous pouvez créer divers types de listes dans vos pages wiki:\n\n=== Liste à puces ===\n\n* Niveau 1\n** Niveau 2\n*** Niveau 3\n** Niveau 2\n* Niveau 1\n\n=== Liste numérotée ===\n\n1. Élément\n11. Sous-élément\n111. Élément\n1. Sous-élément\n\n=== Liste mixte ===\n\n1. Élément 1\n11. Élément 2\n11*. Élément 3\n11*. Élément 4\n1. Élément 5\n\n== Tableaux ==\n\nVous pouvez créer des tableaux directement dans vos pages wiki :\n\n=== Tableau avec en-tête en première ligne ===\n\n|= en-tête |= en-tête |= en-tête \n| cellule | cellule | cellule\n| cellule | cellule | cellule\n\n=== Tableau dont l'en-tête est sur la première ligne et la première colonne ===\n\n|= en-tête |= en-tête |= en-tête\n|= en-tête | cellule | cellule\n|= en-tête | cellule | cellule\n\n\n== Liens ==\n\nXWiki vous permet de créer des liens vers d'autres documents wiki ou vers des pages Web :\n\n* [[WebHome]] -> lien vers la page d'accueil de l'espace courant\n* [[Sandbox Home>>WebHome]] -> les liens peuvent contenir des titres\n* [[Wiki Home>>Main.WebHome]] -> un lien peut utiliser le format NomEspace.NomPage pour renvoyer vers une page d'un autre espace. \n* [[http://www.xwiki.org]] -> vous pouvez également indiquer des pages wiki ou des sites Web externes\n* [[XWiki.org Website>>http://www.xwiki.org]] -> les titres des liens fonctionnent également pour les liens externes.\n\n== Images ==\n\nVous pouvez ajouter des images dans vos pages wiki:\n\n[[image:XWikiLogo.png]]\n\n== Macros ==\n\nLes macros vous permettent de personnaliser l'aspect du contenu du wiki ainsi que d'y ajouter des fonctionnalités. Ci-dessous vous avez 2 exemples d'usage des macros dans les pages wiki :\n\n=== La macro d'avertissement ===\n\nCette macro vous permet d'attirer l'attention des utilisateurs :\n\n{{warning}}Salut à tous!{{/warning}}\n\n=== Table de matières ===\n\nCette macro génère automatiquement une table des matières à partir des niveaux de titres présents dans le contenu de votre page 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": 465457,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/sandbox-webhome/fr/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/465457/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-02T15:32:17.154975Z"
}