Units API.

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

GET /api/units/2450120/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-security/master/th/?format=api",
    "source": [
        "<p>Some systems set up a work-around by adding the dot (\".\") to the\nsearch path, enabling files in the current path to be found and executed.\nThis is highly dangerous because you may accidentally launch unknown programs in\nthe current directory instead of the usual systemwide files. As a result,\nexecuting <i>Trojan Horses</i>, which exploit this weakness and invade your system,\nis rather easy if you set this option.</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>บางระบบจะมีการตั้งค่าให้ใช้งานได้ครอบคลุม โดยการเพิ่มจุด (\".\") ไว้ในพาธการค้นหาด้วย\nซึ่งจะเป็นการให้มีการค้นหาแฟ้มในพาธปัจจุบันและทำการเรียกประมวลผลได้\nซึ่งการทำเช่นนี้จะมีความเสี่ยงต่อความปลอดภัยสูงมาก เนื่องจากคุณอาจจะเผลอเรียก\nโปรแกรมที่ไม่รู้จักในไดเรกทอรีปัจจุบันแทนแฟ้มที่ควรจะเป็นของระบบก็ได้ ซึ่งนั่นอาจจะทำให้\nโปรแกรม<i>ม้าโทรจันหรือไวรัส</i> สามารถเจาะระบบและเข้ายึดระบบของคุณได้อย่างง่ายดาย\nหากคุณเลือกตั้งค่าตัวเลือกนี้</p>"
    ],
    "id_hash": -6974421507070112599,
    "content_hash": -6974421507070112599,
    "location": "src/include/security/helps.rb:219",
    "context": "",
    "note": "Misc dialog help 12/14",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 93,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 69,
    "source_unit": "https://l10n.opensuse.org/api/units/12582016/?format=api",
    "priority": 100,
    "id": 2450120,
    "web_url": "https://l10n.opensuse.org/translate/yast-security/master/th/?checksum=1f35e097653dcca9",
    "url": "https://l10n.opensuse.org/api/units/2450120/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T14:33:28Z"
}