Units API.

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

GET /api/units/1569847/?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/en/?format=api",
    "source": [
        "As the set of active policies may change at run-time, and the invocation of entry points is non-atomic, synchronization is required to prevent loading or unloading of policies while an entry point invocation is in progress, freezing the set of active policies for the duration.  This is accomplished by means of a framework busy count: whenever an entry point is entered, the busy count is incremented; whenever it is exited, the busy count is decremented.  While the busy count is elevated, policy list changes are not permitted, and threads attempting to modify the policy list will sleep until the list is not busy.  The busy count is protected by a mutex, and a condition variable is used to wake up sleepers waiting on policy list modifications.  One side effect of this synchronization model is that recursion into the MAC Framework from within a policy module is permitted, although not generally used."
    ],
    "previous_source": "",
    "target": [
        "As the set of active policies may change at run-time, and the invocation of entry points is non-atomic, synchronization is required to prevent loading or unloading of policies while an entry point invocation is in progress, freezing the set of active policies for the duration.  This is accomplished by means of a framework busy count: whenever an entry point is entered, the busy count is incremented; whenever it is exited, the busy count is decremented.  While the busy count is elevated, policy list changes are not permitted, and threads attempting to modify the policy list will sleep until the list is not busy.  The busy count is protected by a mutex, and a condition variable is used to wake up sleepers waiting on policy list modifications.  One side effect of this synchronization model is that recursion into the MAC Framework from within a policy module is permitted, although not generally used."
    ],
    "id_hash": -8538193191715139526,
    "content_hash": -8538193191715139526,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:146",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 39,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 151,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1569847/?format=api",
    "priority": 100,
    "id": 1569847,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/en/?checksum=09823e878829103a",
    "url": "https://translate-dev.freebsd.org/api/units/1569847/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-21T18:09:33.223777Z"
}