Units API.

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

GET /api/units/570764/?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/ru/?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": "",
    "target": [
        "Скрипт, который выполняется для каждой вики-страницы, включенной в PDF-экспорт, для создания метаданных, отображаемых в верхнем или нижнем колонтитуле PDF-файла. Метаданные задаются с помощью специальной привязки с именем metadata, значением которой является Map<String, String>. Метаданные попадают в HTML в виде атрибутов заголовка, используемого для отображения названия каждой вики-страницы."
    ],
    "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": 570764,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/pdf-export-ui/ru/?checksum=46ca0b9853a3b034",
    "url": "https://l10n.xwiki.org/api/units/570764/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-09-15T03:05:37.484813Z"
}