Retrieve Error Recovery Jobs
get
/ic/api/integration/v1/monitoring/errors/recoveryJobs
Retrieves a list of recovery jobs created when errored integration instances are resubmitted in a batch.
Request
Query Parameters
-
expand: string
- Includes additional details in the response about integrations, or about connections. Valid values: integration, connection.
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
-
limit: integer(int32)
Use with the offset parameter for paginating through the returned results. The limit is the maximum number of items to return at one time. For example, offset=3&limit=16 indicates to list error instances starting at the 4th item, and the list will contain 16 items.
-
offset: integer(int32)
Use with the limit parameter for paginating through the returned results. Default is 0. The offset is the starting point from which to return records. For example, offset=3&limit=16 indicates to list starting at the 4th item, and the list will contain 16 items.
-
q: string
Filter parameters.
- timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD. Default value is 1h.
- startdate: Custom time range start date/time in UTC format for filtering instances.
- enddate: Custom time range end date/time in UTC format for filtering instances.
- primaryValue: Full or partial recovery job identifier.
Example:
{primaryValue:'4', startdate:'2020-07-15 07:00:00', enddate:'2020-07-08 21:10:00'}
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
Nested Schema : RecoveryJobRs
Type:
Show Source
object
-
created-date: string
(date-time)
Created Date
-
failed-count: integer
(int64)
Failed Count
-
in-progress-count: integer
(int64)
inProgress Count
-
recovered-count: integer
(int64)
Recovered Count
-
total-count: integer
(int64)
Total Count
400 Response
Malformed parameters
500 Response
Server error
Examples
The following example shows how to retrieve error recovery jobs by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Retrieve Error Recovery Jobs
Request:
curl -X GET -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/errors/recoveryJobs?q={'timewindow':'3d'}