Units API.

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

GET /api/units/26545/?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": [
        "There are two main ways of setting up TLS in <trademark class=\"registered\">Linux</trademark>. It can be set when cloning a process using the <function>clone</function> syscall or it can call <function>set_thread_area</function>. When a process passes <literal>CLONE_SETTLS</literal> flag to <function>clone</function>, the kernel expects the memory pointed to by the <varname>%esi</varname> register a <trademark class=\"registered\">Linux</trademark> user space representation of a segment, which gets translated to the machine representation of a segment and loaded into a GDT slot. The GDT slot can be specified with a number or -1 can be used meaning that the system itself should choose the first free slot. In practice, the vast majority of programs use only one TLS entry and does not care about the number of the entry. We exploit this in the emulation and in fact depend on it."
    ],
    "previous_source": "",
    "target": [
        "Hay dos formas principales de configurar TLS en <trademark class=\"registered\">Linux</trademark>. se puede configurar al clonar un proceso usando el <function>clone</function> syscall o puede llamar <function>set_thread_area</function>. Cuando pasa un proceso <literal>CLONE_SETTLS</literal>bandera a <function>clonar</function>, el kernel espera la memoria apuntada por el <varname>%esi</varname> registrar un<trademark class=\"registered\">Linux</trademark> representación en el espacio de usuario de un segmento, que se traduce a la representación de máquina de un segmento y se carga en una ranura GDT. La ranura GDT se puede especificar con un número o se puede usar -1, lo que significa que el sistema debe elegir la primera ranura libre. En la práctica, la gran mayoría de los programas utilizan solo una entrada TLS y no se preocupa por el número de la entrada. Aprovechamos esto en la emulación y de hecho dependemos de ello."
    ],
    "id_hash": -8338122589942560075,
    "content_hash": -8338122589942560075,
    "location": "article.translate.xml:1895",
    "context": "",
    "note": "(itstool) path: sect3/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 280,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 132,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99677/?format=api",
    "priority": 100,
    "id": 26545,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=0c4909ae84d04ab5",
    "url": "https://translate-dev.freebsd.org/api/units/26545/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:10:41.185557Z"
}