Units API.

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

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

{
    "translation": "https://translate.yunohost.org/api/translations/yunohost/core/nb_NO/?format=api",
    "source": [
        "You cannot remove '{domain}' since it's the main domain and your only domain, you need to first add another domain using 'yunohost domain add <another-domain.com>', then set is as the main domain using 'yunohost domain main-domain -n <another-domain.com>' and then you can remove the domain '{domain}' using 'yunohost domain remove {domain}'."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 2365131640870849369,
    "content_hash": 4250693481231261522,
    "location": "",
    "context": "domain_cannot_remove_main_add_new_one",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 336,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 51,
    "source_unit": "https://translate.yunohost.org/api/units/35575/?format=api",
    "priority": 100,
    "id": 28700,
    "web_url": "https://translate.yunohost.org/translate/yunohost/core/nb_NO/?checksum=a0d2a2b24524cb59",
    "url": "https://translate.yunohost.org/api/units/28700/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-06T21:40:05.834980Z"
}