Units API.

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

GET /api/units/9220978/?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/packages-i18n/ghc-master/ar/?format=api",
    "source": [
        "A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, such as 'head' and '!!'. Each unsafe function has up to four variants, e.g. with 'tail': \n* 'tail :: [a] -> [a]', raises an error on 'tail []'. \n* 'tailMay :: [a] -> /Maybe/ [a]', turns errors into 'Nothing'. \n* 'tailDef :: /[a]/ -> [a] -> [a]', takes a default to return on errors. \n* 'tailNote :: /String/ -> [a] -> [a]', takes an extra argument which supplements the error message. \n* 'tailSafe :: [a] -> [a]', returns some sensible default if possible, '[]' in the case of 'tail'.\n\nThis package is divided into three modules: \n* \"Safe\" contains safe variants of 'Prelude' and 'Data.List' functions. \n* \"Safe.Foldable\" contains safe variants of 'Foldable' functions. \n* \"Safe.Exact\" creates crashing versions of functions like 'zip' (errors if the lists are not equal) and 'take' (errors if there are not enough elements), then wraps them to provide safe variants."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -9056289129343213678,
    "content_hash": -9056289129343213678,
    "location": "",
    "context": "",
    "note": "leap/ghc-safe/description",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 1768,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 155,
    "source_unit": "https://l10n.opensuse.org/api/units/12664797/?format=api",
    "priority": 100,
    "id": 9220978,
    "web_url": "https://l10n.opensuse.org/translate/packages-i18n/ghc-master/ar/?checksum=2519904e6441f92",
    "url": "https://l10n.opensuse.org/api/units/9220978/?format=api",
    "explanation": "",
    "extra_flags": ""
}