app/views/foreman_tasks/api/tasks/show.json.rabl in foreman-tasks-5.0.0 vs app/views/foreman_tasks/api/tasks/show.json.rabl in foreman-tasks-5.1.0
- old
+ new
@@ -1,8 +1,8 @@
object @task if @task
extends 'api/v2/layouts/permissions'
attributes :id, :label, :pending, :action
-attributes :username, :started_at, :ended_at, :state, :result, :progress
+attributes :username, :started_at, :ended_at, :duration, :state, :result, :progress
attributes :input, :output, :humanized, :cli_example, :start_at
node(:available_actions) { |t| { cancellable: t.execution_plan&.cancellable?, resumable: t.resumable? } }