Units API.

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

GET /api/units/504521/?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/es/?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} [command] ...\nComandos:\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\nSe requieren parámetros adicionales para importar datos tal como se describe a continuación,\nen función del nodo raíz del documento XML.\n\nSi el nodo raíz es <article> o <articles> serán necesarios parámetros adicionales.\nSe aceptan los formatos siguientes:\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"
    ],
    "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": 504521,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/importexport-native/es/?checksum=f1c6688fd7fee4bc",
    "url": "http://translate.pkp.sfu.ca/api/units/504521/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T04:15:25.732128Z"
}