Units API.

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

GET /api/units/39271/?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": [
        "Import course"
    ],
    "previous_source": "",
    "target": [
        "Importer le cours"
    ],
    "id_hash": -8046957233084067507,
    "content_hash": -8046957233084067507,
    "location": "inginious/frontend/templates/marketplace.html:56, inginious/frontend/templates/marketplace_course.html:68",
    "context": "",
    "note": "",
    "flags": "",
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 287,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 2,
    "source_unit": "https://weblate.info.ucl.ac.be/api/units/39222/?format=api",
    "priority": 100,
    "id": 39271,
    "web_url": "https://weblate.info.ucl.ac.be/translate/inginious/frontend/fr/?checksum=10537707f743914d",
    "url": "https://weblate.info.ucl.ac.be/api/units/39271/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-17T18:42:20.471267+02:00"
}