Units API.

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

GET /api/units/102302/?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": [
        "      boot2: boot2.ld\n\t@set -- `ls -l boot2.ld`; x=$$((7680-$$5)); \\\n\t    echo \"$$x bytes available\"; test $$x -ge 0\n\tdd if=boot2.ld of=boot2 obs=7680 conv=osync\n\n      boot2.ld: boot2.ldr boot2.bin ../btx/btx/btx\n\tbtxld -v -E 0x2000 -f bin -b ../btx/btx/btx -l boot2.ldr \\\n\t    -o boot2.ld -P 1 boot2.bin\n\n      boot2.ldr:\n\tdd if=/dev/zero of=boot2.ldr bs=512 count=1\n\n      boot2.bin: boot2.out\n\tobjcopy -S -O binary boot2.out boot2.bin\n\n      boot2.out: ../btx/lib/crt0.o boot2.o sio.o\n\tld -Ttext 0x2000 -o boot2.out\n\n      boot2.o: boot2.s\n\t${CC} ${ACFLAGS} -c boot2.s\n\n      boot2.s: boot2.c boot2.h ${.CURDIR}/../../common/ufsread.c\n\t${CC} ${CFLAGS} -S -o boot2.s.tmp ${.CURDIR}/boot2.c\n\tsed -e '/align/d' -e '/nop/d' \"MISSING\" boot2.s.tmp > boot2.s\n\trm -f boot2.s.tmp\n\n      boot2.h: boot1.out\n\t${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \\\n\t    { x = $$1 - ORG1; \\\n\t    printf(\"#define XREADORG %#x\\n\", REL1 + x) }' \\\n\t    ORG1=`printf \"%d\" ${ORG1}` \\\n\t    REL1=`printf \"%d\" ${REL1}` > ${.TARGET}"
    ],
    "previous_source": "",
    "target": [
        "      boot2: boot2.ld\n\t@set -- `ls -l boot2.ld`; x=$$((7680-$$5)); \\\n\t    echo \"$$x bytes available\"; test $$x -ge 0\n\tdd if=boot2.ld of=boot2 obs=7680 conv=osync\n\n      boot2.ld: boot2.ldr boot2.bin ../btx/btx/btx\n\tbtxld -v -E 0x2000 -f bin -b ../btx/btx/btx -l boot2.ldr \\\n\t    -o boot2.ld -P 1 boot2.bin\n\n      boot2.ldr:\n\tdd if=/dev/zero of=boot2.ldr bs=512 count=1\n\n      boot2.bin: boot2.out\n\tobjcopy -S -O binary boot2.out boot2.bin\n\n      boot2.out: ../btx/lib/crt0.o boot2.o sio.o\n\tld -Ttext 0x2000 -o boot2.out\n\n      boot2.o: boot2.s\n\t${CC} ${ACFLAGS} -c boot2.s\n\n      boot2.s: boot2.c boot2.h ${.CURDIR}/../../common/ufsread.c\n\t${CC} ${CFLAGS} -S -o boot2.s.tmp ${.CURDIR}/boot2.c\n\tsed -e '/align/d' -e '/nop/d' \"MISSING\" boot2.s.tmp > boot2.s\n\trm -f boot2.s.tmp\n\n      boot2.h: boot1.out\n\t${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \\\n\t    { x = $$1 - ORG1; \\\n\t    printf(\"#define XREADORG %#x\\n\", REL1 + x) }' \\\n\t    ORG1=`printf \"%d\" ${ORG1}` \\\n\t    REL1=`printf \"%d\" ${REL1}` > ${.TARGET}"
    ],
    "id_hash": 8633688708039404565,
    "content_hash": 8633688708039404565,
    "location": "book.translate.xml:1439",
    "context": "",
    "note": "(itstool) path: figure/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 156,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 129,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102302/?format=api",
    "priority": 100,
    "id": 102302,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/en/?checksum=f7d10622fffd6c15",
    "url": "https://translate-dev.freebsd.org/api/units/102302/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:43.486033Z"
}