Units API.

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

GET /api/units/1949321/?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/bg/?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": [
        "Задаване на типа и посоката на връзките, които да се използват за изчисляване на състоянието на падане. Ключът е името на типа на връзката (както е определено в LinkObject::Type), а стойността е посоката на IncidentLinkType, която трябва да се следва при изчисляване на състоянието на инцидента. Например ако IncidentLinkType е зададен на \"DependsOn\" (зависи от), а посоката е \"Source\" (източник), само връзките \"Depends on\" (зависи от) ще бъдат следвани (а не противоположната връзка \"Required for\" (изисква се за)), за да се изчисли състоянието на инцидента. Можете да добавяте повече типове връзки и посоки, както желаете, например \"Includes\" (Включва) с посока \"Target\" (Цел). Възможни са всички типове връзки, дефинирани в опциите за конфигурация на системата LinkObject::Type (Връзка::Тип), а посоката може да бъде \"Източник\", \"Цел\" или \"И двете\". ВАЖНО: СЛЕД КАТО НАПРАВИТЕ ПРОМЕНИ В ТАЗИ ОПЦИЯ ЗА СИСТЕМНА КОНФИГУРАЦИЯ, ТРЯБВА ДА ИЗПРАТИТЕ КОНСОЛНАТА КОМАНДА bin/otrs.Console.pl Admin::ITSM::IncidentState::Recalculate, ЗА ДА БЪДАТ ПРЕКАЛИКУЛИРАНИ ВСИЧКИ СЪСТОЯНИЯ НА ИНЦИДЕНТИ НА ОСНОВА НА НОВИТЕ НАСТРОЙКИ!"
    ],
    "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": 1949321,
    "web_url": "http://translate.otrs.com/translate/otrs/service-management/bg/?checksum=5aa71a1e33e0349b",
    "url": "http://translate.otrs.com/api/units/1949321/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-25T12:13:01.037387Z"
}