Units API.

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

GET /api/units/1570033/?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": [
        "Produce an externalized label based on the label structure passed.  An externalized label consists of a text representation of the label contents that can be used with userland applications and read by the user.  Currently, all policies' `externalize` entry points will be called, so the implementation should check the contents of `element_name` before attempting to fill in `sb`.  If `element_name` does not match the name of your policy, simply return 0.  Only return nonzero if an error occurs while externalizing the label data.  Once the policy fills in `element_data`, `*claimed` should be incremented."
    ],
    "previous_source": "",
    "target": [
        "Produce an externalized label based on the label structure passed.  An externalized label consists of a text representation of the label contents that can be used with userland applications and read by the user.  Currently, all policies' `externalize` entry points will be called, so the implementation should check the contents of `element_name` before attempting to fill in `sb`.  If `element_name` does not match the name of your policy, simply return 0.  Only return nonzero if an error occurs while externalizing the label data.  Once the policy fills in `element_data`, `*claimed` should be incremented."
    ],
    "id_hash": -7001880437906597591,
    "content_hash": -7001880437906597591,
    "location": "documentation/content/en/books/arch-handbook/mac/_index.adoc:1218, documentation/content/en/books/arch-handbook/mac/_index.adoc:1258, documentation/content/en/books/arch-handbook/mac/_index.adoc:1298, documentation/content/en/books/arch-handbook/mac/_index.adoc:1338, documentation/content/en/books/arch-handbook/mac/_index.adoc:1378, documentation/content/en/books/arch-handbook/mac/_index.adoc:1418",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 254,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 93,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1570033/?format=api",
    "priority": 100,
    "id": 1570033,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookmac_index/en/?checksum=1ed452d6dad21929",
    "url": "https://translate-dev.freebsd.org/api/units/1570033/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-21T18:09:33.624003Z"
}