Units API.

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

GET /api/units/733884/?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/plugins/backup-plugin/vi/?format=api",
    "source": [
        "{$footNoteNum}. <strong>WARNING:</strong> The database dump tool has not been configured in the config.inc.php configuration file. The configuration will depend on your server configuration and the type of database you use. It should be specified in a section called [cli], in a configuration option called \"dump\". For MySQL, use the mysqldump tool, i.e.:<br />\n<pre>[cli]\ndump = \"/usr/bin/mysqldump -h {$hostname} -u {$username} -p{$password} {$databasename}\"\n</pre>\nThe \"%s\" tokens will be replaced with, in order:<ol>\n\t<li>Database hostname</li>\n\t<li>Database username</li>\n\t<li>Database password</li>\n\t<li>Database name</li>\n</ol>\nNote that this involves specifying the database password in the command line, which may be a security concern.<br /><br />"
    ],
    "previous_source": "",
    "target": [
        "{$footNoteNum}. <strong>CẢNH BÁO:</strong> Công cụ kết xuất cơ sở dữ liệu chưa được cấu hình trong tệp cấu hình config.inc.php. Cấu hình sẽ phụ thuộc vào cấu hình máy chủ của bạn và loại cơ sở dữ liệu bạn sử dụng. Nó nên được chỉ định trong một phần gọi là [cli], trong tùy chọn cấu hình có tên là \"dump\". Đối với MySQL, sử dụng công cụ mysqldump, tức là:<br />\n<pre>[cli]\ndump = \"/usr/bin/mysqldump -h {$hostname} -u {$username} -p{$password} {$databasename}\"\n</pre>\nMã thông báo \"%s\" sẽ được thay thế bằng, theo thứ tự:<ol>\n\t<li>Database hostname</li>\n\t<li>Database username</li>\n\t<li>Database password</li>\n\t<li>Database name</li>\n</ol>\nLưu ý rằng điều này liên quan đến việc chỉ định mật khẩu cơ sở dữ liệu trong dòng lệnh, có thể là mối quan tâm bảo mật.<br /><br />"
    ],
    "id_hash": -6203852805470201103,
    "content_hash": -4698727197520220737,
    "location": "",
    "context": "plugins.generic.backup.db.config",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 8,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 102,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/410090/?format=api",
    "priority": 100,
    "id": 733884,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/backup-plugin/vi/?checksum=29e77cbe2b235af1",
    "url": "http://translate.pkp.sfu.ca/api/units/733884/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T22:37:49.260007Z"
}