{% if uuid is not empty %} {% set action = createModel('Actions','actions').findById(uuid) %} {% endif %} {% set descriptor = createAction(action.handler_class,action.package_name).descriptor() %} {% set items = descriptor.get('options') %} {% component 'semantic~panel' %}
{% if action.secret is not empty %} {% endif %} {% if action.allow_http_execution == true %} {% endif %}
{{ labels.id }} {{ action.uuid }}
{{ labels.name }} {{ action.name }}
{{ labels.handler }} {{ action.handler_class }}
{{ (action.package_type == 'extension') ? labels.extension : labels.module }} {{ action.package_name }}
{{ labels.http }} {% if action.allow_http_execution == true %}
{{ labels.on }}
{% else %}
{{ labels.off }}
{% endif %}
{{ labels.secret }} {{ action.secret }}
GET
{{ url('/api/actions/run?name=' ~ action.name,true) }}
POST
PUT
{{ url('/api/actions/run',true) }}

{{ labels.properties }}

{{ component('semantic~properties.details',{ properties: items }) }}
{% endcomponent %}