Units API.

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

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

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/pkp-lib/installer/th/?format=api",
    "source": [
        "Leave the hostname blank to connect using domain sockets instead of over TCP/IP. This is not necessary with MySQL, which will automatically use sockets if \"localhost\" is entered, but is required with some other database servers such as PostgreSQL."
    ],
    "previous_source": "",
    "target": [
        "ปล่อยชื่อโฮสต์ว่างไว้เพื่อเชื่อมต่อโดยใช้โดเมนซ็อกเก็ตแทนการเชื่อมต่อผ่าน TCP/IP ไม่จำเป็นสำหรับ MySQL ซึ่งจะใช้ซ็อกเก็ตโดยอัตโนมัติเมื่อป้อน \"localhost\" แต่จำเป็นสำหรับเซิร์ฟเวอร์ฐานข้อมูลบางตัว เช่น PostgreSQL"
    ],
    "id_hash": 7896301803532482496,
    "content_hash": -3414449716720077320,
    "location": "",
    "context": "installer.databaseHostInstructions",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 12,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 39,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/406798/?format=api",
    "priority": 100,
    "id": 847876,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/installer/th/?checksum=ed954ca766d477c0",
    "url": "http://translate.pkp.sfu.ca/api/units/847876/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-10-20T04:10:38.593040Z"
}