Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-squid/master/af/?format=api",
    "source": [
        "Cache Directory"
    ],
    "previous_source": "",
    "target": [
        "Pakketgids"
    ],
    "id_hash": 7608055327157664343,
    "content_hash": 7608055327157664343,
    "location": "src/include/squid/complex.rb:348, src/include/squid/dialogs.rb:249, src/include/squid/handlers.rb:220",
    "context": "",
    "note": "`HBox(\n`HSpacing(3),\n`Frame(_(\"Cache Setting\"),\n`HBox(\n`HWeight(1,`VBox(\n`VWeight(1, `HBox(\n`IntField(`id(\"cache_mem\"), _(\"C&ache Memory\"), 1, 99999, 10),\nsizeUnitWidget(\"cache_mem_units\")\n)),\n`VSpacing(0.4),\n`VWeight(1, `HBox(\n`IntField(`id(\"cache_max_object_size\"), _(\"Ma&x Object Size\"), 0, 99999, 0),\nsizeUnitWidget(\"cache_max_object_size_units\")\n)),\n`VSpacing(0.4),\n`VWeight(1, `HBox(\n`IntField(`id(\"cache_swap_low\"), _(\"Swap &Low-Water Mark (in percents)\"), 0, 100, 0)\n)),\n`VSpacing(0.4),\n`Left(`VWeight(1, `HBox(\n`ComboBox(`id(\"cache_replacement_policy\"),\n_(\"&Cache Replacement Policy\"),\n[`item(\"lru\"), `item(\"heap GDSF\"), `item(\"heap LFUDA\"), `item(\"heap LRU\")])\n)))\n)),\n`HSpacing(3),\n`HWeight(1,`VBox(\n`VWeight(1, `HBox(`Empty())),\n`VSpacing(0.4),\n`VWeight(1, `HBox(\n`IntField(`id(\"cache_min_object_size\"), _(\"M&in Object Size\"), 0, 99999, 0),\nsizeUnitWidget(\"cache_min_object_size_units\")\n)),\n`VSpacing(0.4),\n`VWeight(1, `HBox(\n`IntField(`id(\"cache_swap_high\"), _(\"Swap &High-Water Mark (in percents)\"), 0, 100, 0)\n)),\n`VSpacing(0.4),\n`Left(`VWeight(1, `HBox(\n`ComboBox(`id(\"memory_replacement_policy\"),\n_(\"&Memory Replacement Policy\"),\n[`item(\"lru\"), `item(\"heap GDSF\"), `item(\"heap LFUDA\"), `item(\"heap LRU\")])\n)))\n))\n)\n),\n`HSpacing(3)\n);\ncache_swap_low <= cache_swap_high",
    "flags": "",
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 25,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 2,
    "source_unit": "https://l10n.opensuse.org/api/units/12582545/?format=api",
    "priority": 100,
    "id": 2516018,
    "web_url": "https://l10n.opensuse.org/translate/yast-squid/master/af/?checksum=e9953e02c6c03a57",
    "url": "https://l10n.opensuse.org/api/units/2516018/?format=api",
    "explanation": "",
    "extra_flags": ""
}