Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f29pagesmonitoring-and-automationviewing_and_managing_log_files/id/?format=api",
    "source": [
        "Replace _object_ with [option]`MainMsg` or with [option]`Action` to use this option to the main message queue or for an action queue respectively. Replace _number_ with a number of enqueued messages. When an in-memory queue reaches the number defined by the high watermark, it starts writing messages to disk and continues until the in-memory queue size drops to the number defined with the low watermark. Correctly set watermarks minimize unnecessary disk writes, but also leave memory space for message bursts since writing to disk files is rather lengthy. Therefore, the high watermark must be lower than the whole queue capacity set with *$objectQueueSize*. The difference between the high watermark and the overall queue size is a spare memory buffer reserved for message bursts. On the other hand, setting the high watermark too low will turn on disk assistance unnecessarily often."
    ],
    "previous_source": "",
    "target": [
        "Ganti _object_ dengan [option]`MainMsg` atau dengan [option]`Action` untuk menggunakan opsi ini ke antrean pesan utama atau untuk antrean tindakan masing-masing. Ganti _number_ dengan banyaknya pesan yang diantrekan. Ketika antrean dalam memori mencapai angka yang ditentukan oleh watermark tinggi, ia mulai menulis pesan ke disk dan berlanjut sampai ukuran antrean dalam memori turun ke angka yang ditentukan oleh watermark rendah. Watermark yang diatur dengan benar meminimalkan penulisan disk yang tidak perlu, tetapi juga meninggalkan ruang memori untuk rentetan pesan karena menulis ke berkas disk agak makan waktu. Oleh karena itu, watermark tinggi harus lebih rendah dari seluruh kapasitas antrean yang ditetapkan dengan *$objectQueueSize*. Perbedaan antara watermark tinggi dan ukuran antrean keseluruhan adalah penyangga memori cadangan yang disediakan untuk rentetan pesan. Di sisi lain, mengatur watermark tinggi terlalu rendah akan sering mengaktifkan bantuan disk yang tidak perlu."
    ],
    "id_hash": 1227761075390952456,
    "content_hash": 1227761075390952456,
    "location": "pages/monitoring-and-automation/Viewing_and_Managing_Log_Files.adoc:959",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 319,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 139,
    "source_unit": "https://translate.fedoraproject.org/api/units/875726/?format=api",
    "priority": 100,
    "id": 9531336,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f29pagesmonitoring-and-automationviewing_and_managing_log_files/id/?checksum=9109e2316fbab408",
    "url": "https://translate.fedoraproject.org/api/units/9531336/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-02-04T18:10:32.452482Z"
}