Translation components API.

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

GET /api/translations/xwiki-platform/xwiki-platform-wiki-default/hr/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 2,
    "next": null,
    "previous": null,
    "results": [
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-platform-wiki-default/hr/?format=api",
            "source": [
                "Failed to create database for wiki \"{0}\""
            ],
            "previous_source": "",
            "target": [
                "Izrada baze podataka wikija \"{0}\" nije uspjela"
            ],
            "id_hash": 3405576808604878719,
            "content_hash": -7743059124117162577,
            "location": "",
            "context": "wiki.databasecreation",
            "note": "###############################################################################\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",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://l10n.xwiki.org/api/units/130198/?format=api",
            "priority": 100,
            "id": 130202,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-platform-wiki-default/hr/?checksum=af430a105c33c77f",
            "url": "https://l10n.xwiki.org/api/units/130202/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2018-05-01T21:53:41.433000Z"
        },
        {
            "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-platform-wiki-default/hr/?format=api",
            "source": [
                "Failed to initialize or update database for wiki \"{0}\""
            ],
            "previous_source": "",
            "target": [
                "Inicijalizacija ili ažuriranje baze podataka wikija \"{0}\" nije uspjela"
            ],
            "id_hash": -2856014265284573795,
            "content_hash": 8765253148759932247,
            "location": "",
            "context": "wiki.databaseupdate",
            "note": "",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://l10n.xwiki.org/api/units/130199/?format=api",
            "priority": 100,
            "id": 130203,
            "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-platform-wiki-default/hr/?checksum=585d66285443c59d",
            "url": "https://l10n.xwiki.org/api/units/130203/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2018-05-01T21:53:41.551000Z"
        }
    ]
}