Units API.

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

GET /api/units/420963/?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 opened destination file {$filePath} could not be closed with fclose."
    ],
    "previous_source": "",
    "target": [
        "Le fichier n'a pas pu être décompressé. Le fichier de destination ouvert {$filePath} n'a pas pu être fermé avec fclose."
    ],
    "id_hash": -1605564683325130002,
    "content_hash": -4748341492235744094,
    "location": "",
    "context": "admin.error.gzDecompressFile.fclose",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 129,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 16,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/420459/?format=api",
    "priority": 100,
    "id": 420963,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/admin/fr_FR/?checksum=69b7e36d5a7e3aee",
    "url": "http://translate.pkp.sfu.ca/api/units/420963/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-07-29T15:05:49.497059Z"
}