Units API.

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

GET /api/units/736639/?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/el/?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": [
        "Για να διασφαλίσετε το απόρρητο των δεδομένων, πρέπει να καθορίσετε ένα αρχείο αναγνώσιμο και εγγράψιμο από τον χρήστη για να περιέχει μια τυχαία παραγόμενη τιμή κλειδιού (salt). Αυτό το αρχείο ΔΕΝ πρέπει να καταγράφεται σε αντίγραφο ασφαλείας για να διασφαλιστεί η προστασία του απορρήτου. Το κλειδί δημιουργείται τυχαία είτε χρησιμοποιώντας: τη συνάρτηση mcrypt_create_iv, η οποία απαιτεί το PHP mcrypt; η συνάρτηση openssl_random_pseudo_bytes, η οποία απαιτεί το PHP openssl. το αρχείο /dev/urandom, το οποίο λειτουργεί μόνο σε συστήματα *nix. ή τη συνάρτηση mt_rand, η οποία δεν είναι κρυπτογραφικά ασφαλής. Επομένως, εάν χρησιμοποιείτε διακομιστή Windows, βεβαιωθείτε ότι έχετε εγκαταστήσει είτε το PHP mcrypt είτε το openssl για να έχετε το κρυπτογραφικά ασφαλές παραγόμενο κλειδί."
    ],
    "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": false,
    "num_words": 104,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/409931/?format=api",
    "priority": 100,
    "id": 736639,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/usage-statistics-plugin/el/?checksum=d4fac7e46805b51b",
    "url": "http://translate.pkp.sfu.ca/api/units/736639/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T23:14:23.185298Z"
}