Units API.

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

GET /api/units/15701798/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate.fedoraproject.org/api/translations/sssd/sssd-manpage-master/zh_CN/?format=api",
    "source": [
        "[sssd]\ndomains = LDAP\nservices = nss, pam\n\n[nss]\nfilter_groups = root\nfilter_users = root\n\n[pam]\n\n[domain/LDAP]\nid_provider = ldap\nldap_uri = ldap://ldap.example.com\nldap_search_base = dc=example,dc=com\n\nauth_provider = krb5\nkrb5_server = kerberos.example.com\nkrb5_realm = EXAMPLE.COM\ncache_credentials = true\n\nmin_id = 10000\nmax_id = 20000\nenumerate = False\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -1208273642035576608,
    "content_hash": -1208273642035576608,
    "location": "sssd.conf.5.xml:4620",
    "context": "",
    "note": "type: Content of: <reference><refentry><refsect1><para><programlisting>",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 814,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 47,
    "source_unit": "https://translate.fedoraproject.org/api/units/15701636/?format=api",
    "priority": 100,
    "id": 15701798,
    "web_url": "https://translate.fedoraproject.org/translate/sssd/sssd-manpage-master/zh_CN/?checksum=6f3b5986370080e0",
    "url": "https://translate.fedoraproject.org/api/units/15701798/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-12-01T08:06:40.853780Z",
    "last_updated": "2024-10-24T07:08:50.531219Z"
}