Units API.

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

GET /api/units/1949328/?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/en_GB/?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": [
        "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!"
    ],
    "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": 1949328,
    "web_url": "http://translate.otrs.com/translate/otrs/service-management/en_GB/?checksum=5aa71a1e33e0349b",
    "url": "http://translate.otrs.com/api/units/1949328/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-25T12:13:02.985967Z"
}