Units API.

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

GET /api/units/102329/?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/en/?format=api",
    "source": [
        "/*\n * Create IDT.\n */\n\t\tmov $0x5e00,%di\t\t\t# IDT's address\n\t\tmov $idtctl,%si\t\t\t# Control string\ninit.1:\t\tlodsb\t\t\t\t# Get entry\n\t\tcbw\t\t\t\t#  count\n\t\txchg %ax,%cx\t\t\t#  as word\n\t\tjcxz init.4\t\t\t# If done\n\t\tlodsb\t\t\t\t# Get segment\n\t\txchg %ax,%dx\t\t\t#  P:DPL:type\n\t\tlodsw\t\t\t\t# Get control\n\t\txchg %ax,%bx\t\t\t#  set\n\t\tlodsw\t\t\t\t# Get handler offset\n\t\tmov $SEL_SCODE,%dh\t\t# Segment selector\ninit.2:\t\tshr %bx\t\t\t\t# Handle this int?\n\t\tjnc init.3\t\t\t# No\n\t\tmov %ax,(%di)\t\t\t# Set handler offset\n\t\tmov %dh,0x2(%di)\t\t#  and selector\n\t\tmov %dl,0x5(%di)\t\t# Set P:DPL:type\n\t\tadd $0x4,%ax\t\t\t# Next handler\ninit.3:\t\tlea 0x8(%di),%di\t\t# Next entry\n\t\tloop init.2\t\t\t# Till set done\n\t\tjmp init.1\t\t\t# Continue"
    ],
    "previous_source": "",
    "target": [
        "/*\n * Create IDT.\n */\n\t\tmov $0x5e00,%di\t\t\t# IDT's address\n\t\tmov $idtctl,%si\t\t\t# Control string\ninit.1:\t\tlodsb\t\t\t\t# Get entry\n\t\tcbw\t\t\t\t#  count\n\t\txchg %ax,%cx\t\t\t#  as word\n\t\tjcxz init.4\t\t\t# If done\n\t\tlodsb\t\t\t\t# Get segment\n\t\txchg %ax,%dx\t\t\t#  P:DPL:type\n\t\tlodsw\t\t\t\t# Get control\n\t\txchg %ax,%bx\t\t\t#  set\n\t\tlodsw\t\t\t\t# Get handler offset\n\t\tmov $SEL_SCODE,%dh\t\t# Segment selector\ninit.2:\t\tshr %bx\t\t\t\t# Handle this int?\n\t\tjnc init.3\t\t\t# No\n\t\tmov %ax,(%di)\t\t\t# Set handler offset\n\t\tmov %dh,0x2(%di)\t\t#  and selector\n\t\tmov %dl,0x5(%di)\t\t# Set P:DPL:type\n\t\tadd $0x4,%ax\t\t\t# Next handler\ninit.3:\t\tlea 0x8(%di),%di\t\t# Next entry\n\t\tloop init.2\t\t\t# Till set done\n\t\tjmp init.1\t\t\t# Continue"
    ],
    "id_hash": 1300439549934066630,
    "content_hash": 1300439549934066630,
    "location": "book.translate.xml:1765",
    "context": "",
    "note": "(itstool) path: figure/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 186,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 107,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102329/?format=api",
    "priority": 100,
    "id": 102329,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/en/?checksum=920c16e171b05bc6",
    "url": "https://translate-dev.freebsd.org/api/units/102329/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:43.901539Z"
}