Units API.

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

GET /api/units/26123/?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_ldap-auth/pt_BR/?format=api",
    "source": [
        "auth            required        pam_nologin.so          no_warn\nauth            sufficient      pam_opie.so             no_warn no_fake_prompts\nauth            requisite       pam_opieaccess.so       no_warn allow_local\nauth            sufficient      /usr/local/lib/pam_ldap.so      no_warn\nauth            required        pam_unix.so             no_warn try_first_pass\n\naccount         required        pam_login_access.so\naccount         required        /usr/local/lib/pam_ldap.so      no_warn ignore_authinfo_unavail ignore_unknown_user"
    ],
    "previous_source": "",
    "target": [
        "auth            required        pam_nologin.so          no_warn\nauth            sufficient      pam_opie.so             no_warn no_fake_prompts\nauth            requisite       pam_opieaccess.so       no_warn allow_local\nauth            sufficient      /usr/local/lib/pam_ldap.so      no_warn\nauth            required        pam_unix.so             no_warn try_first_pass\n\naccount         required        pam_login_access.so\naccount         required        /usr/local/lib/pam_ldap.so      no_warn ignore_authinfo_unavail ignore_unknown_user"
    ],
    "id_hash": -5613629722064071647,
    "content_hash": -5613629722064071647,
    "location": "article.translate.xml:555",
    "context": "",
    "note": "(itstool) path: example/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 101,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 32,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99309/?format=api",
    "priority": 100,
    "id": 26123,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_ldap-auth/pt_BR/?checksum=3218618293cbd421",
    "url": "https://translate-dev.freebsd.org/api/units/26123/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:09:44.563978Z"
}