Units API.

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

GET /api/units/1055416/?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/documentation/booksarch-handbookscsi_index/en/?format=api",
    "source": [
        "    if (size_mb > 1024 && extended) {\n        ccg->heads = 255;\n        ccg->secs_per_track = 63;\n    } else {\n        ccg->heads = 64;\n        ccg->secs_per_track = 32;\n    }\n    secs_per_cylinder = ccg->heads * ccg->secs_per_track;\n    ccg->cylinders = ccg->volume_size / secs_per_cylinder;\n    ccb->ccb_h.status = CAM_REQ_CMP;\n    xpt_done(ccb);\n    return;\n"
    ],
    "previous_source": "",
    "target": [
        "    if (size_mb > 1024 && extended) {\n        ccg->heads = 255;\n        ccg->secs_per_track = 63;\n    } else {\n        ccg->heads = 64;\n        ccg->secs_per_track = 32;\n    }\n    secs_per_cylinder = ccg->heads * ccg->secs_per_track;\n    ccg->cylinders = ccg->volume_size / secs_per_cylinder;\n    ccb->ccb_h.status = CAM_REQ_CMP;\n    xpt_done(ccb);\n    return;\n"
    ],
    "id_hash": -9028943149381993541,
    "content_hash": -9028943149381993541,
    "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:957",
    "context": "",
    "note": "type: delimited block . 4",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 227,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 38,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1055416/?format=api",
    "priority": 100,
    "id": 1055416,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/en/?checksum=02b2c00b03e3bbbb",
    "url": "https://translate-dev.freebsd.org/api/units/1055416/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T12:37:36.079675Z"
}