Units API.

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

GET /api/units/104981/?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_design-44bsd/en/?format=api",
    "source": [
        "A system call usually is implemented as a hardware trap that changes the CPU's execution mode and the current address-space mapping. Parameters supplied by users in system calls are validated by the kernel before being used. Such checking ensures the integrity of the system. All parameters passed into the kernel are copied into the kernel's address space, to ensure that validated parameters are not changed as a side effect of the system call. System-call results are returned by the kernel, either in hardware registers or by their values being copied to user-specified memory addresses. Like parameters passed into the kernel, addresses used for the return of results must be validated to ensure that they are part of an application's address space. If the kernel encounters an error while processing a system call, it returns an error code to the user. For the C programming language, this error code is stored in the global variable <emphasis>errno</emphasis>, and the function that executed the system call returns the value -1."
    ],
    "previous_source": "",
    "target": [
        "A system call usually is implemented as a hardware trap that changes the CPU's execution mode and the current address-space mapping. Parameters supplied by users in system calls are validated by the kernel before being used. Such checking ensures the integrity of the system. All parameters passed into the kernel are copied into the kernel's address space, to ensure that validated parameters are not changed as a side effect of the system call. System-call results are returned by the kernel, either in hardware registers or by their values being copied to user-specified memory addresses. Like parameters passed into the kernel, addresses used for the return of results must be validated to ensure that they are part of an application's address space. If the kernel encounters an error while processing a system call, it returns an error code to the user. For the C programming language, this error code is stored in the global variable <emphasis>errno</emphasis>, and the function that executed the system call returns the value -1."
    ],
    "id_hash": -5355500181652529573,
    "content_hash": -5355500181652529573,
    "location": "book.translate.xml:582",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 135,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 167,
    "source_unit": "https://translate-dev.freebsd.org/api/units/104981/?format=api",
    "priority": 100,
    "id": 104981,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_design-44bsd/en/?checksum=35ad70f59e0f9e5b",
    "url": "https://translate-dev.freebsd.org/api/units/104981/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:22:21.736948Z"
}