Units API.

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

GET /api/units/1949348/?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/mk/?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“, а насоката е „Извор“, ќе се следат само линкови „Зависи“ (а не спротивната врска „Потребно за“) за да се пресмета состојбата на инцидентот. Може да додадете повеќе видови линкови и насоки колку што сакате, на пр. „Вклучува“ со насоката „Цел“. Сите типови на врски дефинирани во опциите за конфигурација на системот LinkObject::Type се можни и насоката може да биде „Source“, „Target“ или „Both“. ВАЖНО: ОТКАКО ЌЕ НАПРАВИТЕ ПРОМЕНИ ВО ОВАА ОПЦИЈА ЗА КОНФИГУРАЦИЈА НА СИСТЕМОТ, ТРЕБА ДА ЈА СТАРТУВАТЕ КОНЗОЛНАТА КОМАНДНА корпа/otrs.Console.pl Admin::ITSM:: IncidentState::Пресметајте повторно така ШТО СИТЕ СОСТОЈБИ НА ИНЦИДЕНТОТ ЌЕ СЕ ПРЕСМЕТААТ ВРЗ ОСНОВА НА НОВИТЕ ПОСТАВКИ!"
    ],
    "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": 1949348,
    "web_url": "http://translate.otrs.com/translate/otrs/service-management/mk/?checksum=5aa71a1e33e0349b",
    "url": "http://translate.otrs.com/api/units/1949348/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-25T12:13:08.527519Z"
}