Units API.

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

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

{
    "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-advanced/pt/?format=api",
    "source": [
        "As example,  we want to change the \"Password\" string on the login page in french, translated as `Mot de passe :`. The original string is `Password:` (see ``galette/templates/default/index.tpl``), its french translation is `Mot de passe :` and we want to replace it with `Secret :`; so we will create the ``galette_fr_FR.utf8_local_lang.php`` with the following contents:"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 6855407022632203587,
    "content_hash": 6855407022632203587,
    "location": "../usermanual/avancee.rst:33, d4b7b7d2e60e49d4903903a8941c6438",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 55,
    "source_unit": "https://hosted.weblate.org/api/units/17704389/?format=api",
    "priority": 100,
    "id": 121810081,
    "web_url": "https://hosted.weblate.org/translate/galette/doc-user-advanced/pt/?checksum=df234c5d96b5f543",
    "url": "https://hosted.weblate.org/api/units/121810081/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-04-28T18:25:22.716996+02:00"
}