Units API.

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

GET /api/units/69460/?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_handbook/pt_BR/?format=api",
    "source": [
        "This configuration file contains one line per action, where the syntax for each line is a selector field followed by an action field. The syntax of the selector field is <replaceable>facility.level</replaceable> which will match log messages from <replaceable>facility</replaceable> at level <replaceable>level</replaceable> or higher. It is also possible to add an optional comparison flag before the level to specify more precisely what is logged. Multiple selector fields can be used for the same action, and are separated with a semicolon (<literal>;</literal>). Using <literal>*</literal> will match everything. The action field denotes where to send the log message, such as to a file or remote log host. As an example, here is the default <filename>syslog.conf</filename> from FreeBSD:"
    ],
    "previous_source": "",
    "target": [
        "Este arquivo de configuração contém uma linha por ação, em que a sintaxe de cada linha é um campo seletor seguido por um campo de ação. A sintaxe do campo seletor é <replaceable>facility.level</replaceable>, que corresponderá às mensagens de log de <replaceable>facility</replaceable> no nível <replaceable>level</replaceable> ou superior. Também é possível adicionar um sinalizador de comparação opcional antes do nível para especificar mais precisamente o que está registrado. Vários campos seletores podem ser usados para a mesma ação e são separados por um ponto-e-vírgula (<literal>;</literal>). Usar <literal>*</literal> irá corresponder a tudo. O campo de ação indica para onde enviar a mensagem de log, como para um arquivo ou host de log remoto. Por exemplo, aqui está o <filename>syslog.conf</filename> padrão do FreeBSD:"
    ],
    "id_hash": 4560255542645804248,
    "content_hash": 4560255542645804248,
    "location": "book.translate.xml:22633",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3706,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 114,
    "source_unit": "https://translate-dev.freebsd.org/api/units/122845/?format=api",
    "priority": 100,
    "id": 69460,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/pt_BR/?checksum=bf4948413868ccd8",
    "url": "https://translate-dev.freebsd.org/api/units/69460/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:29:15.606224Z"
}