Retrieve Monitoring Data for an Integration
get
/ic/api/integration/v1/monitoring/integrations/{id}
Retrieves a monitoring integration with the specified identifier and version.
Request
Path Parameters
-
id(required): string
Integration identifier and version.
Query Parameters
-
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.
-
q: string
Filter parameter.
- timewindow: 1h, 6h, 1d, 2d, 3d, RETENTIONPERIOD. Default value is 1h.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
Root Schema : MonitoringIntegrationsRs
Type:
Show Source
object
-
data-fetch-time: string
(date-time)
Data Fetch Time
-
items: array
items
List of Monitoring Integration
-
time-window: string
Time Window
-
total-results: integer
(int64)
Total Results
Nested Schema : MonitoringIntegrationBaseRs-allOf[3]
Type:
Show Source
object
-
flowStatus: string
-
lastUpdated: string
(date-time)
-
lastUpdatedString: string
-
mepType: string
-
nextRunDateString: string
-
noOfAborted: integer
-
noOfErrors: integer
-
noOfMsgsProcessed: integer
-
noOfMsgsReceived: integer
-
noOfSuccess: integer
-
optimizedVersion: string
-
scheduleApplicable: boolean
-
scheduleDefined: boolean
-
scheduleStatus: string
-
successRate: number
400 Response
Malformed parameters
404 Response
Integration not found
500 Response
Server error
Examples
The following examples show how to get monitoring data about an integration 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: Get monitoring data for the integration HELLO_WORLD|01.02.0000
The id is in the form: code%7Cversion
. The %7C is the encoded | (vertical line).
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/integrations/HELLO_WORLD%7C01.02.0000?integrationInstance=service-instance
Example: Get monitoring data for the integration HELLO_WORLD|01.02.0000 for the past day
The id is in the form: code%7Cversion
. The %7C is the encoded | (vertical line).
curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={timewindow: '1d'}" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/integrations/HELLO_WORLD%7C01.02.0000?integrationInstance=service-instance