Units API.

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

GET /api/units/1573029/?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/pt_BR/?format=api",
    "source": [
        "Initialization entry points frequently include a sleeping disposition flag indicating whether or not an initialization is permitted to sleep; if sleeping is not permitted, a failure may be returned to cancel allocation of the label (and hence object).  This may occur, for example, in the network stack during interrupt handling, where sleeping is not permitted, or while the caller holds a mutex.  Due to the performance cost of maintaining labels on in-flight network packets (Mbufs), policies must specifically declare a requirement that Mbuf labels be allocated.  Dynamically loaded policies making use of labels must be able to handle the case where their init function has not been called on an object, as objects may already exist when the policy is loaded.  The MAC Framework guarantees that uninitialized label slots will hold a 0 or NULL value, which policies may use to detect uninitialized values.  However, as allocation of Mbuf labels is conditional, policies must also be able to handle a NULL label pointer for Mbufs if they have been loaded dynamically."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5835008117156319564,
    "content_hash": 5835008117156319564,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:222",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 56,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 171,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1569867/?format=api",
    "priority": 100,
    "id": 1573029,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/pt_BR/?checksum=d0fa1cf7a49f914c",
    "url": "https://translate-dev.freebsd.org/api/units/1573029/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-21T18:09:42.207940Z"
}