Units API.

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

GET /api/units/420960/?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/admin/fr_FR/?format=api",
    "source": [
        "File could not be decompressed. The destination file {$filePath} could not be opened fopen."
    ],
    "previous_source": "",
    "target": [
        "Le fichier n'a pas pu être décompressé. Le fichier de destination {$filePath} n'a pas pu être ouvert avec fopen."
    ],
    "id_hash": -7233945892351295334,
    "content_hash": 4932519009871598723,
    "location": "",
    "context": "admin.error.gzDecompressFile.fopen",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 126,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 14,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/420456/?format=api",
    "priority": 100,
    "id": 420960,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/admin/fr_FR/?checksum=1b9bdc89ba01409a",
    "url": "http://translate.pkp.sfu.ca/api/units/420960/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-07-29T15:05:49.492136Z"
}