Units API.

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

GET /api/units/20120/?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/xwiki-core-resources/de/?format=api",
    "source": [
        "States how the property is updated. Accepted values: \"form\" (default)  meaning that the selected value is stored in an input that will be saved via an external form; \"direct\" means that the picker is responsible with updating the property value."
    ],
    "previous_source": "",
    "target": [
        "Entscheidet, wie die Eigenschaft gesetzt wird. Mögliche Werte: \"form\" (Voreinstellung), wodurch die Auswahl in einem Eingabewert eines externen Formulars gespeichert wird; \"direct\", wodurch das Widget die Eigenschaft selber speichert."
    ],
    "id_hash": -3888640806177656316,
    "content_hash": -377529905223944979,
    "location": "",
    "context": "rendering.macro.attachmentSelector.parameter.savemode.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1802,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 40,
    "source_unit": "https://l10n.xwiki.org/api/units/28490/?format=api",
    "priority": 100,
    "id": 20120,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-core-resources/de/?checksum=4a08c5ca28b13204",
    "url": "https://l10n.xwiki.org/api/units/20120/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2018-05-01T17:13:17.080000Z"
}