Units API.

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

GET /api/units/31298/?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/boooks_arch-handbook/pt_BR/?format=api",
    "source": [
        "<literal>boot2</literal> enters into an infinite loop waiting for user input, then calls <function>load()</function>. If the user does not press anything, the loop breaks by a timeout, so <function>load()</function> will load the default file (<filename>/boot/loader</filename>). Functions <function>ino_t lookup(char *filename)</function> and <function>int xfsread(ino_t inode, void *buf, size_t nbyte)</function> are used to read the content of a file into memory. <filename>/boot/loader</filename> is an <acronym>ELF</acronym> binary, but where the <acronym>ELF</acronym> header is prepended with <filename>a.out</filename>'s <literal>struct exec</literal> structure. <function>load()</function> scans the loader's ELF header, loading the content of <filename>/boot/loader</filename> into memory, and passing the execution to the loader's entry:"
    ],
    "previous_source": "",
    "target": [
        " <literal> boot2 </literal> entra em um loop infinito esperando por entrada do usu�rio, ent�o chama <function> carga() </function> . Se o usu�rio n�o pressionar nada, o loop ser� interrompido por um tempo limite, <function> carga() </function> ir� carregar o arquivo padr�o ( <filename> / boot / loader </filename> ). Fun��es <function> pesquisa ino_t (char * filename) </function> e <function> int xfsread (inodo_t inode, void * buf, tamanho_t nbyte) </function> s�o usados ​​para ler o conte�do de um arquivo na mem�ria. <filename> / boot / loader </filename> � um bin�rio <acronym>ELF</acronym> , mas onde o cabe�alho <acronym>ELF</acronym> � prefixado com <filename> a.out </filename> ';s <literal> struct exec </literal> estrutura. <function> carga() </function> varre o cabe�alho ELF do carregador, carregando o conte�do do <filename> / boot / loader </filename> na mem�ria e passando a execu��o para a entrada do carregador: "
    ],
    "id_hash": -535595067217392689,
    "content_hash": -535595067217392689,
    "location": "book.translate.xml:2038",
    "context": "",
    "note": "(itstool) path: sect1/para",
    "flags": "",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 201,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 95,
    "source_unit": "https://translate-dev.freebsd.org/api/units/102344/?format=api",
    "priority": 100,
    "id": 31298,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=78912f1fc30e4bcf",
    "url": "https://translate-dev.freebsd.org/api/units/31298/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:21:44.090581Z"
}