Units API.

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

GET /api/units/420966/?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 compressed. The destination gz-file {$filePath} could not be opened with gzopen."
    ],
    "previous_source": "",
    "target": [
        "Le fichier n'a pas pu être compressé. Le fichier de destination {$filePath} n'a pas pu être ouvert avec gzopen."
    ],
    "id_hash": -168455454887621607,
    "content_hash": -1929229959179791009,
    "location": "",
    "context": "admin.error.gzCompressFile.gzopen",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 132,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 15,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/420462/?format=api",
    "priority": 100,
    "id": 420966,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/admin/fr_FR/?checksum=7da986a802f24c19",
    "url": "http://translate.pkp.sfu.ca/api/units/420966/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-07-29T15:05:49.501177Z"
}