Units API.

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

GET /api/units/78989/?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/ja/?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": "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 update the app manifest to reflect this change.\n    Expected sha256 checksum: {expected_sha256}\n    Downloaded sha256 checksum: {computed_sha256}\n    Downloaded file size: {size}",
    "target": [
        "YunoHost はアセット '{source_id}' ({url}) を {app} 用にダウンロードできましたが、アセットのチェックサムが期待されるものと一致しません。これは、あなたのサーバーで一時的なネットワーク障害が発生したか、もしくはアセットがアップストリームメンテナ(または悪意のあるアクター?)によって何らかの形で変更され、YunoHostパッケージャーがアプリマニフェストを調査/更新する必要があることを意味する可能性があります。\n    期待される sha256 チェックサム: {expected_sha256}\n    ダウンロードしたsha256チェックサム: {computed_sha256}\n    ダウンロードしたファイルサイズ: {size}"
    ],
    "id_hash": 7624405580947786965,
    "content_hash": -1754945901574010617,
    "location": "",
    "context": "app_corrupt_source",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "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": 78989,
    "web_url": "https://translate.yunohost.org/translate/yunohost/core/ja/?checksum=e9cf547ae3e60cd5",
    "url": "https://translate.yunohost.org/api/units/78989/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-07-09T02:32:53.361247Z"
}