Units API.

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

GET /api/units/1949403/?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-7/itsm-core/pt_BR/?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": [
        "Defina o tipo e a direção dos links a serem usados para calcular o estado do incidente. A chave é o nome do tipo de link (conforme definido em LinkObject::Type) e o valor é a direção do IncidentLinkType que deve ser seguida para calcular o estado do incidente. Por exemplo, se IncidentLinkType estiver definido como 'DependsOn' e a direção for 'Source', somente os links 'Depend on' serão seguidos (e não o link oposto 'Required for') para calcular o estado do incidente. Você pode adicionar mais tipos de links e direções conforme desejar, por exemplo, 'Inclui' com a direção 'Alvo'. Todos os tipos de links definidos nas opções de configuração do sistema LinkObject::Type são possíveis e a direção pode ser 'Source', 'Target' ou 'Both'. IMPORTANTE: DEPOIS DE FAZER ALTERAÇÕES A ESTA OPÇÃO DE CONFIGURAÇÃO DO SISTEMA, VOCÊ PRECISA EXECUTAR O COMANDO DO CONSOLE bin/otrs.Console.pl Admin::ITSM::IncidentState::Recalcular PARA QUE TODOS OS ESTADOS INCIDENTES SEJAM RECALCULADOS COM BASE NAS NOVAS CONFIGURAÇÕES!"
    ],
    "id_hash": -2793126441445753915,
    "content_hash": -2793126441445753915,
    "location": "",
    "context": "",
    "note": "SysConfig",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 85,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 149,
    "source_unit": "http://translate.otrs.com/api/units/1949368/?format=api",
    "priority": 100,
    "id": 1949403,
    "web_url": "http://translate.otrs.com/translate/otrs-7/itsm-core/pt_BR/?checksum=593cd24cd4dffbc5",
    "url": "http://translate.otrs.com/api/units/1949403/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-25T13:06:50.941766Z"
}