Units API.

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

GET /api/units/1056512/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-country/master/ca/?format=api",
    "source": [
        "The selected language cannot be used in text mode. English is used for\ninstallation, but the selected language will be used for the new system."
    ],
    "previous_source": "",
    "target": [
        "La llengua seleccionada no es pot utilitzar en mode de text. L'anglès s'utilitzarà\nper a la instal·lació, però per al nou sistema s'utilitzarà la llengua seleccionada."
    ],
    "id_hash": -7395755016050343041,
    "content_hash": -7395755016050343041,
    "location": "language/src/modules/Language.rb:1502",
    "context": "",
    "note": "Returns the locale settings as args for localectl\n\n@return [Array<String>] a list of locale settings; e.g. [\"LANG=zh_HK.UTF-8\", \"LC_MESAGES=zh_TW\"]",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 122,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 25,
    "source_unit": "https://l10n.opensuse.org/api/units/12573734/?format=api",
    "priority": 100,
    "id": 1056512,
    "web_url": "https://l10n.opensuse.org/translate/yast-country/master/ca/?checksum=195cffff4e81837f",
    "url": "https://l10n.opensuse.org/api/units/1056512/?format=api",
    "explanation": "",
    "extra_flags": ""
}