Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/34542/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_design-44bsd/pt_BR/?format=api", "source": [ "The <emphasis>truncate</emphasis> system call was added to 4.2BSD to allow files to be shortened to an arbitrary offset. The call was added primarily in support of the Fortran run-time library, which has the semantics such that the end of a random-access file is set to be wherever the program most recently accessed that file. Without the <emphasis>truncate</emphasis> system call, the only way to shorten a file was to copy the part that was desired to a new file, to delete the old file, then to rename the copy to the original name. As well as this algorithm being slow, the library could potentially fail on a full filesystem." ], "previous_source": "", "target": [ "" ], "id_hash": -2743324601548884012, "content_hash": -2743324601548884012, "location": "book.translate.xml:1890", "context": "", "note": "(itstool) path: sect1/para", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 241, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 108, "source_unit": "https://translate-dev.freebsd.org/api/units/105087/?format=api", "priority": 100, "id": 34542, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_design-44bsd/pt_BR/?checksum=59edc0cf4516b7d4", "url": "https://translate-dev.freebsd.org/api/units/34542/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:22:23.792220Z" }