Units API.

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

GET /api/units/1688/?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-core-resources/bg/?format=api",
    "source": [
        "Language"
    ],
    "previous_source": "",
    "target": [
        "Language"
    ],
    "id_hash": 4509694946769438487,
    "content_hash": -5459423957963425498,
    "location": "",
    "context": "language",
    "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### Languages\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### Languages",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 1,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 1,
    "source_unit": "https://l10n.xwiki.org/api/units/26798/?format=api",
    "priority": 100,
    "id": 1688,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/bg/?checksum=be95a7a923910717",
    "url": "https://l10n.xwiki.org/api/units/1688/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T17:11:43.694000Z"
}