Units API.

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

GET /api/units/330209/?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/annotationcode-translations/ru/?format=api",
    "source": [
        "The following two settings allow you to configure which locations annotations are active in. The first setting specifies the general rule, while the second list specifies the locations for which the rule shouldn't apply. For example, activated \"yes\" and exception locations \"XWiki\" and \"Main\" means that annotations will be active on all locations except for \"XWiki\" and \"Main\". As an opposite example, using activated \"no\" and exception locations \"Documents\" means that annotations will be active only for the \"Documents\" location."
    ],
    "previous_source": "",
    "target": [
        "Следующие два параметра позволяют настроить, в каких расположениях аннотации активны. Первый параметр определяет общее правило, а второй список указывает расположения, к которым правило не должно применяться. Например, активированные «да» и исключение расположения «XWiki» и «Main» означает, что аннотации будут активны во всех местах, кроме «XWiki» и «Main». В качестве противоположного примера, активированные «нет» и исключение расположения «Документы» означает, что аннотации будут активны только для расположения «Документы»."
    ],
    "id_hash": 8523959488328994733,
    "content_hash": 1572834540071178249,
    "location": "",
    "context": "annotations.config.activate.explanation",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 55,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 80,
    "source_unit": "https://l10n.xwiki.org/api/units/130765/?format=api",
    "priority": 100,
    "id": 330209,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/annotationcode-translations/ru/?checksum=f64b2ffe25ab8fad",
    "url": "https://l10n.xwiki.org/api/units/330209/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T21:54:54.367000Z"
}