Units API.

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

GET /api/units/504858/?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/ro/?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": [
        "Folosiți: {$scriptName} {$pluginName} [command] ...\nComenzi:\n\timportați [xmlFileName] [journal_path] [user_name] ...\n\texportați [xmlFileName] [journal_path] articolele [articleId1] [articleId2] ...\n\texportați [xmlFileName] [journal_path] articolul [articleId]\n\texportați [xmlFileName] [journal_path] numerele [issueId1] [issueId2] ...\n\texportați [xmlFileName] [journal_path] numărul [issueId]\n\n\nParametrii suplimentari sunt necesari pentru importul de date după cum urmează, \nîn funcție de nodul rădăcină al documentului XML.\n\nDacă nodul rădăcină este <article> or <articles>, sunt necesari parametri suplimentari.\nUrmătoarele formate sunt acceptate:\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": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 11,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 99,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/405525/?format=api",
    "priority": 100,
    "id": 504858,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/importexport-native/ro/?checksum=f1c6688fd7fee4bc",
    "url": "http://translate.pkp.sfu.ca/api/units/504858/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T04:15:30.366847Z"
}