Units API

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

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

{
    "translation": "http://weblate.ucs.ru/api/translations/deliverypos/deliverypos/en/?format=api",
    "source": "<ol><li>Вы можете определить несколько условий доставки, которые частично или полностью совпадают по области доставки.</li><li>Эти зоны могут быть привязаны как к одному ресторану, так и к разным.</li><li>Выбор подходящей зоны будет происходить по следующему принципу:    <ul><li>Вначале находим зоны, которые включают адрес клиента</li><li><span style=\"color: red;\">Затем отбираем зоны, которые подходят по времени работы</span></li><li>Затем отбираем зоны, подходящие по размеру минимального заказа</li></ul><li>Если все еще подходит несколько зон, то будет выбрана наиболее подходящая:<ul><li>Вначале будет выбрана зона с более высоким приоритетом</li><li><span style=\"color: red;\">Если есть несколько с одинаковым приоритетом, то будет найдена зона с наименьшей ценой доставки / наименьшим минимальным заказом / наименьшим временем доставки</span></li><li>Если и их несколько, то будет взята первая из списка (<span style=\"color: red;\">или сработает динамическое распределение</span>)</li></ul></ol>",
    "previous_source": "",
    "target": "<ol><li>You can define several delivery conditions that partially or completely match the delivery zone.</li><li>These zones can be added to one or to several restaurant.</li><li>Selecting the appropriate zone will occur on the following principle:    <ul><li>First, search for zones that include the customer address</li><li><span style=\"color: red;\">Then, zones with suitable working hours are selected</span></li><li>Then we select the zone, suitable for the size of the minimum order</li></ul><li>If several zones still match the search criteria, the most suitable one will be selected:<ul><li>The zone with the higher priority will be selected first.</li><li><span style=\"color: red;\">If there are several zones with the same priority, then the one with the lowest delivery price / lowest minimum order / lowest delivery time will be found</span></li><li>If there are several of them, then the first one from the list will be taken (<span style=\"color: red;\">или сработает динамическое распределение</span>)</li></ul></ol>",
    "id_hash": 3041922803253154978,
    "content_hash": -2179420451697027840,
    "location": "",
    "context": ".z_text_helper_priority_zone",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 674,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 111,
    "priority": 100,
    "id": 1777769,
    "web_url": "http://weblate.ucs.ru/translate/deliverypos/deliverypos/en/?checksum=aa3714ac3a1094a2",
    "url": "http://weblate.ucs.ru/api/units/1777769/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/219165/?format=api"
}