Units API.

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

GET /api/units/1194870/?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-handbooksecure_index/fr_FR/?format=api",
    "source": [
        "You should never assume that you can catch all forms of invalid input that a user might supply.  Instead, your application should use positive filtering to only allow a specific subset of inputs that you deem safe.  Improper data validation has been the cause of many exploits, especially with CGI scripts on the world wide web.  For filenames you need to be extra careful about paths (\"../\", \"/\"), symbolic links, and shell escape characters."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -3631923651751407353,
    "content_hash": -3631923651751407353,
    "location": "documentation/content/en/books/developers-handbook/secure/_index.adoc:274",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 74,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 74,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1194788/?format=api",
    "priority": 100,
    "id": 1194870,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooksecure_index/fr_FR/?checksum=4d98d0ae76049107",
    "url": "https://translate-dev.freebsd.org/api/units/1194870/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-06-08T11:36:39.652987Z"
}