Units API.

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

GET /api/units/2356275/?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/app/en/?format=api",
    "source": [
        "Do you want to move the label \"{label}\" from plant with ID \"{sourcePlantId}\" to plant with ID \"{targetPlantId}\"?"
    ],
    "previous_source": "",
    "target": [
        "Do you want to move the label \"{label}\" from plant with ID \"{sourcePlantId}\" to plant with ID \"{targetPlantId}\"?"
    ],
    "id_hash": -4559417659226016391,
    "content_hash": 823113702583249597,
    "location": "",
    "context": "moveLabelConfirmationMessage",
    "note": "Confirmation message asking user to confirm label move operation, now includes label and both plant IDs.",
    "flags": "placeholders:$LABEL$:$SOURCEPLANTID$:$TARGETPLANTID$,case-insensitive",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 309,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 18,
    "source_unit": "https://weblate.osgeo.org/api/units/2356275/?format=api",
    "priority": 100,
    "id": 2356275,
    "web_url": "https://weblate.osgeo.org/translate/digiagriapp/app/en/?checksum=40b9b1cbb730b579",
    "url": "https://weblate.osgeo.org/api/units/2356275/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-07-09T13:08:24.254559Z"
}