Units API.

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

GET /api/units/26334/?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": [
        "As stated previously there are two implementations of threading in FreeBSD. The M:N library divides the work between kernel space and userspace. Thread is an entity that gets scheduled in the kernel but it can represent various number of userspace threads. M userspace threads get mapped to N kernel threads thus saving resources while keeping the ability to exploit multiprocessor parallelism. Further information about the implementation can be obtained from the man page or [1]. The 1:1 library directly maps a userland thread to a kernel thread thus greatly simplifying the scheme. None of these designs implement a fairness mechanism (such a mechanism was implemented but it was removed recently because it caused serious slowdown and made the code more difficult to deal with)."
    ],
    "previous_source": "",
    "target": [
        "Como se indicó anteriormente, hay dos implementaciones de subprocesamiento en FreeBSD. La biblioteca M: N divide el trabajo entre el espacio del kernel y el espacio de usuario. Thread es una entidad que se programa en el kernel, pero puede representar varios subprocesos del espacio de usuario. Los subprocesos del espacio de usuario M se asignan a los subprocesos del núcleo N, lo que ahorra recursos y mantiene la capacidad de explotar el paralelismo de multiprocesador. Se puede obtener más información sobre la implementación en la página del manual o en [1]. La biblioteca 1: 1 mapea directamente un subproceso de usuario a un subproceso del kernel, lo que simplifica enormemente el esquema. Ninguno de estos diseños implementa un mecanismo de equidad (se implementó un mecanismo de este tipo, pero se eliminó recientemente porque causaba una grave desaceleración y hacía que el código fuera más difícil de manejar)."
    ],
    "id_hash": 5812024013670723783,
    "content_hash": 5812024013670723783,
    "location": "article.translate.xml:434",
    "context": "",
    "note": "(itstool) path: sect4/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 69,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 124,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99466/?format=api",
    "priority": 100,
    "id": 26334,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=d0a8750c08e230c7",
    "url": "https://translate-dev.freebsd.org/api/units/26334/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:10:38.844416Z"
}