Units API.

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

GET /api/units/26436/?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/articles_linux-emulation/es/?format=api",
    "source": [
        "Another way to deal with preemption is the <function>sched_pin()</function> interface. If a piece of code is closed in the <function>sched_pin()</function> and <function>sched_unpin()</function> pair of functions it is guaranteed that the respective thread, even if it can be preempted, it will always be executed on the same CPU. Pinning is very effective in the particular case when we have to access at per-cpu datas and we assume other threads will not change those data. The latter condition will determine a critical section as a too strong condition for our code."
    ],
    "previous_source": "",
    "target": [
        "Otra forma de lidiar con la preferencia es <function>sched_pin()</function> interfaz. Si un fragmento de código está cerrado en el <function>sched_pin()</function> y <function>sched_unpin()</function> par de funciones, se garantiza que el subproceso respectivo, incluso si puede ser reemplazado, siempre se ejecutará en la misma CPU. La fijación es muy eficaz en el caso particular cuando tenemos que acceder a datos por CPU y asumimos que otros hilos no cambiarán esos datos. La última condición determinará una sección crítica como una condición demasiado fuerte para nuestro código."
    ],
    "id_hash": -4556342747781524752,
    "content_hash": -4556342747781524752,
    "location": "article.translate.xml:1087",
    "context": "",
    "note": "(itstool) path: sect4/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 171,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 89,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99569/?format=api",
    "priority": 100,
    "id": 26436,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=40c49e69538e12f0",
    "url": "https://translate-dev.freebsd.org/api/units/26436/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:10:39.917571Z"
}