Units API.

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

GET /api/units/2450152/?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>If a package containing a service that is currently running is being\nupdated, the service is restarted after the files in the package have been\ninstalled.</P><P>This makes sense in most cases, and it is safe to do,\nconsidering that many services either need their binaries or configuration\nfiles accessible in the file system. Otherwise these services would continue\nto run until the services are stopped, e.g. running daemons are\nkilled.</P><P>This setting should only be changed if there is a specific\nreason to do so.</P>"
    ],
    "previous_source": "<P>If a package containing a service that is currently running is being updated, then the service is restarted after the files of the package are installed.</P><P>This makes sense in most cases, and it is safe to do, considering that many services either need their binaries accessible in the filesystem or their configuration files. These services would just continue to run until the services are stopped, e.g. running daemons are killed.</P><P>This setting should only be changed if there is a specific reason to do so.</P>",
    "target": [
        "<P>หากแพกเกจที่จะทำการปรับรุ่น บรรจุบริการตัวที่มีการทำงานอยู่ในตอนนี้ จะทำให้บริการนั้นมีการเริ่มการทำงานใหม่หลังจากการติดตั้งแฟ้มจากแพกเกจแล้ว</P><P>ซึ่งก็เป็นการทำงานปกติในกรณีทั่วไป, และปลอดภัยในการทำเช่นนั้น เนื่องจากบริการส่วนมากมักจะต้องการการเรียกใช้งานแฟ้มไบนารีประมวลผลได้หรือแฟ้มปรับแต่งของพวกมันจากระบบแฟ้มอยู่แล้ว โดยบริการเหล่านี้ควรจะทำงานต่อไปจนกว่าบริการจะหยุดการทำงาน เช่น ดีมอนถูกสั่งฆ่าการทำงาน เป็นต้น</P><P>การตั้งค่านี้ควรจะถูกเปลี่ยนค่าก็ต่อเมื่อ มีเหตุผลในการทำเช่นนั้น</P>"
    ],
    "id_hash": -1353201611260635528,
    "content_hash": -1353201611260635528,
    "location": "src/include/security/helps.rb:321",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 108,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 84,
    "source_unit": "https://l10n.opensuse.org/api/units/12582032/?format=api",
    "priority": 100,
    "id": 2450152,
    "web_url": "https://l10n.opensuse.org/translate/yast-security/master/th/?checksum=6d38764ddb52d678",
    "url": "https://l10n.opensuse.org/api/units/2450152/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T14:33:28Z"
}