Units API.

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

GET /api/units/31227/?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": [
        "\tmov $0x1,%cx\t\t # Two passes\nmain.1:\n\tmov $0x8dbe,%si # Partition table\n\tmovb $0x1,%dh\t\t # Partition\nmain.2:\n\tcmpb $0xa5,0x4(%si)\t # Our partition type?\n\tjne main.3\t\t # No\n\tjcxz main.5\t\t # If second pass\n\ttestb $0x80,(%si)\t # Active?\n\tjnz main.5\t\t # Yes\nmain.3:\n\tadd $0x10,%si\t\t # Next entry\n\tincb %dh\t\t # Partition\n\tcmpb $0x5,%dh\t\t # In table?\n\tjb main.2\t\t # Yes\n\tdec %cx\t\t\t # Do two\n\tjcxz main.1\t\t #  passes"
    ],
    "previous_source": "",
    "target": [
        "\tmov $0x1,%cx\t\t # Two passes\nmain.1:\n\tmov $0x8dbe,%si # Partition table\n\tmovb $0x1,%dh\t\t # Partition\nmain.2:\n\tcmpb $0xa5,0x4(%si)\t # Our partition type?\n\tjne main.3\t\t # No\n\tjcxz main.5\t\t # If second pass\n\ttestb $0x80,(%si)\t # Active?\n\tjnz main.5\t\t # Yes\nmain.3:\n\tadd $0x10,%si\t\t # Next entry\n\tincb %dh\t\t # Partition\n\tcmpb $0x5,%dh\t\t # In table?\n\tjb main.2\t\t # Yes\n\tdec %cx\t\t\t # Do two\n\tjcxz main.1\t\t #  passes"
    ],
    "id_hash": -3022798808838760924,
    "content_hash": -3022798808838760924,
    "location": "book.translate.xml:1182",
    "context": "",
    "note": "(itstool) path: figure/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 130,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 68,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102276/?format=api",
    "priority": 100,
    "id": 31227,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=560cdc7fb3b11624",
    "url": "https://translate-dev.freebsd.org/api/units/31227/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:43.179672Z"
}