Units API.

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

GET /api/units/5843828/?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/setroubleshoot/plugins/ja/?format=api",
    "source": [
        "\n    SELinux denied xen access to $TARGET_PATH.\n    If this is a XEN image, it has to have a file context label of\n    xen_image_t. The system is setup to label image files in directory /var/lib/xen/images\n    correctly.  We recommend that you copy your image file to /var/lib/xen/images.\n    If you really want to have your xen image files in the current directory, you can relabel $TARGET_PATH to be xen_image_t using chcon.  You also need to execute semanage fcontext -a -t xen_image_t '$FIX_TARGET_PATH' to add this\n    new path to the system defaults. If you did not intend to use $TARGET_PATH as a xen\n    image it could indicate either a bug or an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux により、$TARGET_PATH への xen のアクセスが拒否されました。\nこれが XEN イメージの場合は、 xen_image_t のファイルコンテキストラベルが\n必要があります。 システムは、/var/lib/xen/images ディレクトリ内でイメージファイル\nにラベル付けを行なうよう正しく設定されています。 使用するイメージファイルを \n/var/lib/xen/images ディレクトリーにコピーすることをお勧めします。 どうしても xen イメージ\nファイルを現在のディレクトリーに配置する必要がある場合は、 chcon  を使用して \n$TARGET_PATH に xen_image_t のラベルを付け直してください。 \nまた、 semanage fcontext -a -t xen_image_t '$FIX_TATGET_PATH' を実行して、 この新しい\nパスをシステムのデフォルト設定に追加する必要があります。 $TARGET_PATH を xen イメージ\nとして使用する意図がなかった場合は、 バグまたは不正侵入の試行を示している可能性があります。\n    "
    ],
    "id_hash": 8707956077862196747,
    "content_hash": 8707956077862196747,
    "location": "../src/xen_image.py:31",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 224,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 109,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839757/?format=api",
    "priority": 100,
    "id": 5843828,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/ja/?checksum=f8d8dfea84ae160b",
    "url": "https://translate.fedoraproject.org/api/units/5843828/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:36.839006Z"
}