Units API.

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

GET /api/units/71023/?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": [
        "<varname>security.mac.portacl.rules</varname> specifies the policy as a text string of the form <literal>rule[,rule,...]</literal>, with as many rules as needed, and where each rule is of the form <literal>idtype:id:protocol:port</literal>. The <parameter>idtype</parameter> is either <literal>uid</literal> or <literal>gid</literal>. The <parameter>protocol</parameter> parameter can be <literal>tcp</literal> or <literal>udp</literal>. The <parameter>port</parameter> parameter is the port number to allow the specified user or group to bind to. Only numeric values can be used for the user ID, group ID, and port parameters."
    ],
    "previous_source": "",
    "target": [
        "A <varname>security.mac.portacl.rules</varname> especifica a política como uma cadeia de texto no formato <literal>rule [, rule, ...]</literal>, com tantas regras quantas forem necessárias, e onde cada regra esta na forma <literal>idtype:id:protocol:port</literal>. O <parameter>idtype</parameter> é <literal>uid</literal> ou <literal>gid</literal>. O parâmetro <parameter>protocol</parameter> pode ser <literal>tcp</literal> ou <literal>udp</literal>. O parâmetro <parameter>port</parameter> é o número da porta para permitir que o usuário ou grupo especificado se vincule. Somente valores numéricos podem ser usados para os parâmetros ID do usuário, ID do grupo e porta."
    ],
    "id_hash": 9212569643165193022,
    "content_hash": 9212569643165193022,
    "location": "book.translate.xml:32381",
    "context": "",
    "note": "(itstool) path: listitem/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 5280,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 74,
    "source_unit": "https://translate-dev.freebsd.org/api/units/124405/?format=api",
    "priority": 100,
    "id": 71023,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/pt_BR/?checksum=ffd99f47b968933e",
    "url": "https://translate-dev.freebsd.org/api/units/71023/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:29:38.237331Z"
}