Retrieve the Activity Stream (Deprecated)
get
/ic/api/integration/v1/monitoring/activityStream
Retrieves a list of activities. This API has been deprecated since November 2020. Use the API Retrieve all activity stream messages instead.
Request
Supported Media Types
- application/json; charset=utf-8
Query Parameters
-
recordSize: string
Filter parameter.
- recordSize: Number of activity stream records to fetch based on the last integration that executed. If recordSize is 10, retrieves the latest 10 activity stream records.
Example:
/activityStream?recordSize=20
Response
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
400 Response
Malformed parameters
500 Response
Server error
Examples
The following examples show how to retrieve the activity stream for integration instances 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 the activity stream for integration instances
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/activityStream
Example: Get the latest 20 lines in the activity stream for integration instances
This command returns the latest 20 lines in the activity stream.
curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -d "recordSize=20" https://integration.us.oraclecloud.com/ic/api/integration/v1/monitoring/activityStream