Units API.

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

GET /api/units/1145347/?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-handbooksysinit_index/zh_CN/?format=api",
    "source": [
        "The `SYSINIT()` macro creates the necessary SYSINIT data in SYSINIT's startup data set for SYSINIT to sort and dispatch a function at system startup and module load. `SYSINIT()` takes a uniquifier that SYSINIT uses to identify the particular function dispatch data, the subsystem order, the subsystem element order, the function to call, and the data to pass the function. All functions must take a constant pointer argument."
    ],
    "previous_source": "",
    "target": [
        ">宏<literal>SYSINIT()</literal>在SYSINIT启动数据集合中建立一个SYSINIT数据项,以便SYSINIT在系统启动或模块加载时排序并执行其中的函数。<literal>SYSINIT()</literal>有一个参数uniquifier,SYSINIT用它来标识数据项,随后是子系统顺序号、子系统元素顺序号、待调用函数、传递给函数的数据。所有的函数必须有一个恒量指针参数。"
    ],
    "id_hash": -7614434637515932733,
    "content_hash": -7614434637515932733,
    "location": "documentation/content/en/books/arch-handbook/sysinit/_index.adoc:90",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 18,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 67,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1145092/?format=api",
    "priority": 100,
    "id": 1145347,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksysinit_index/zh_CN/?checksum=1654180a496ebbc3",
    "url": "https://translate-dev.freebsd.org/api/units/1145347/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:20:27.876991Z"
}