Units API.

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

GET /api/units/5847942/?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/zh_TW/?format=api",
    "source": [
        "\n    If you want to change the file context of $TARGET_PATH so that the automounter can execute it you can execute \"chcon -t bin_t $TARGET_PATH\".  If you want this to survive a relabel, you need to permanently change the file context: execute  \"semanage fcontext -a -t bin_t '$FIX_TARGET_PATH'\".\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    如果您想變更 $TARGET_PATH 的檔案情境來讓自動掛載器可以執行它,您可以執行「chcon -t bin_t $TARGET_PATH」。如果您想讓它在重新標記後仍可使用,您需要永久性更動檔案情境:執行「semanage fcontext -a -t bin_t '$FIX_TARGET_PATH'」。\n    "
    ],
    "id_hash": -4201655068578418950,
    "content_hash": -4201655068578418950,
    "location": "../src/automount_exec_config.py:39",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 44,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 47,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839397/?format=api",
    "priority": 100,
    "id": 5847942,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_TW/?checksum=45b0b8f9f8a9eefa",
    "url": "https://translate.fedoraproject.org/api/units/5847942/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:18.283967Z"
}