Units API.

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

GET /api/units/806188/?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/lucene/ar/?format=api",
    "source": [
        "\n\t\tUsage statistics must be copied regularly to the Solr server. You can not currently update usage statistics from the web interface.<br/>\n\t\t<br/>\n\t\tPossible reasons are:\n\t\t<ul>\n\t\t\t<li>If you are using pull indexing, the index update cron job on the remote server (\"pull.sh\") will automatically update statistics data whenever executed (see 'plugins/generic/lucene/README' for details).</li>\n\t\t\t<li>Your web server may not have write permissions to the 'files/lucene/data' directory. Make sure that both, the web server and the solr server, have access to this directory and refresh this page.</li>\n\t\t</ul>\n\t"
    ],
    "previous_source": "",
    "target": [
        "\n\t\tينبغي نسخ إحصائيات الاستعمال بانتظام إلى مخدم Solr. لا يمكنك حاليًا تحديث إحصائيات الاستعمال من واجهة الويب.<br/>\n\t\t<br/>\n\t\tالأسباب المحتملة هي:\n\t\t<ul>\n\t\t\t<li>إذا كنت تستعمل فهرسة السحب، ستقوم وظيفة تحديث الفهرس التلقائية في المخدم البعيد (\"pull.sh\") بتحديث بيانات الإحصائيات كلما تم تنفيذها (أنظر الملف 'plugins/generic/lucene/README' للتفاصيل).</li>\n\t\t\t<li>قد لا يمتلك مخدم الويب الخاص بك صلاحيات الكتابة في المجلد 'files/lucene/data' . تأكد من أن مخدم الويب ومخدم solr كلاهما يمتلكان صلاحية الوصول إلى هذا المجلد ثم أعد تنشيط هذه الصفحة.</li>\n\t\t</ul>\n\t"
    ],
    "id_hash": 7406714521217307567,
    "content_hash": -7751360120695081865,
    "location": "",
    "context": "plugins.generic.lucene.settings.updateBoostFileDisabled",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 84,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 86,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/806084/?format=api",
    "priority": 100,
    "id": 806188,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/lucene/ar/?checksum=e6c9ef9d55e293af",
    "url": "http://translate.pkp.sfu.ca/api/units/806188/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-12-21T18:02:26.658750Z"
}