Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-installation/master/ar/?format=api",
    "source": [
        "enabled"
    ],
    "previous_source": "Enabled",
    "target": [
        "مُمكّن"
    ],
    "id_hash": -4344249536315265110,
    "content_hash": -4344249536315265110,
    "location": "src/lib/installation/cio_ignore.rb:118",
    "context": "",
    "note": "Build HTML text with clickable on/off-link.\n\n@param what [String] short text describing what to toggle\n@param state [Boolean] current state\n@param link_on [String] HTML ref for turning state to 'on'\n@param link_off [String] HTML ref for turning state to 'off'\n\n@return [String] HTML fragment\n\n@example\nmsg = toggle_text(\"Foobar state\", true, \"foobar_enable\", \"foobar_disable\")",
    "flags": "",
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 29,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 1,
    "source_unit": "https://l10n.opensuse.org/api/units/12639991/?format=api",
    "priority": 100,
    "id": 11823539,
    "web_url": "https://l10n.opensuse.org/translate/yast-installation/master/ar/?checksum=43b620104445efaa",
    "url": "https://l10n.opensuse.org/api/units/11823539/?format=api",
    "explanation": "",
    "extra_flags": ""
}