Units API.

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

GET /api/units/1572140/?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/documentation/booksarch-handbookmac_index/ko/?format=api",
    "source": [
        "Applications handle MAC labels in two forms: an internalized form used to return and set labels on processes and objects (`mac_t`), and externalized form based on C strings appropriate for storage in configuration files, display to the user, or input from the user.  Each MAC label contains a number of elements, each consisting of a name and value pair.  Policy modules in the kernel bind to specific names and interpret the values in policy-specific ways.  In the externalized string form, labels are represented by a comma-delimited list of name and value pairs separated by the `/` character.  Labels may be directly converted to and from text using provided APIs; when retrieving labels from the kernel, internalized label storage must first be prepared for the desired label element set.  Typically, this is done in one of two ways: using man:mac_prepare[3] and an arbitrary list of desired label elements, or one of the variants of the call that loads a default element set from the man:mac.conf[5] configuration file.  Per-object defaults permit application writers to usefully display labels associated with objects without being aware of the policies present in the system."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5520494907070919761,
    "content_hash": 5520494907070919761,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:6069",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 892,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 188,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1570401/?format=api",
    "priority": 100,
    "id": 1572140,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/ko/?checksum=cc9cbcde8050b451",
    "url": "https://translate-dev.freebsd.org/api/units/1572140/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-21T18:09:39.623555Z"
}