Units API.

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

GET /api/units/1572154/?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/nb_NO/?format=api",
    "source": [
        "As kernel objects of interest may generally be accessed from more than one thread at a time, and simultaneous entry of more than one thread into the MAC Framework is permitted, security attribute storage maintained by the MAC Framework is carefully synchronized.  In general, existing kernel synchronization on kernel object data is used to protect MAC Framework security labels on the object: for example, MAC labels on sockets are protected using the existing socket mutex.  Likewise, semantics for concurrent access are generally identical to those of the container objects: for credentials, copy-on-write semantics are maintained for label contents as with the remainder of the credential structure.  The MAC Framework asserts necessary locks on objects when invoked with an object reference.  Policy authors must be aware of these synchronization semantics, as they will sometimes limit the types of accesses permitted on labels: for example, when a read-only reference to a credential is passed to a policy via an entry point, only read operations are permitted on the label state attached to the credential."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -4004190395367292499,
    "content_hash": -4004190395367292499,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:160",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 43,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 172,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1569851/?format=api",
    "priority": 100,
    "id": 1572154,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/nb_NO/?checksum=486e420cef1a01ad",
    "url": "https://translate-dev.freebsd.org/api/units/1572154/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-21T18:09:39.966693Z"
}