Units API.

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

GET /api/units/3342/?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/inginious/frontend/fr/?format=api",
    "source": [
        "Your answer passed the tests! Your score is {score}%."
    ],
    "previous_source": "",
    "target": [
        "Votre réponse a passé les tests ! Votre note est de {score}%."
    ],
    "id_hash": 2785623275533850853,
    "content_hash": 2785623275533850853,
    "location": "inginious/frontend/pages/tasks.py:333",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 77,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 9,
    "source_unit": "https://weblate.info.ucl.ac.be/api/units/33175/?format=api",
    "priority": 100,
    "id": 3342,
    "web_url": "https://weblate.info.ucl.ac.be/translate/inginious/frontend/fr/?checksum=a6a8859c384158e5",
    "url": "https://weblate.info.ucl.ac.be/api/units/3342/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-09-30T10:10:30.849618+02:00"
}