Units API.

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

GET /api/units/1747886/?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/fr/?format=api",
    "source": [
        "Determine whether the subject credential can set the extended attribute of passed name and passed namespace on the passed vnode.  Policies implementing security labels backed into extended attributes may want to provide additional protections for those attributes.  Additionally, policies should avoid making decisions based on the data referenced from `uio`, as there is a potential race condition between this check and the actual operation.  The `uio` may also be `NULL` if a delete operation is being performed.  Return 0 for success, or an `errno` value for failure.  Suggested failure: EACCES for label mismatch, or EPERM for lack of privilege."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 8444275196264790028,
    "content_hash": 8444275196264790028,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:4789",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 809,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 99,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1570341/?format=api",
    "priority": 100,
    "id": 1747886,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/fr/?checksum=f530178d2301380c",
    "url": "https://translate-dev.freebsd.org/api/units/1747886/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-01-22T18:06:13.450415Z"
}