Units API.

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

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

{
    "translation": "https://weblate.osgeo.org/api/translations/digiagriapp/server/it/?format=api",
    "source": [
        "Error creating PlantTreatment. Error: {err}"
    ],
    "previous_source": "Error saving thesis plant {tp}: {err}",
    "target": [
        "Errore salvando la tesi per la pianta {tp}: {err}"
    ],
    "id_hash": 593636986109806457,
    "content_hash": 593636986109806457,
    "location": "treatment/serializers.py:429",
    "context": "",
    "note": "",
    "flags": "python-brace-format",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 498,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 5,
    "source_unit": "https://weblate.osgeo.org/api/units/2366263/?format=api",
    "priority": 100,
    "id": 2366429,
    "web_url": "https://weblate.osgeo.org/translate/digiagriapp/server/it/?checksum=883d05b1929bc779",
    "url": "https://weblate.osgeo.org/api/units/2366429/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-26T11:54:22.961980Z"
}