Units API.

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

GET /api/units/207273/?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_rc-scripting/es/?format=api",
    "source": [
        "The daemon will be started by running <envar>$command</envar> with command-line flags specified by <envar>$mumbled_flags</envar>. Thus all the input data for the default <option>start</option> method are available in the variables set by our script. Unlike <option>start</option>, other methods may require additional information about the process started. For instance, <option>stop</option> must know the PID of the process to terminate it. In the present case, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry> will scan through the list of all processes, looking for a process with its name equal to <envar>$procname</envar>. The latter is another variable of meaning to <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry>, and its value defaults to that of <envar>command</envar>. In other words, when we set <envar>command</envar>, <envar>procname</envar> is effectively set to the same value. This enables our script to kill the daemon and to check if it is running in the first place."
    ],
    "previous_source": "",
    "target": [
        "El demonio se iniciará ejecutando <envar>$command</envar> con banderas de línea de comandos especificadas por<envar>$mumbled_flags</envar>.Por tanto, todos los datos de entrada para el <option>start</option> están disponibles en las variables establecidas por nuestro script. diferente a <option>start</option>, otros métodos pueden requerir información adicional sobre el proceso iniciado. Por ejemplo, <option>parar</option> Debe conocer el PID del proceso para finalizarlo. En el caso presente, <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry>examinará la lista de todos los procesos, buscando un proceso con su nombre igual a<envar>$procname</envar>. Este último es otra variable de significado para <citerefentry><refentrytitle>rc.subr</refentrytitle><manvolnum>8</manvolnum></citerefentry>, y su valor predeterminado es el de <envar>command</envar>. En otras palabras, cuando establecemos <envar>comando</envar>, <envar>procname</envar> se establece efectivamente en el mismo valor. Esto permite que nuestro script elimine el demonio y verifique si se está ejecutando en primer lugar."
    ],
    "id_hash": -4217034928677537733,
    "content_hash": -4217034928677537733,
    "location": "article.translate.xml:548",
    "context": "",
    "note": "(itstool) path: callout/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 68,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 132,
    "source_unit": "https://translate-dev.freebsd.org/api/units/100924/?format=api",
    "priority": 100,
    "id": 207273,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_rc-scripting/es/?checksum=457a15133ec2b83b",
    "url": "https://translate-dev.freebsd.org/api/units/207273/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-11-14T21:36:40.052009Z"
}