Units API.

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

GET /api/units/2104439/?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/cs/?format=api",
    "source": [
        "Registration of the Set to Primary 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": [
        "Registrace akce Nastavit na primární. Pole \"Group\" a \"GroupRo\" lze použít k omezení přístupu k této položce nabídky na členy konkrétních skupin s oprávněním \"rw\", resp. \"ro\". Pole \"Name\" a \"Description\" lze použít ke změně textu položky nabídky, který je viditelný pro uživatele. \"Komponenta\" obsahuje interní název. \"ClusterName\" definuje nadpis pro skupinu akcí. Akce je přiřazena k této skupině. \"ClusterPriority\" definuje pořadí položky nabídky pro tuto akci v rámci skupiny. \"Permission\" je požadované oprávnění k použití této akce v rozhraní agenta. \"RequiredLock\" definuje, zda musí být tiket uzamčen uživateli provádějícímu tuto akci, a pokud ještě není uzamčen, tiket se uzamkne a jako jeho vlastník bude automaticky nastaven aktuální agent. Je-li nastavena hodnota \"1\", je uzamčení vyžadováno a při nastavení hodnoty \"0\" není uzamčení vyžadováno."
    ],
    "id_hash": -7645859709315504649,
    "content_hash": -7645859709315504649,
    "location": "",
    "context": "",
    "note": "SysConfig",
    "flags": "",
    "labels": [
        "Automatically translated"
    ],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 101,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 156,
    "source_unit": "http://translate.otrs.com/api/units/2070341/?format=api",
    "priority": 100,
    "id": 2104439,
    "web_url": "http://translate.otrs.com/translate/otrs/primary-secondary/cs/?checksum=15e4731a97c725f7",
    "url": "http://translate.otrs.com/api/units/2104439/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-09-25T13:44:12.234245Z"
}