Units API.

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

GET /api/units/26342/?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": [
        "Syscalls in <trademark class=\"registered\">Linux</trademark> are performed (in userspace) using <literal>syscallX</literal> macros where X substitutes a number representing the number of parameters of the given syscall. This macro translates to a code that loads <varname>%eax</varname> register with a number of the syscall and executes interrupt <literal>0x80</literal>. After this syscall return is called, which translates negative return values to positive <literal>errno</literal> values and sets <literal>res</literal> to <literal>-1</literal> in case of an error. Whenever the interrupt <literal>0x80</literal> is called the process enters the kernel in system call trap handler. This routine saves all registers on the stack and calls the selected syscall entry. Note that the <trademark class=\"registered\">Linux</trademark> calling convention expects parameters to the syscall to be passed via registers as shown here:"
    ],
    "previous_source": "",
    "target": [
        "Syscalls en <trademark class=\"registered\">Linux</trademark> se realizan (en el espacio de usuario) usando <literal>syscallX</literal> macros donde X sustituye a un número que representa el número de parámetros de la llamada al sistema dada. Esta macro se traduce en un código que se carga <varname>%eax</varname> registrarse con un número de syscall y ejecutar interrumpir <literal>0x80</literal>. Después de que se llame a este retorno de llamada al sistema, que traduce los valores de retorno negativos en positivos<literal>errno</literal> valores y conjuntos <literal>res</literal> a <literal>-1</literal> en caso de un error. Siempre que la interrupción <literal>0x80</literal>se llama el proceso ingresa al kernel en el controlador de trampas de llamadas del sistema. Esta rutina guarda todos los registros en la pila y llama a la entrada de llamada al sistema seleccionada. Tenga en cuenta que el <trademark class=\"registered\">Linux</trademark> la convención de llamada espera que los parámetros a la llamada al sistema se pasen a través de registros como se muestra aquí:"
    ],
    "id_hash": 8708711642775917643,
    "content_hash": 8708711642775917643,
    "location": "article.translate.xml:504",
    "context": "",
    "note": "(itstool) path: sect4/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 77,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 120,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99474/?format=api",
    "priority": 100,
    "id": 26342,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=f8db8f192ef7944b",
    "url": "https://translate-dev.freebsd.org/api/units/26342/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:10:38.925972Z"
}