Units API.

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

GET /api/units/94361/?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/pt_BR/?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": [
        "Uso: {$scriptName} {$pluginName} [comando] ...\nComandos:\n\timport [xmlFileName] [press_path] [optional flags]\n\texport [xmlFileName] [press_path]\n\texport [xmlFileName] [press_path] [role_path1] [role_path2] ...\n\nFlags opcionais:\n\tcontinue_on_error: Caso especificado, não interrompe a importação de usuários mesmo ocorrendo erro\n\n\tsend_notify: Caso especificado, enviar e-mails de notificação contendo login\n\t\te senha para usuários importados\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"
    ],
    "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": 94361,
    "web_url": "http://translate.pkp.sfu.ca/translate/omp/importexport-users/pt_BR/?checksum=eb2b4973a1a8ce7f",
    "url": "http://translate.pkp.sfu.ca/api/units/94361/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T12:28:23.274324Z"
}