Units API.

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

GET /api/units/570758/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/pdf-export-ui/de/?format=api",
    "source": [
        "The script that is evaluated for each wiki page included in the PDF export to produce the metadata to display in the PDF header or footer. The metadata is specified using a special binding named metadata whose value is a Map<String, String>. The metadata ends up in the HTML as attributes of the heading used to display the title of each wiki page."
    ],
    "previous_source": "The script that is evaluated for each wiki page included in a multipage PDF export to produce the metadata to display in the PDF header or footer. The script has two special bindings: sourceDocument is the document being exported (from which we extract the metadata) and metadata is a map that accepts only string values. The metadata ends up in the HTML as attributes of the heading used to display the title of each wiki page.",
    "target": [
        "Das Skript, das für jede im PDF-Export enthaltene Wikiseite ausgewertet wird, um die Metadaten zu erzeugen, die in der Kopf- oder Fußzeile der PDF-Datei angezeigt werden. Die Metadaten werden mit einer speziellen Bindung namens metadata angegeben, deren Wert eine Map<String, String> ist. Die Metadaten landen im HTML als Attribute der Überschrift, die zur Anzeige des Titels jeder Wikiseite verwendet wird."
    ],
    "id_hash": -4122469760038096844,
    "content_hash": -6440506604244261676,
    "location": "",
    "context": "XWiki.PDFExport.TemplateClass_metadata.hint",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 51,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 63,
    "source_unit": "https://l10n.xwiki.org/api/units/570756/?format=api",
    "priority": 100,
    "id": 570758,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/pdf-export-ui/de/?checksum=46ca0b9853a3b034",
    "url": "https://l10n.xwiki.org/api/units/570758/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-09-15T03:05:36.910838Z"
}