Units API.

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

GET /api/units/1134196/?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/en/?format=api",
    "source": [
        "If you need a lock to check the state of a variable so that you can take an action based on the state you read, you can not just hold the lock while reading the variable and then drop the lock before you act on the value you read. Once you drop the lock, the variable can change rendering your decision invalid. Thus, you must hold the lock both while reading the variable and while performing the action as a result of the test."
    ],
    "previous_source": "",
    "target": [
        "If you need a lock to check the state of a variable so that you can take an action based on the state you read, you can not just hold the lock while reading the variable and then drop the lock before you act on the value you read. Once you drop the lock, the variable can change rendering your decision invalid. Thus, you must hold the lock both while reading the variable and while performing the action as a result of the test."
    ],
    "id_hash": 4129941161766870785,
    "content_hash": 4129941161766870785,
    "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:83",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 18,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 84,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1134196/?format=api",
    "priority": 100,
    "id": 1134196,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/en/?checksum=b9507f9af260df01",
    "url": "https://translate-dev.freebsd.org/api/units/1134196/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T13:16:46.134360Z"
}