Units API.

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

GET /api/units/1949358/?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/service-management/sl/?format=api",
    "source": [
        "Set the type and direction of links to be used to calculate the incident state. The key is the name of the link type (as defined in LinkObject::Type), and the value is the direction of the IncidentLinkType that should be followed to calculate the incident state. For example if the IncidentLinkType is set to “DependsOn”, and the Direction is “Source”, only “Depends on” links will be followed (and not the opposite link “Required for”) to calculate the incident state. You can add more link types and directions as you like, e.g. “Includes” with the direction “Target”. All link types defined in the system configuration options LinkObject::Type are possible and the direction can be “Source”, “Target”, or “Both”. IMPORTANT: AFTER YOU MAKE CHANGES TO THIS SYSTEM CONFIGURATION OPTION YOU NEED TO RUN THE CONSOLE COMMAND bin/otrs.Console.pl Admin::ITSM::IncidentState::Recalculate SO THAT ALL INCIDENT STATES WILL BE RECALCULATED BASED ON THE NEW SETTINGS!"
    ],
    "previous_source": "",
    "target": [
        "Nastavite vrsto in smer povezav, ki se uporabijo za izračun vpadnega stanja. Ključ je ime vrste povezave (kot je opredeljena v LinkObject::Type), vrednost pa je smer IncidentLinkType, ki naj se uporabi za izračun stanja incidenta. Če je na primer IncidentLinkType nastavljen na \"DependsOn\" in je smer \"Source\", bodo za izračun stanja incidenta upoštevane samo povezave \"Depends on\" (in ne nasprotna povezava \"Required for\"). Po želji lahko dodate več vrst povezav in smeri, npr. \"Vključuje\" s smerjo \"Cilj\". Možne so vse vrste povezav, opredeljene v možnostih konfiguracije sistema LinkObject::Type, smer pa je lahko \"Vir\", \"Cilj\" ali \"Oboje\". POMEMBNO: PO SPREMEMBAH te možnosti konfiguracije sistema morate izvesti konzolni ukaz bin/otrs.Console.pl Admin::ITSM::IncidentState::Recalculate, da se vsa stanja incidenta ponovno izračunajo na podlagi novih nastavitev!"
    ],
    "id_hash": -2691153535308909413,
    "content_hash": -2691153535308909413,
    "location": "",
    "context": "",
    "note": "SysConfig",
    "flags": "",
    "labels": [
        "Automatically translated"
    ],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 201,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 149,
    "source_unit": "http://translate.otrs.com/api/units/1949319/?format=api",
    "priority": 100,
    "id": 1949358,
    "web_url": "http://translate.otrs.com/translate/otrs/service-management/sl/?checksum=5aa71a1e33e0349b",
    "url": "http://translate.otrs.com/api/units/1949358/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-25T12:13:11.295898Z"
}