Use the Cloud Integration Hub Events REST API to get the details of an event based on the search criteria. The API returns event details and the child events.
Events REST API Request
To get the details of an event, use the following REST API URL:
https://<pod>.<baseUrl>/dih-console/api/v1/events
Where:
•<pod> is the name of the Informatica Intelligent Cloud Services point of delivery (PoD) where you access Cloud Integration Hub. For example: cih-pod1
•<baseUrl> is the Informatica Intelligent Cloud Services URL. For example: dm-us.informaticacloud.com/
The fromDate and toDate must be in UTC Timezone format (yyyy-MM-ddTHH:mm:ss.SSSZ).
firstResult
The number of rows to skip. For example, you might want to skip the first three rows. Default is zero.
maxResults
Enter the maximum number of results to display. Default is 2000.
useExactMatch
Exact match of the search expression when performing the search. Applies to pubSubName, topicName, and applicationName properties.
You can enter one of the following values:
- true
- false
Default is false.
eventType
The type of the event that Cloud Integration Hub generates for the publication or for the subscription. Select the value from the following enum values:
- ALL
- PUBLICATION
- SUBSCRIPTION
- COMPOUND_SUBSCRIPTION
- COMPOUND_PUBLICATION
- UNBOUND_SUBSCRIPTION
- AGGREGATED_SUBSCRIPTION
Default is ALL.
eventStatus
The status of the event that Cloud Integration Hub generates for the publication or for the subscription. Enter one of the following enum values:
The rate limit policy controls the number of times API consumers can invoke the API during a designated time period. This API has a rate limit policy of 5 invocations per minute. Cloud Integration Hub rejects attempts to access the API after it reaches the 5 invocations per minute limit.
Events REST API Response
When you use the Cloud Integration Hub Events API to get the details of a publication or a subscription event, the API returns the following event response:
The following is the response syntax to a request to query the details of an event:
Response header
The Events REST API response includes the following header:
Retry-After - <time in seconds>
Retry-After is the time in seconds to wait before making the follow-up request. Retry-After appears if the response code is TOO_MANY_REQUESTS.
Response body
The Events REST API response includes the following body:
The number of source rows or files that Cloud Integration Hub read successfully.
sourceFailedCount
The number of source rows or files that Cloud Integration Hub failed to read.
targetSuccessCount
The number of target rows or files that Cloud Integration Hub wrote successfully.
targetFailedCount
The number of target rows or files that Cloud Integration Hub failed to write.
runId
Run ID of the associated Data Integration or Mass Ingestion Files task.
Response codes
When you use the Cloud Integration Hub Events API to get the details of an existing event, Cloud Integration Hub returns the response code of the action that you perform in the API response.
The API can return the following response codes:
Code
Description
200
SUCCESS. The request succeeded.
429
TOO_MANY_REQUESTS. The number of failed requests exceeded the allowed limit for your organization.