Units API.

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

GET /api/units/31284/?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": [
        "Each entry in the <literal>IDT</literal> is 8 bytes long. Besides the segment/offset information, they also describe the segment type, privilege level, and whether the segment is present in memory or not. The construction is such that interrupt vectors from <literal>0</literal> to <literal>0xf</literal> (exceptions) are handled by function <literal>intx00</literal>; vector <literal>0x10</literal> (also an exception) is handled by <literal>intx10</literal>; hardware interrupts, which are later configured to start at interrupt vector <literal>0x20</literal> all the way to interrupt vector <literal>0x2f</literal>, are handled by function <literal>intx20</literal>. Lastly, interrupt vector <literal>0x30</literal>, which is used for system calls, is handled by <literal>intx30</literal>, and vectors <literal>0x31</literal> and <literal>0x32</literal> are handled by <literal>intx31</literal>. It must be noted that only descriptors for interrupt vectors <literal>0x30</literal>, <literal>0x31</literal> and <literal>0x32</literal> are given privilege level 3, the same privilege level as the <filename>boot2</filename> client, which means the client can execute a software-generated interrupt to this vectors through the <literal>int</literal> instruction without failing (this is the way <filename>boot2</filename> use the services provided by the <acronym>BTX</acronym> server). Also, note that <emphasis>only</emphasis> software-generated interrupts are protected from code executing in lesser privilege levels. Hardware-generated interrupts and processor-generated exceptions are <emphasis>always</emphasis> handled adequately, regardless of the actual privileges involved."
    ],
    "previous_source": "",
    "target": [
        "Cada entrada no <literal>IDT</literal> tem 8 bytes de comprimento. Além das informações de segmento/deslocamento, elas também descrevem o tipo de segmento, nível de privilégio e se o segmento está presente na memória ou não. A construção é tal que vetores de interrupção de <literal>0</literal> para <literal>0xf</literal> (exceções) são manipulados por função <literal>intx00</literal>; vetor <literal>0x10</literal> (também uma exceção) é manipulado por <literal>intx10</literal>; interrupções de hardware, que são configuradas posteriormente para iniciar no vetor de interrupção <literal>0x20</literal> de toda forma para o vetor interrupção <literal>0x2f</literal> , são manipulados pela função <literal>intx20</literal>. Por fim, vetor de interrupção <literal>0x30</literal>, que é usado para chamadas do sistema, é manipulado por <literal>intx30</literal> e vetores <literal>0x31</literal> e <literal>0x32</literal> são manipulados por <literal>intx31</literal>. Deve-se notar que apenas descritores para vetores de interrupção <literal>0x30</literal> , <literal>0x31</literal> e <literal>0x32</literal> recebem o nível de privilégio 3, o mesmo nível de privilégio que o cliente <filename>boot2</filename>, o que significa que o cliente pode executar uma interrupção gerada por software para esses vetores através da instrução <literal>int</literal> sem falhar (este é o modo como o <filename>boot2</filename> usa os serviços fornecidos pelo servidor <acronym>BTX</acronym>). Além disso, note que <emphasis>apenas</emphasis> interrupções geradas por software são protegidas do código sendo executado em níveis de privilégios menores. Interrupções geradas por hardware e exceções geradas pelo processador <emphasis>sempre</emphasis> são manuseado de forma adequada, independentemente dos privilégios reais envolvidos. "
    ],
    "id_hash": -1161115060019621191,
    "content_hash": -1161115060019621191,
    "location": "book.translate.xml:1791",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 187,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 192,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102330/?format=api",
    "priority": 100,
    "id": 31284,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=6fe2e401382c92b9",
    "url": "https://translate-dev.freebsd.org/api/units/31284/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:43.921854Z"
}