Units API.

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

GET /api/units/465266/?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-xwikisyntaxparagraphs/en/?format=api",
    "source": [
        "= Editing =\n\n== Paragraphs ==\n\n=== 1.0 Paragraphs ===\n\nParagraphs are text elements separated by 2 or more new lines.\n\n{{info}}New lines are not honored in XWiki Syntax 1.0. \nYou need to insert a double backslash instead, like: {{{}}}{{/info}}\n\n|=Feature|=XWiki Syntax 1.0|=Result\n|Simple paragraph|This is a paragraph|This is a paragraph\n|Paragraph on multiple lines|Paragraph on{{{}}}multiple lines|Paragraph onmultiple lines\n|Two paragraphs|Paragraph one\\Paragraph two|Paragraph one\\Paragraph two\n|Parametrized paragraph|<p style=\"text-align:center;color:blue\">Centered and blue paragraph</p>|(% style=\"text-align:center;color:blue\" %)Centered and blue paragraph\n\n=== 2.0 Paragraphs ===\n\nParagraphs are text elements separated by 2 or more new lines.\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result\n|Simple paragraph|This is a paragraph|This is a paragraph\n|Paragraph on multiple lines|Paragraph onmultiple lines|Paragraph onmultiple lines\n|Two paragraphs|Paragraph one\\Paragraph two|Paragraph one\\Paragraph two\n|Parametrized paragraph|{{{(% style=\"text-align:center;color:blue\" %)}}}Centered and blue paragraph|(% style=\"text-align:center;color:blue\" %)Centered and blue paragraph\n|Different style on some portion of the paragraph content|paragraph with {{{(% style=\"color:red\" %)}}}red{{{(%%)}}} different style inside|paragraph with (% style=\"color:red\" %)red(%%) texte inside"
    ],
    "previous_source": "",
    "target": [
        "= Editing =\n\n== Paragraphs ==\n\n=== 1.0 Paragraphs ===\n\nParagraphs are text elements separated by 2 or more new lines.\n\n{{info}}New lines are not honored in XWiki Syntax 1.0. \nYou need to insert a double backslash instead, like: {{{\\}}}{{/info}}\n\n|=Feature|=XWiki Syntax 1.0|=Result\n|Simple paragraph|This is a paragraph|This is a paragraph\n|Paragraph on multiple lines|Paragraph on{{{\\}}}\\multiple lines|Paragraph on\\multiple lines\n|Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two\n|Parametrized paragraph|<p style=\"text-align:center;color:blue\">Centered and blue paragraph</p>|(% style=\"text-align:center;color:blue\" %)\\Centered and blue paragraph\n\n=== 2.0 Paragraphs ===\n\nParagraphs are text elements separated by 2 or more new lines.\n\n|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result\n|Simple paragraph|This is a paragraph|This is a paragraph\n|Paragraph on multiple lines|Paragraph on\\multiple lines|Paragraph on\\multiple lines\n|Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two\n|Parametrized paragraph|{{{(% style=\"text-align:center;color:blue\" %)}}}\\Centered and blue paragraph|(% style=\"text-align:center;color:blue\" %)\\Centered and blue paragraph\n|Different style on some portion of the paragraph content|paragraph with {{{(% style=\"color:red\" %)}}}red{{{(%%)}}} different style inside|paragraph with (% style=\"color:red\" %)red(%%) texte inside"
    ],
    "id_hash": 4321460072923956526,
    "content_hash": 2567570562672021684,
    "location": "",
    "context": "content",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": true,
    "has_failing_check": true,
    "num_words": 150,
    "source_unit": "https://l10n.xwiki.org/api/units/465266/?format=api",
    "priority": 100,
    "id": 465266,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-xwikisyntaxparagraphs/en/?checksum=bbf8e90a4daa852e",
    "url": "https://l10n.xwiki.org/api/units/465266/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-02T15:31:02.134844Z"
}