Units API.

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

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

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/pkp-lib/api/cs/?format=api",
    "source": [
        "The file you uploaded did not match the file extension. This can happen when a file has been renamed to an incompatible type, for example changing photo.png to photo.jpg."
    ],
    "previous_source": "",
    "target": [
        "Soubor, který jste nahrály neodpovídá koncovce souboru. To se může stát, pokud byl soubor přejmenován na nekompatibilní typ, například změnou photo.png na photo.jpg."
    ],
    "id_hash": 9019687251265828498,
    "content_hash": -7494231434937210926,
    "location": "",
    "context": "api.publicFiles.400.mimeTypeNotMatched",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 29,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/405768/?format=api",
    "priority": 100,
    "id": 572520,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/api/cs/?checksum=fd2c5dc444d1b692",
    "url": "http://translate.pkp.sfu.ca/api/units/572520/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T04:24:56.256016Z"
}