Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/105054/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_design-44bsd/en/?format=api", "source": [ "The socket mechanism requires extensions to the traditional UNIX I/O system calls to provide the associated naming and connection semantics. Rather than overloading the existing interface, the developers used the existing interfaces to the extent that the latter worked without being changed, and designed new interfaces to handle the added semantics. The <emphasis>read</emphasis> and <emphasis>write</emphasis> system calls were used for byte-stream type connections, but six new system calls were added to allow sending and receiving addressed messages such as network datagrams. The system calls for writing messages include <emphasis>send</emphasis>, <emphasis>sendto</emphasis>, and <emphasis>sendmsg</emphasis>. The system calls for reading messages include <emphasis>recv</emphasis>, <emphasis>recvfrom</emphasis>, and <emphasis>recvmsg</emphasis>. In retrospect, the first two in each class are special cases of the others; <emphasis>recvfrom</emphasis> and <emphasis>sendto</emphasis> probably should have been added as library interfaces to <emphasis>recvmsg</emphasis> and <emphasis>sendmsg</emphasis>, respectively." ], "previous_source": "", "target": [ "The socket mechanism requires extensions to the traditional UNIX I/O system calls to provide the associated naming and connection semantics. Rather than overloading the existing interface, the developers used the existing interfaces to the extent that the latter worked without being changed, and designed new interfaces to handle the added semantics. The <emphasis>read</emphasis> and <emphasis>write</emphasis> system calls were used for byte-stream type connections, but six new system calls were added to allow sending and receiving addressed messages such as network datagrams. The system calls for writing messages include <emphasis>send</emphasis>, <emphasis>sendto</emphasis>, and <emphasis>sendmsg</emphasis>. The system calls for reading messages include <emphasis>recv</emphasis>, <emphasis>recvfrom</emphasis>, and <emphasis>recvmsg</emphasis>. In retrospect, the first two in each class are special cases of the others; <emphasis>recvfrom</emphasis> and <emphasis>sendto</emphasis> probably should have been added as library interfaces to <emphasis>recvmsg</emphasis> and <emphasis>sendmsg</emphasis>, respectively." ], "id_hash": 3479435535262601335, "content_hash": 3479435535262601335, "location": "book.translate.xml:1470", "context": "", "note": "(itstool) path: sect2/para", "flags": "", "labels": [], "state": 100, "fuzzy": false, "translated": true, "approved": false, "position": 208, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 133, "source_unit": "https://translate-dev.freebsd.org/api/units/105054/?format=api", "priority": 100, "id": 105054, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_design-44bsd/en/?checksum=b049702f3a32d077", "url": "https://translate-dev.freebsd.org/api/units/105054/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2019-10-20T12:22:23.177123Z" }