Units API.

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

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

{
    "translation": "http://translate.otrs.com/api/translations/otrs/primary-secondary/ru/?format=api",
    "source": [
        "Registration of the Update Secondaries action. “Group” and “GroupRo” arrays can be used to restrict access to this menu item to members of specific groups with “rw” and “ro” permissions, respectively. “Name” and “Description” can be used to change the text of the menu item which is visible to the user. “Component” contains an internal name. “ClusterName” defines a heading for a group of actions. The action is assigned to this group. “ClusterPriority” defines the order of the menu entry for this action within the group. “Permission” is the required permission to use this action in the agent interface. “RequiredLock” defines if a ticket needs to be locked to the user performing this action and if the ticket is not locked yet, the ticket gets locked and the current agent will be set automatically as its owner. If set to “1” the lock is required and of set to “0” the lock is not required."
    ],
    "previous_source": "",
    "target": [
        "Регистрация действия Update Secondaries. Массивы \"Group\" и \"GroupRo\" могут быть использованы для ограничения доступа к данному пункту меню членам определенных групп с правами \"rw\" и \"ro\" соответственно. Массивы \"Name\" и \"Description\" могут быть использованы для изменения текста пункта меню, видимого пользователю. \"Component\" содержит внутреннее имя. \"ClusterName\" задает заголовок для группы действий. Действие присваивается этой группе. \"ClusterPriority\" определяет порядок расположения пункта меню для данного действия в группе. \"Permission\" - необходимое разрешение на использование данного действия в интерфейсе агента. \"RequiredLock\" определяет, должен ли билет быть заблокирован для пользователя, выполняющего данное действие, и если билет еще не заблокирован, то билет будет заблокирован, а текущий агент будет автоматически установлен в качестве его владельца. Если установлено значение \"1\", то блокировка требуется, а если установлено значение \"0\", то блокировка не требуется."
    ],
    "id_hash": -6148012444013082902,
    "content_hash": -6148012444013082902,
    "location": "",
    "context": "",
    "note": "SysConfig",
    "flags": "",
    "labels": [
        "Automatically translated"
    ],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 105,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 155,
    "source_unit": "http://translate.otrs.com/api/units/2070345/?format=api",
    "priority": 100,
    "id": 2070444,
    "web_url": "http://translate.otrs.com/translate/otrs/primary-secondary/ru/?checksum=2aaddf4177eb46ea",
    "url": "http://translate.otrs.com/api/units/2070444/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-05-02T12:24:48.917871Z"
}