Units API.

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

GET /api/units/2072286/?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/af/?format=api",
    "source": [
        "Cannot configure local printers (no local cupsd accessible)."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 6253215582301122900,
    "content_hash": 6253215582301122900,
    "location": "src/clients/printer_proposal.rb:195",
    "context": "",
    "note": "Skip automated queue setup when the cupsd is not accessible up to now.\nA special case is when the cupsd does not listen on the official IANA IPP port (631).\nThen Printerlib::GetAndSetCupsdStatus(\"\") returns false because it calls\n\"lpstat -h localhost -r\" which fails (\"-h localhost:port\" would have to be used).\nThe YaST printer module does not support when the cupsd listens on a non-official port\nso that also in this special case no automated queue setup is done.",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 13,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 8,
    "source_unit": "https://l10n.opensuse.org/api/units/12579849/?format=api",
    "priority": 100,
    "id": 2072286,
    "web_url": "https://l10n.opensuse.org/translate/yast-printer/master/af/?checksum=d6c7e270eefef154",
    "url": "https://l10n.opensuse.org/api/units/2072286/?format=api",
    "explanation": "",
    "extra_flags": ""
}