Units API.

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

GET /api/units/34095/?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/zh_CN/?format=api",
    "source": [
        "First, a call is made to <literal>setpic</literal> to program the 8259A <acronym>PIC</acronym> (Programmable Interrupt Controller). This chip is connected to multiple hardware interrupt sources. Upon receiving an interrupt from a device, it signals the processor with the appropriate interrupt vector. This can be customized so that specific interrupts are associated with specific interrupt vectors, as explained before. Next, the <acronym>IDTR</acronym> (Interrupt Descriptor Table Register) and <acronym>GDTR</acronym> (Global Descriptor Table Register) are loaded with the instructions <literal>lidt</literal> and <literal>lgdt</literal>, respectively. These registers are loaded with the base address and limit address for the <acronym>IDT</acronym> and <acronym>GDT</acronym>. The following three instructions set the Protection Enable (PE) bit of the <literal>%cr0</literal> register. This effectively switches the processor to 32-bit protected mode. Next, a long jump is made to <literal>init.8</literal> using segment selector SEL_SCODE, which selects the Supervisor Code Segment. The processor is effectively executing in CPL 0, the most privileged level, after this jump. Finally, the Supervisor Data Segment is selected for the stack by assigning the segment selector SEL_SDATA to the <literal>%ss</literal> register. This data segment also has a privilege level of <literal>0</literal>."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -9219325870920758886,
    "content_hash": -9219325870920758886,
    "location": "book.translate.xml:1879",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 193,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 181,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102336/?format=api",
    "priority": 100,
    "id": 34095,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/zh_CN/?checksum=000e5ff76b33099a",
    "url": "https://translate-dev.freebsd.org/api/units/34095/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:43.997534Z"
}