Units API.

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

GET /api/units/30224/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/principlessecurity/fr/?format=api",
    "source": [
        "Now consider that Mallory wants to be authenticated as Alice. The above protocol has a subtle flaw that could be exploited by Mallory. This flaw can be exploited if Alice and Bob can act as both client and server. Knowing this, Mallory could operate as follows. Mallory starts an authentication with Bob faking himself as Alice. He sends a first message to Bob including Alice's identity."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 3404740781896793177,
    "content_hash": 3404740781896793177,
    "location": "../../principles/security.rst:775",
    "context": "",
    "note": "",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 65,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 66,
    "source_unit": "https://weblate.info.ucl.ac.be/api/units/35314/?format=api",
    "priority": 100,
    "id": 30224,
    "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/principlessecurity/fr/?checksum=af4011b3b93e7c59",
    "url": "https://weblate.info.ucl.ac.be/api/units/30224/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-08-27T14:43:08.427526+02:00"
}