Units API.

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

GET /api/units/5847719/?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_CN/?format=api",
    "source": [
        "\n    SELinux has denied the $SOURCE from binding to a network port $PORT_NUMBER which does not have an SELinux type associated with it.\n    If $SOURCE should be allowed to listen on $PORT_NUMBER, use the <i>semanage</i> command to assign $PORT_NUMBER to a port type that $SOURCE_TYPE can bind to (%s).\n    \n\nIf $SOURCE is not supposed\n    to bind to $PORT_NUMBER, this could signal an intrusion attempt.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux 已拒绝 $SOURCE 绑定网络端口 $PORT_NUMBER,没有 SELinux 类型与之关联。\n    如果应允许 $SOURCE 侦听 $PORT_NUMBER 端口,则可使用 <i>semanage</i> 命令将 $PORT_NUMBER 端口指定为 $SOURCE_TYPE 可绑定的端口类型 (%s)。\n    \n\n如果 $SOURCE 不应绑定到 $PORT_NUMBER 端口,那么这可能是企图入侵的信号。\n    "
    ],
    "id_hash": -2160010814243844681,
    "content_hash": -2160010814243844681,
    "location": "../src/bind_ports.py:31",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 47,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 63,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839403/?format=api",
    "priority": 100,
    "id": 5847719,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=6206199bd1fe4db7",
    "url": "https://translate.fedoraproject.org/api/units/5847719/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:12.794488Z"
}