Units API.

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

GET /api/units/78014/?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/ca/?format=api",
    "source": [
        "YunoHost was able to download the asset '{source_id}' ({url}) for {app}, but the asset doesn't match the expected checksum. This could mean that some temporary network failure happened on your server, OR the asset was somehow changed by the upstream maintainer (or a malicious actor?) and YunoHost packagers need to investigate and perhaps update the app manifest to take this change into account.\n    Expected sha256 checksum: {expected_sha256}\n    Downloaded sha256 checksum: {computed_sha256}\n    Downloaded file size: {size}"
    ],
    "previous_source": "",
    "target": [
        "YunoHost ha pogut baixar el recurs «{source_id}» ({url}) per a {app}, però el recurs no coincideix amb la suma de comprovació esperada. Això podria significar que s'ha produït una fallada temporal de la xarxa al vostre servidor, O el responsable de manteniment (o un actor maliciós?) ha canviat d'alguna manera l'actiu i els empaquetadors de YunoHost han d'investigar i actualitzar el manifest de l'aplicació per reflectir aquest canvi.\n     Suma de comprovació esperada de sha256: {expected_sha256}\n     Suma de comprovació sha256 baixada: {computed_sha256}\n     Mida del fitxer baixat: {size}"
    ],
    "id_hash": 7624405580947786965,
    "content_hash": -1754945901574010617,
    "location": "",
    "context": "app_corrupt_source",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 28,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 75,
    "source_unit": "https://translate.yunohost.org/api/units/78006/?format=api",
    "priority": 100,
    "id": 78014,
    "web_url": "https://translate.yunohost.org/translate/yunohost/core/ca/?checksum=e9cf547ae3e60cd5",
    "url": "https://translate.yunohost.org/api/units/78014/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-03-09T14:22:20.739982Z"
}