Units API.

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

GET /api/units/5844226/?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/ko/?format=api",
    "source": [
        "\n    SELinux denied access requested by $SOURCE. $TARGET_PATH may\n    be mislabeled.  $TARGET_PATH default SELinux type is\n    <B>%s</B>, but its current type is <B>$TARGET_TYPE</B>. Changing\n    this file back to the default type may fix your problem.\n    <p>\n    File contexts can be assigned to a file in the following ways.\n    <ul>\n        <li>Files created in a directory receive the file context of the parent directory by default.\n        <li>The SELinux policy might override the default label inherited from the parent directory by\n            specifying a process running in context A which creates a file in a directory labeled B\n            will instead create the file with label C. An example of this would be the dhcp client running\n            with the dhcpc_t type and creating a file in the directory /etc. This file would normally\n            receive the etc_t type due to parental inheritance but instead the file\n            is labeled with the net_conf_t type because the SELinux policy specifies this.\n        <li>Users can change the file context on a file using tools such as chcon, or restorecon.\n    </ul>\n    This file could have been mislabeled either by user error, or if an normally confined application\n    was run under the wrong domain.\n    <p>\n    However, this might also indicate a bug in SELinux because the file should not have been labeled\n    with this type.\n    <p>\n    If you believe this is a bug, please file a bug report against this package.\n    "
    ],
    "previous_source": "",
    "target": [
        "\n    SELinux가 요청한 접근을 거부했습니다.\n $SOURCE. $TARGET_PATH에 잘못된 레이블이 표시될 수 있습니다. $TARGET_PATH의 기본 SELinux 유형\n <B>%s</B>, 하지만 현재의 유형은<B>$TARGET_TYPE</B>입니다.\n 이 파일을 기본 유형으로 다시 변경하면 문제가 해결될 수 있습니다.\n <p>\n파일 내용는 다음과 같은 방법으로 파일에 할당 할 수 있습니다.\n <ul>\n <li>디렉토리에서 작성된 파일은 기본적으로 상위 디렉토리의 파일 컨텍스트를 수신합니다.\n <li>SELinux 정책은 컨텍스트 A로 실행되는 프로세스를 지정하여 부모 디렉토리에서 상속 된 기본 이름표을 무시 할 수 있습니다.\n 이 프로세스는 B라는 레이블이 지정된 디렉토리에 파일을 생성하고 대신 C라는 레이블로 파일을 생성합니다.\n 이 예는 실행중인 dhcp 클라이언트입니다\n dhclient_t 유형 및 / etc 디렉토리에 파일 작성.\n 이 파일은 보통 부모 상속으로 인해 etc_t 유형을 수신하지만\n SELinux 정책이 이를 지정하기 때문에 파일은 net_conf_t 유형으로 레이블됩니다.\n <li>사용자는 chcon 또는 restorecon과 같은 도구를 사용하여 파일의 파일 컨텍스트를 변경할 수 있습니다.\n </ul>\n 이 파일은 사용자 오류 또는 일반적으로 제한된 응용 프로그램이 잘못된 도메인에서 실행 된 경우 잘못 표시 될 수 있습니다.\n <p>\n 그러나 이것은 파일이이 유형으로 분류되어서는 안되기 때문에 SELinux의 결점일 수도 있습니다.\n <p>\n 이것이 결점라고 생각되면 이 꾸러미에 대한 결점 리포트를 제출하십시오.\n    "
    ],
    "id_hash": 6553961742861883236,
    "content_hash": 6553961742861883236,
    "location": "../src/restorecon.py:64",
    "context": "",
    "note": "",
    "flags": "python-format",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 170,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 227,
    "source_unit": "https://translate.fedoraproject.org/api/units/5839649/?format=api",
    "priority": 100,
    "id": 5844226,
    "web_url": "https://translate.fedoraproject.org/translate/setroubleshoot/plugins/ko/?checksum=daf4597b12c85764",
    "url": "https://translate.fedoraproject.org/api/units/5844226/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-08-31T07:21:46.916936Z"
}