Summarize Steps
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}/executions/{executionId}/steps/actions/summarize
Action to summarize Steps KPIs. Parameters summarizeBy with list of items to summarizeand optionally creationTime attributes to set date/time boundries. Possible summarize By values are status. Without parameters return total count.
Request
Path Parameters
-
executionId(required): string
Job execution id, or `all` only for endpoints that explicitly support cross-execution lookup. Use `all` when the user asks for steps across all executions and does not specify an execution id. For ListSteps, if the user asks for all steps, steps with errors, or steps across jobs and does not provide an execution id, set this required path parameter to `all`. Use `all` on GetStep when the user supplies a concrete step id but does not supply an execution id. Do not leave the placeholder value `{executionId}` in the URL. If the user asks for a single execution resource, execution targets, or execution parameters, call ListExecutions first to resolve a real execution id.
-
jobId(required): string
Job id, or `all` only for endpoints that explicitly support cross-job lookup. Use `all` when the user asks for executions or steps across all jobs and does not specify a job id. For ListSteps, if the user asks for all steps, steps with errors, or steps across executions and does not provide a job id, set this required path parameter to `all`. Use `all` on GetExecution when the user supplies a concrete execution id but does not supply a job id. Use `all` on GetStep when the user supplies a concrete step id but does not supply a job id. Do not leave the placeholder value `{jobId}` in the URL. If the user asks for a single job resource, job targets, or job parameters, call ListJobs first to resolve a real job id.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectA on object json body for summarize of executions and steps
Show Source
-
endTime: string
end date
-
endTimeGreaterThan: string
start date time greater than
-
endTimeLessThan: string
start date time less than
-
startTime: string
start date time
-
startTimeGreaterThan: string
start date time greater than
-
startTimeLessThan: string
start date time less than
Match All
A on object json body for summarize of executions and steps
Show Source
Nested Schema : Summarize
Type:
objectAn object representing summarizing result
Show Source
-
summarizeBy(required): array
summarizeBy
List of filters to summarize on
Nested Schema : summarizeBy
Type:
arrayList of filters to summarize on
Show Source
-
Array of:
string
filter to summarize on
Response
Supported Media Types
- application/json
200 Response
Result of the execution summarize
Root Schema : SummarizeResult
Type:
arrayAn json object returned as result of summarize actions
Show Source
Nested Schema : items
Type:
Show Source
object-
items: object
SummarizeResultItem
Item returned as result of summarize actions for specific summarizeBy parameter
Nested Schema : SummarizeResultItem
Type:
objectItem returned as result of summarize actions for specific summarizeBy parameter
Show Source
-
items: array
items
list of calculated values
-
summarizeBy: string
filter on which we are doing summary
-
total(required): string
total number of summarized items by specific filter
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported