Units API.

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

GET /api/units/1726754/?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/booksdevelopers-handbooksockets_index/fr/?format=api",
    "source": [
        "Its value is `0`.  Since we have just used `bzero` on the entire structure, it would be redundant to set it to `0` again.  But if we port our code to some other system where INADDR_ANY is perhaps not a zero, we need to assign it to `sa.sin_addr.s_addr`.  Most modern C compilers are clever enough to notice that INADDR_ANY is a constant.  As long as it is a zero, they will optimize the entire conditional statement out of the code."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 7122302228745966793,
    "content_hash": 7122302228745966793,
    "location": "documentation/content/en/books/developers-handbook/sockets/_index.adoc:806",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 199,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 80,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1188194/?format=api",
    "priority": 100,
    "id": 1726754,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooksockets_index/fr/?checksum=e2d78024376054c9",
    "url": "https://translate-dev.freebsd.org/api/units/1726754/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-01-22T17:48:50.672550Z"
}