Units API.

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

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

{
    "translation": "https://translations.documentfoundation.org/api/translations/libo_help-7-6/textsbasicpython/ca/?format=api",
    "source": [
        "Next to <link href=\"text/sbasic/shared/01040000.xhp\">assigning macros to events</link> or <link href=\"text/sbasic/basic/python/python_listener\">creating event listeners</link>, one can use dialog handlers, whose principle is to define UNO keywords, or methods, that are mapped to events to watch for. The event handler is responsible for executing methods using the <literal>vnd.sun.star.UNO:<method_name></literal> protocol. Unlike listeners that require to define all supported methods, even if unused, dialog handlers require only two methods on top of intended control hook scripts."
    ],
    "previous_source": "",
    "target": [
        "Al costat d'<link href=\"text/sbasic/shared/01040000.xhp\">assignar macros a esdeveniments</link> o <link href=\"text/sbasic/basic/python/python_listener\">crear oients d'esdeveniments</link>, es poden utilitzar gestors de diàlegs, el principi dels quals és definir paraules clau UNO, o mètodes, que s'assignen als esdeveniments a seguir. El gestor d'esdeveniments és responsable d'executar els mètodes mitjançant el protocol <literal>vnd.sun.star.UNO:<method_name></literal>. A diferència dels oients que necessiten definir tots els mètodes que suporta, fins i tot si no s’utilitzen, els gestors de diàlegs només requereixen dos mètodes a més dels scripts dels punts d'inserció esperats."
    ],
    "id_hash": -247338857774605108,
    "content_hash": -247338857774605108,
    "location": "python_handler.xhp",
    "context": "python_handler.xhp\nN0666\nhelp.text",
    "note": "ykPkA",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 140,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 71,
    "source_unit": "https://translations.documentfoundation.org/api/units/98386225/?format=api",
    "priority": 100,
    "id": 98429354,
    "web_url": "https://translations.documentfoundation.org/translate/libo_help-7-6/textsbasicpython/ca/?checksum=7c91469e8b319ccc",
    "url": "https://translations.documentfoundation.org/api/units/98429354/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-09-11T22:24:34.265554Z"
}