Units API.

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

GET /api/units/157837/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_handbook/en/?format=api",
    "source": [
        "The <literal>NMBCLUSTERS</literal> kernel configuration option dictates the amount of network Mbufs available to the system. A heavily-trafficked server with a low number of Mbufs will hinder performance. Each cluster represents approximately 2 K of memory, so a value of <literal>1024</literal> represents <literal>2</literal> megabytes of kernel memory reserved for network buffers. A simple calculation can be done to figure out how many are needed. A web server which maxes out at <literal>1000</literal> simultaneous connections where each connection uses a 6 K receive and 16 K send buffer, requires approximately 32 MB worth of network buffers to cover the web server. A good rule of thumb is to multiply by <literal>2</literal>, so 2x32 MB / 2 KB = 64 MB / 2 kB = <literal>32768</literal>. Values between <literal>4096</literal> and <literal>32768</literal> are recommended for machines with greater amounts of memory. Never specify an arbitrarily high value for this parameter as it could lead to a boot time crash. To observe network cluster usage, use <option>-m</option> with <citerefentry><refentrytitle>netstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>."
    ],
    "previous_source": "",
    "target": [
        "The <literal>NMBCLUSTERS</literal> kernel configuration option dictates the amount of network Mbufs available to the system. A heavily-trafficked server with a low number of Mbufs will hinder performance. Each cluster represents approximately 2 K of memory, so a value of <literal>1024</literal> represents <literal>2</literal> megabytes of kernel memory reserved for network buffers. A simple calculation can be done to figure out how many are needed. A web server which maxes out at <literal>1000</literal> simultaneous connections where each connection uses a 6 K receive and 16 K send buffer, requires approximately 32 MB worth of network buffers to cover the web server. A good rule of thumb is to multiply by <literal>2</literal>, so 2x32 MB / 2 KB = 64 MB / 2 kB = <literal>32768</literal>. Values between <literal>4096</literal> and <literal>32768</literal> are recommended for machines with greater amounts of memory. Never specify an arbitrarily high value for this parameter as it could lead to a boot time crash. To observe network cluster usage, use <option>-m</option> with <citerefentry><refentrytitle>netstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>."
    ],
    "id_hash": -2233671257824950785,
    "content_hash": -2233671257824950785,
    "location": "book.translate.xml:23877",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 3892,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 164,
    "source_unit": "https://translate-dev.freebsd.org/api/units/157837/?format=api",
    "priority": 100,
    "id": 157837,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_handbook/en/?checksum=610067d3545805ff",
    "url": "https://translate-dev.freebsd.org/api/units/157837/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-04-18T18:15:29.455187Z"
}