Units API.

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

GET /api/units/123376/?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/en/?format=api",
    "source": [
        "To determine which hash algorithm is used to encrypt a user's password, the superuser can view the hash for the user in the FreeBSD password database. Each hash starts with a symbol which indicates the type of hash mechanism used to encrypt the password. If <acronym>DES</acronym> is used, there is no beginning symbol. For <acronym>MD5</acronym>, the symbol is <literal>$</literal>. For <acronym>SHA256</acronym> and <acronym>SHA512</acronym>, the symbol is <literal>$6$</literal>. For Blowfish, the symbol is <literal>$2a$</literal>. In this example, the password for <systemitem class=\"username\">dru</systemitem> is hashed using the default <acronym>SHA512</acronym> algorithm as the hash starts with <literal>$6$</literal>. Note that the encrypted hash, not the password itself, is stored in the password database:"
    ],
    "previous_source": "",
    "target": [
        "To determine which hash algorithm is used to encrypt a user's password, the superuser can view the hash for the user in the FreeBSD password database. Each hash starts with a symbol which indicates the type of hash mechanism used to encrypt the password. If <acronym>DES</acronym> is used, there is no beginning symbol. For <acronym>MD5</acronym>, the symbol is <literal>$</literal>. For <acronym>SHA256</acronym> and <acronym>SHA512</acronym>, the symbol is <literal>$6$</literal>. For Blowfish, the symbol is <literal>$2a$</literal>. In this example, the password for <systemitem class=\"username\">dru</systemitem> is hashed using the default <acronym>SHA512</acronym> algorithm as the hash starts with <literal>$6$</literal>. Note that the encrypted hash, not the password itself, is stored in the password database:"
    ],
    "id_hash": -417268762806058051,
    "content_hash": -417268762806058051,
    "location": "book.translate.xml:25954",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 4229,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 109,
    "source_unit": "https://translate-dev.freebsd.org/api/units/123376/?format=api",
    "priority": 100,
    "id": 123376,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/en/?checksum=7a359045611403bd",
    "url": "https://translate-dev.freebsd.org/api/units/123376/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:29:23.450807Z"
}