Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/pt_BR/?format=api",
    "source": [
        "The poll function is used to simulate the interrupts when the interrupt subsystem is not functioning (for example, when the system has crashed and is creating the system dump). The CAM subsystem sets the proper interrupt level before calling the poll routine. So all it needs to do is to call the interrupt routine (or the other way around, the poll routine may be doing the real action and the interrupt routine would just call the poll routine). Why bother about a separate function then? Due to different calling conventions. The <function>xxx_poll</function> routine gets the struct cam_sim pointer as its argument when the PCI interrupt routine by common convention gets pointer to the struct <varname remap=\"structname\">xxx_softc</varname> and the ISA interrupt routine gets just the device unit number. So the poll routine would normally look as:"
    ],
    "previous_source": "",
    "target": [
        "A fun��o de pesquisa � usada para simular as interrup��es quando o subsistema de interrup��o n�o est� funcionando (por exemplo, quando o sistema travou e est� criando o dump do sistema). O subsistema CAM define o n�vel de interrup��o adequado antes de chamar a rotina de pesquisa. ele precisa fazer � chamar a rotina de interrup��o (ou vice-versa, a rotina de poll pode estar fazendo a a��o real e a rotina de interrup��o apenas chamaria a rotina de poll) Por que se preocupar com uma fun��o separada ent�o? conven��es. <function> xxx_poll </function> rotina obt�m o ponteiro struct cam_sim como seu argumento quando a rotina de interrup��o PCI por conven��o comum obt�m ponteiro para a estrutura <varname remap=\"structname\"> xxx_softc </varname> e a rotina de interrup��o ISA obt�m apenas o n�mero da unidade do dispositivo. Ent�o a rotina de pesquisa normalmente seria como: "
    ],
    "id_hash": -3525007900071779886,
    "content_hash": -3525007900071779886,
    "location": "book.translate.xml:21089",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 2336,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 135,
    "source_unit": "https://translate-dev.freebsd.org/api/units/229398/?format=api",
    "priority": 100,
    "id": 229446,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=4f14a7fdbdc6a1d2",
    "url": "https://translate-dev.freebsd.org/api/units/229446/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-01-09T14:37:34.863841Z"
}