Units API.

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

GET /api/units/8338997/?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/es/?format=api",
    "language_code": "es",
    "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": [
        "No es posible cambiar las secuencias habilitadas de un módulo a menos que se habilite explícitamente a través de la opción de configuración module_stream_switch.\nSe recomienda eliminar todo el contenido instalado del módulo y restablecer el módulo usando el comando '{prog} module reset <module_name>'. Después de restablecer el módulo, puede instalar la otra secuencia."
    ],
    "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": 8338997,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-rhel-8/es/?checksum=7fb864e275bdc439",
    "url": "https://translate.fedoraproject.org/api/units/8338997/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-08-11T14:30:24.160882Z",
    "last_updated": "2023-06-16T11:46:33.795393Z"
}