Units API.

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

GET /api/units/5847679/?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    The $SOURCE application attempted to change the access protection of memory on\n    the heap (e.g., allocated using malloc).  This is a potential security\n    problem.  Applications should not be doing this. Applications are\n    sometimes coded incorrectly and request this permission.  The\n    <a href=\"http://people.redhat.com/drepper/selinux-mem.html\">SELinux Memory Protection Tests</a>\n    web page explains how to remove this requirement.  If $SOURCE does not work and\n    you need it to work, you can configure SELinux temporarily to allow\n    this access until the application is fixed. Please file a bug\n    report against this package.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    $SOURCE 应用程序试图修改内存堆 (memory on the heap,\n    比如使用 malloc 分配的内存) 的访问保护。这是潜在的安全问题。\n    正常情况下应用程序不会有这样的行为,不过有时错误的代码也可能\n    会请求此权限。<a href=\"http://people.redhat.com/drepper/selinux-mem.html\">SELinux 内存保护测试</a>页面介绍了删除此\n    请求的方法。如果 $SOURCE 不能正常工作,但又需要它运行,\n    则在此应用得到修正前可以配置 SELinux 临时允许此访问。\n    请针对此软件包上报 bug。\n    "
    ],
    "id_hash": -1333341506822289838,
    "content_hash": -1333341506822289838,
    "location": "../src/allow_execheap.py:32",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 7,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 86,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839323/?format=api",
    "priority": 100,
    "id": 5847679,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/zh_CN/?checksum=6d7f04f6c192c652",
    "url": "https://translate.fedoraproject.org/api/units/5847679/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:23:11.819142Z"
}