Units API.

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

GET /api/units/737665/?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/usage-statistics-plugin/vi/?format=api",
    "source": [
        "To ensure data privacy, you must specify a file readable and writable by the web user to contain a randomly generated salt value.  This file must NOT be backed up to ensure privacy protection. The salt is randomly generated either using: the function mcrypt_create_iv, which requires the PHP mcrypt; the function openssl_random_pseudo_bytes, which requires the PHP openssl; the file /dev/urandom, which works only on *nix systems; or the function mt_rand, which is not cryptographically safe. Thus, if you are using a Windows server, please ensure that you install either the PHP mcrypt or openssl enabled in order to have the cryptographically safe generated salt."
    ],
    "previous_source": "",
    "target": [
        "Để đảm bảo quyền riêng tư dữ liệu, bạn phải chỉ định một tệp có thể đọc và ghi được bởi người dùng web để chứa giá trị muối được tạo ngẫu nhiên. Tập tin này KHÔNG được sao lưu để đảm bảo bảo vệ quyền riêng tư. Muối được tạo ngẫu nhiên bằng cách sử dụng: hàm mcrypt_create_iv, yêu cầu mcrypt PHP; hàm openssl_random_pseudo_bytes, yêu cầu PHP openssl; tệp /dev/urandom, chỉ hoạt động trên các hệ thống *nix; hoặc hàm mt_rand, không an toàn về mặt mật mã. Do đó, nếu bạn đang sử dụng máy chủ Windows, vui lòng đảm bảo rằng bạn đã cài đặt PHP mcrypt hoặc openssl được bật để có thông tin nhạy cảm được tạo bằng mật mã."
    ],
    "id_hash": 6123426427175286043,
    "content_hash": 4118675260482151140,
    "location": "",
    "context": "plugins.generic.usageStats.settings.dataPrivacyOption.requirements",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 104,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/409931/?format=api",
    "priority": 100,
    "id": 737665,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/usage-statistics-plugin/vi/?checksum=d4fac7e46805b51b",
    "url": "http://translate.pkp.sfu.ca/api/units/737665/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T23:14:29.125407Z"
}