Units API.

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

GET /api/units/504815/?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/pl/?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": [
        "Użycie: {$scriptName} {$pluginName} [polecenie] ...\nPolecenia:\n\timport [nazwaPlikuXML] [ścieżkaCzasopisma] [nazwaUżytkownika] ...\n\texport [nazwaPlikuXML] [ścieżkaCzasopisma] articles [IdArtykułu1] [IdArtykułu2] ...\n\texport [nazwaPlikuXML] [ścieżkaCzasopisma] article [IdArtykułu]\n\texport [nazwaPlikuXML] [ścieżkaCzasopisma] issues [IdArtykułu1] [IdArtykułu2] ...\n\texport [nazwaPlikuXML] [ścieżkaCzasopisma] issue [IdArtykułu]\n\nW zależności od głównego węzła dokumentu XML wymagane są\ndodatkowe parametry do importowania danych.\n\nGdy głównym węzłem jest <article> lub <articles> dodatkowe parametry są wymagane.\nAkceptowane są następujące formaty:\n\n{$scriptName} {$pluginName} import [nazwaPlikuXML] [ścieżkaCzasopisma] [--user_name]\nissue_id [identyfikatorWydania] section_id [identyfikatorSekcji]\n\n{$scriptName} {$pluginName} import [nazwaPlikuXML] [ścieżkaCzasopisma] [--user_name]\nissue_id [identyfikatorWydania] section_name [nazwaSekcji]\n\n{$scriptName} {$pluginName} import [nazwaPlikuXML] [ścieżkaCzasopisma]\nissue_id [identyfikatorWydania] section_abbrev [skrótSekcji]\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": 504815,
    "web_url": "http://translate.pkp.sfu.ca/translate/ojs/importexport-native/pl/?checksum=f1c6688fd7fee4bc",
    "url": "http://translate.pkp.sfu.ca/api/units/504815/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T04:15:29.941453Z"
}