Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/dnf/dnf-rhel-8/fi/?format=api",
    "language_code": "fi",
    "source": [
        "It is not possible to switch enabled streams of a module unless explicitly enabled via configuration option module_stream_switch.\nIt is recommended to rather remove all installed content from the module, and reset the module using '{prog} module reset <module_name>' command. After you reset the module, you can install the other stream."
    ],
    "previous_source": "",
    "target": [
        "Moduulin sallittuja virtauksia ei voi vaihtaa ellei sitä ole erikseen sallittu määritysvaihtoehdolla module_stream_switch.\nOn ennemmin suositeltavaa poistaa koko moduulista asennetun sisällön ja nollata moduuli komennolla '{prog} module reset < moduulin_nimi>'. Kun olet nollannut moduulin, voit asentaa toisen virran."
    ],
    "id_hash": -20155274522409927,
    "content_hash": -20155274522409927,
    "location": "dnf/cli/cli.py:173",
    "context": "",
    "note": "",
    "flags": "python-brace-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 116,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 51,
    "source_unit": "https://translate.fedoraproject.org/api/units/8338788/?format=api",
    "priority": 100,
    "id": 8339054,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-rhel-8/fi/?checksum=7fb864e275bdc439",
    "url": "https://translate.fedoraproject.org/api/units/8339054/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-08-11T14:30:29.533016Z",
    "last_updated": "2023-06-16T11:46:33.795393Z"
}