Units API.

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

GET /api/units/428872/
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/es/",
    "source": [
        "Macro id"
    ],
    "previous_source": "",
    "target": [
        "Id de macro"
    ],
    "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\n###############################################################################\n# XWiki Core localization\n#\n# This contains the translations of the module in the default language\n# (generally English).\n# \n# Translation key syntax:\n#   <short top level project name>.<short module name>.<propertyName>\n#   where:\n#   * <short top level project name> = top level project name without the \"xwiki-\" prefix,\n#                                     for example: commons, rendering, platform, enterprise, manager, etc\n#   * <short module name> = the name of the Maven module without the <short top level project name> prefix,\n#                           for example: oldcore, scheduler, activitystream, etc\n#   * <propertyName> = the name of the property using camel case,\n#                      for example updateJobClassCommitComment\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": 20,
    "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": 428872,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-wikimacro-store/es/?checksum=8029ccc3dd77ca2",
    "url": "https://l10n.xwiki.org/api/units/428872/",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-12-11T15:34:51.583885Z"
}