GetTaskErrorsResponse GetTasksErrors(ctx, optional)
This provides a error list in a time range
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *GetTasksErrorsOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a GetTasksErrorsOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| startTime | optional.Int64 | The unix timestamp, describing the start time for the stats | |
| endTime | optional.Int64 | The unix timestamp, describing the end time for the stats | |
| taskID | optional.Interface of string | filter by taskID | |
| jobID | optional.Interface of string | filter by jobID | |
| errorType | optional.Interface of FailureReasonEnum | filter by errorType (failureReason) | |
| offset | optional.Int32 | the number of records to skip before getting the result set | |
| limit | optional.Int32 | the number of records to return. | [default to 100] |
| orderBy | optional.String | the field to sort. It should be in [createdDateTime, modifiedDateTime] | [default to createdDateTime] |
| direction | optional.String | the sort order | [default to DESC] |
Return type
GetTaskErrorsResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json