Units API.

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

GET /api/units/736981/?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/hy/?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": [
        "Տվյալների գաղտնիությունն ապահովելու համար դուք պետք է նշեք վեբ օգտագործողի կողմից ընթերցվող և գրվող նիշք, որը պարունակում է պատահականորեն ստեղծված աղի արժեք:  Գաղտնիության պաշտպանությունն ապահովելու համար այս նիշքը չպետք է պահուստավորվի: Աղը պատահականորեն ստեղծվում է կամ օգտագործելով՝ 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": 736981,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/usage-statistics-plugin/hy/?checksum=d4fac7e46805b51b",
    "url": "http://translate.pkp.sfu.ca/api/units/736981/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T23:14:25.330895Z"
}