Units API.

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

GET /api/units/1134234/?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-handbooksmp_index/en/?format=api",
    "source": [
        "In order to minimize latency, preemptions inside of a critical section are deferred rather than dropped. If a thread that would normally be preempted to is made runnable while the current thread is in a critical section, then a per-thread flag is set to indicate that there is a pending preemption. When the outermost critical section is exited, the flag is checked. If the flag is set, then the current thread is preempted to allow the higher priority thread to run."
    ],
    "previous_source": "",
    "target": [
        "In order to minimize latency, preemptions inside of a critical section are deferred rather than dropped. If a thread that would normally be preempted to is made runnable while the current thread is in a critical section, then a per-thread flag is set to indicate that there is a pending preemption. When the outermost critical section is exited, the flag is checked. If the flag is set, then the current thread is preempted to allow the higher priority thread to run."
    ],
    "id_hash": 4614886110510490439,
    "content_hash": 4614886110510490439,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:121",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 37,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 81,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134234/?format=api",
    "priority": 100,
    "id": 1134234,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/en/?checksum=c00b5e777fdca347",
    "url": "https://translate-dev.freebsd.org/api/units/1134234/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:16:46.924117Z"
}