Units API.

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

GET /api/units/736810/?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/fi/?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": [
        "Tietosuojan varmistamiseksi, sinun pitää antaa kirjoitettava ja luettava tiedosto, johon tallennetaan salt-arvo. Tätä tiedostoa ei saa varokopioida. Salt luodaan jollain seuraavista funktioista: mcrypt_create_iv, vaatii PHP mcrypt; openssl_random_pseudo_bytes, vaatii PHP openssl; /dev/urandom, toimii vain *nix järjestelmissä; function mt_rand, joka ei ole täysin turvallinen. Windows-palvelimilla varmista, että olet asentanut joko PHP mcrypt-laajennuksen tai openssl-laajennuksen."
    ],
    "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": 736810,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/usage-statistics-plugin/fi/?checksum=d4fac7e46805b51b",
    "url": "http://translate.pkp.sfu.ca/api/units/736810/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T23:14:24.274897Z"
}