Units API.

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

GET /api/units/2105119/?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/fi/?format=api",
    "source": [
        "Registration of the Unset 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": [
        "Unset Primary -toiminnon rekisteröinti. \"Group\"- ja \"GroupRo\"-matriiseja voidaan käyttää rajoittamaan tämän valikkokohdan käyttöoikeus tiettyihin ryhmiin kuuluviin henkilöihin, joilla on \"rw\"- ja \"ro\"-oikeudet. \"Name\" ja \"Description\" -rivien avulla voidaan muuttaa valikkokohdan tekstiä, joka näkyy käyttäjälle. \"Component\" sisältää sisäisen nimen. \"ClusterName\" määrittää toimintoryhmän otsikon. Toiminto osoitetaan tähän ryhmään. \"ClusterPriority\" määrittää tämän toiminnon valikkokohdan järjestyksen ryhmässä. \"Permission\" on tämän toiminnon käyttämiseen agentin käyttöliittymässä vaadittava lupa. \"RequiredLock\" määrittelee, onko lippu lukittava tätä toimintoa suorittavalle käyttäjälle, ja jos lippua ei ole vielä lukittu, lippu lukitaan ja nykyinen agentti asetetaan automaattisesti sen omistajaksi. Jos lukitus on \"1\", se vaaditaan ja jos lukitus on \"0\", sitä ei vaadita."
    ],
    "id_hash": -7776383107848822044,
    "content_hash": -7776383107848822044,
    "location": "",
    "context": "",
    "note": "SysConfig",
    "flags": "",
    "labels": [
        "Automatically translated"
    ],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 103,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 155,
    "source_unit": "http://translate.otrs.com/api/units/2070343/?format=api",
    "priority": 100,
    "id": 2105119,
    "web_url": "http://translate.otrs.com/translate/otrs/primary-secondary/fi/?checksum=1414bcc3b352a2e4",
    "url": "http://translate.otrs.com/api/units/2105119/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-09-25T13:44:12.997442Z"
}