Units API.

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

GET /api/units/2127958/?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-printer/master/sq/?format=api",
    "source": [
        "Current Connection"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7886009274226219290,
    "content_hash": -7886009274226219290,
    "location": "src/include/printer/basicmodify.rb:298",
    "context": "",
    "note": "Usually the id in the connection items is the matching index number in the connections list.\nHere the id of the current connection is set to -1 because the uri of the current connection\nis derived from the queues list and this uri may be not present in the connections list\nfor example when the queue has a special non-autodetectable DeviceURI (e.g. for iPrint)\nor when the queue is for an USB printer which is currently not connected (e.g. a laptop user).\nTherefore -1 (which means \"invalid index number in the connections list\") is used to be safe\nand additionally -1 is used to distinguish when the current connection is kept\nor when the connection was modified (then the id would be > 0 and valid in the connections list).\nThe current_connection item is preselected because it is the first entry in the\ntable of connections via prepend():",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 69,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 2,
    "source_unit": "https://l10n.opensuse.org/api/units/12579905/?format=api",
    "priority": 100,
    "id": 2127958,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/sq/?checksum=128f4458d24f66e6",
    "url": "https://l10n.opensuse.org/api/units/2127958/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2016-09-16T12:15:53Z"
}