Units API.

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

GET /api/units/698025/?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/omp/importexport-users/uk/?format=api",
    "source": [
        "Usage: {$scriptName} {$pluginName} [command] ...\nCommands:\n\timport [xmlFileName] [press_path] [optional flags]\n\texport [xmlFileName] [press_path]\n\texport [xmlFileName] [press_path] [role_path1] [role_path2] ...\n\nOptional flags:\n\tcontinue_on_error: If specified, do not stop importing users if an error occurs\n\n\tsend_notify: If specified, send notification emails containing usernames\n\t\tand passwords to imported users\n\nExamples:\n\tImport users into myPress from myImportFile.xml, continuing on error:\n\t{$scriptName} {$pluginName} import myImportFile.xml myPress continue_on_error\n\n\tExport all users from myPress:\n\t{$scriptName} {$pluginName} export myExportFile.xml myPress\n\n\tExport all users registered as reviewers, along with their reviewer roles only:\n\t{$scriptName} {$pluginName} export myExportFile.xml myPress reviewer\n"
    ],
    "previous_source": "",
    "target": [
        "Використання: {$scriptName} {$pluginName} [команда] …\nКоманди:\n\timport [xmlFileName] [press_path] [optional flags]\n\texport [xmlFileName] [press_path]\n\texport [xmlFileName] [press_path] [role_path1] [role_path2] ...\n\nДодаткові прапорці:\n\tcontinue_on_error: Якщо включено, не припиняє імпорт користувачів у випадку виникнення помилки\n\n\tsend_notify: Якщо включено, відправляє листи-повідомлення, які містять імена користувачів\n\t\tі паролі для імпортованих користувачів\n\nПриклади:\n\tІмпорт користувачів у myPress із myImportFile.xml, який продовжується за помилкою:\n\t{$scriptName} {$pluginName} import myImportFile.xml myPress continue_on_error\n\n\tЕкспорт усіх користувачів із myPress:\n\t{$scriptName} {$pluginName} export myExportFile.xml myPress.\n\n\tЕкспорт усіх користувачів, зареєстрованих як рецензенти, лише з їх роллю рецензентів:\n\t{$scriptName} {$pluginName} export myExportFile.xml myPress reviewer\n"
    ],
    "id_hash": 7722346747039108735,
    "content_hash": -7475488608330740736,
    "location": "",
    "context": "plugins.importexport.users.cliUsage",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 91,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/409417/?format=api",
    "priority": 100,
    "id": 698025,
    "web_url": "http://translate.pkp.sfu.ca/translate/omp/importexport-users/uk/?checksum=eb2b4973a1a8ce7f",
    "url": "http://translate.pkp.sfu.ca/api/units/698025/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T04:35:27.202691Z"
}