Units API.

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

GET /api/units/31292/?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": [
        "/*\n * Launch user task.\n */\n\t\tmovb $SEL_TSS,%cl\t\t# Set task\n\t\tltr %cx\t\t\t\t#  register\n\t\tmovl $0xa000,%edx\t\t# User base address\n\t\tmovzwl %ss:BDA_MEM,%eax\t\t# Get free memory\n\t\tshll $0xa,%eax\t\t\t# To bytes\n\t\tsubl $ARGSPACE,%eax\t\t# Less arg space\n\t\tsubl %edx,%eax\t\t\t# Less base\n\t\tmovb $SEL_UDATA,%cl\t\t# User data selector\n\t\tpushl %ecx\t\t\t# Set SS\n\t\tpushl %eax\t\t\t# Set ESP\n\t\tpush $0x202\t\t\t# Set flags (IF set)\n\t\tpush $SEL_UCODE\t\t\t# Set CS\n\t\tpushl btx_hdr+0xc\t\t# Set EIP\n\t\tpushl %ecx\t\t\t# Set GS\n\t\tpushl %ecx\t\t\t# Set FS\n\t\tpushl %ecx\t\t\t# Set DS\n\t\tpushl %ecx\t\t\t# Set ES\n\t\tpushl %edx\t\t\t# Set EAX\n\t\tmovb $0x7,%cl\t\t\t# Set remaining\ninit.9:\t\tpush $0x0\t\t\t#  general\n\t\tloop init.9\t\t\t#  registers\n\t\tpopa\t\t\t\t#  and initialize\n\t\tpopl %es\t\t\t# Initialize\n\t\tpopl %ds\t\t\t#  user\n\t\tpopl %fs\t\t\t#  segment\n\t\tpopl %gs\t\t\t#  registers\n\t\tiret\t\t\t\t# To user mode"
    ],
    "previous_source": "",
    "target": [
        "/*\n * Launch user task.\n */\n\t\tmovb $SEL_TSS,%cl\t\t# Set task\n\t\tltr %cx\t\t\t\t#  register\n\t\tmovl $0xa000,%edx\t\t# User base address\n\t\tmovzwl %ss:BDA_MEM,%eax\t\t# Get free memory\n\t\tshll $0xa,%eax\t\t\t# To bytes\n\t\tsubl $ARGSPACE,%eax\t\t# Less arg space\n\t\tsubl %edx,%eax\t\t\t# Less base\n\t\tmovb $SEL_UDATA,%cl\t\t# User data selector\n\t\tpushl %ecx\t\t\t# Set SS\n\t\tpushl %eax\t\t\t# Set ESP\n\t\tpush $0x202\t\t\t# Set flags (IF set)\n\t\tpush $SEL_UCODE\t\t\t# Set CS\n\t\tpushl btx_hdr+0xc\t\t# Set EIP\n\t\tpushl %ecx\t\t\t# Set GS\n\t\tpushl %ecx\t\t\t# Set FS\n\t\tpushl %ecx\t\t\t# Set DS\n\t\tpushl %ecx\t\t\t# Set ES\n\t\tpushl %edx\t\t\t# Set EAX\n\t\tmovb $0x7,%cl\t\t\t# Set remaining\ninit.9:\t\tpush $0x0\t\t\t#  general\n\t\tloop init.9\t\t\t#  registers\n\t\tpopa\t\t\t\t#  and initialize\n\t\tpopl %es\t\t\t# Initialize\n\t\tpopl %ds\t\t\t#  user\n\t\tpopl %fs\t\t\t#  segment\n\t\tpopl %gs\t\t\t#  registers\n\t\tiret\t\t\t\t# To user mode"
    ],
    "id_hash": 1368442191278842409,
    "content_hash": 1368442191278842409,
    "location": "book.translate.xml:1913",
    "context": "",
    "note": "(itstool) path: figure/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 195,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 140,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102338/?format=api",
    "priority": 100,
    "id": 31292,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=92fdaeec32d52229",
    "url": "https://translate-dev.freebsd.org/api/units/31292/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:44.019805Z"
}