Units API.

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

GET /api/units/1761649/?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-handbooksmp_index/fr/?format=api",
    "source": [
        "The newbus system will have one sx lock. Readers will hold a shared (read) lock (man:sx_slock[9]) and writers will hold an exclusive (write) lock (man:sx_xlock[9]). Internal functions will not do locking at all. Externally visible ones will lock as needed. Those items that do not matter if the race is won or lost will not be locked, since they tend to be read all over the place (e.g., man:device_get_softc[9]). There will be relatively few changes to the newbus data structures, so a single lock should be sufficient and not impose a performance penalty."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -3822874220961291611,
    "content_hash": -3822874220961291611,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:191",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 69,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 93,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134298/?format=api",
    "priority": 100,
    "id": 1761649,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/fr/?checksum=4af26c26869aa2a5",
    "url": "https://translate-dev.freebsd.org/api/units/1761649/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-01-22T18:20:33.734409Z"
}