Units API.

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

GET /api/units/10649/?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/ojs/importexport-native/pt_BR/?format=api",
    "source": [
        "Usage: {$scriptName} {$pluginName} [command] ...\nCommands:\n\timport [xmlFileName] [journal_path] [--user_name] ...\n\texport [xmlFileName] [journal_path] articles [articleId1] [articleId2] ...\n\texport [xmlFileName] [journal_path] article [articleId]\n\texport [xmlFileName] [journal_path] issues [issueId1] [issueId2] ...\n\texport [xmlFileName] [journal_path] issue [issueId]\n\nAdditional parameters are required for importing data as follows, depending\non the root node of the XML document.\n\nIf the root node is <article> or <articles>, additional parameters are required.\nThe following formats are accepted:\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path] [--user_name]\n\tissue_id [issueId] section_id [sectionId]\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path] [--user_name]\n\tissue_id [issueId] section_name [name]\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path]\n\tissue_id [issueId] section_abbrev [abbrev]\n"
    ],
    "previous_source": "",
    "target": [
        "Uso: {$scriptName} {$pluginName} [comando] ...\nComandos:\nimport [xmlFileName] [journal_path] [--user_name] ...\nexport [xmlFileName] [journal_path] articles [articleId1] [articleId2] ...\nexport [xmlFileName] [journal_path] article [articleId]\nexport [xmlFileName] [journal_path] issues [issueId1] [issueId2] ...\nexport [xmlFileName] [journal_path] issue [issueId]\n\nParâmetros adicionais são necessários para importar dados da seguinte maneira, dependendo\ndo nó raiz do documento XML.\n\nSe o nó raiz for <article> ou <articles>, parâmetros adicionais serão necessários.\nOs seguintes formatos são aceitos:\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path] [--user_name]\nissue_id [issueId] section_id [sectionId]\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path] [--user_name]\nissue_id [issueId] section_name [name]\n\n{$scriptName} {$pluginName} import [xmlFileName] [journal_path]\nissue_id [issueId] section_abbrev [abbrev]\n"
    ],
    "id_hash": 8198355138687984828,
    "content_hash": 4661288691360016359,
    "location": "",
    "context": "plugins.importexport.native.cliUsage",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 11,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 99,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/405525/?format=api",
    "priority": 100,
    "id": 10649,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/importexport-native/pt_BR/?checksum=f1c6688fd7fee4bc",
    "url": "http://translate.pkp.sfu.ca/api/units/10649/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-11-19T11:44:08.653432Z"
}