Units API.

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

GET /api/units/428642/
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-wikimacro-store/en/",
    "source": [
        "Macro id"
    ],
    "previous_source": "",
    "target": [
        "Macro id"
    ],
    "id_hash": -8646175933573137246,
    "content_hash": -419821564692991098,
    "location": "",
    "context": "XWiki.WikiMacroClass_id",
    "note": "###############################################################################\n# XWiki Core localization\n#\n# This contains the translations of the module in the default language\n# (generally English).\n# \n# See https://dev.xwiki.org/xwiki/bin/view/Community/L10N/Conventions/ for more details about about\n# translation key naming.\n#\n# Comments: it's possible to add some detail about a key to make easier to\n#   translate it by adding a comment before it. To make sure a comment is not\n#   assigned to the following key use at least three sharps (###) for the comment\n#   or after it.\n# \n# Deprecated keys:\n#   * when deleting a key it should be moved to deprecated section at the end\n#     of the file (between #@deprecatedstart and #@deprecatedend) and associated to the\n#     first version in which it started to be deprecated\n#   * when renaming a key, it should be moved to the same deprecated section\n#     and a comment should be added with the following syntax:\n#     #@deprecated new.key.name\n#     old.key.name=Some translation\n###############################################################################\n\n### Wiki macros classes",
    "flags": "",
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 2,
    "source_unit": "https://l10n.xwiki.org/api/units/428642/",
    "priority": 100,
    "id": 428642,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-wikimacro-store/en/?checksum=8029ccc3dd77ca2",
    "url": "https://l10n.xwiki.org/api/units/428642/",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-12-11T15:34:51.583885Z"
}