List Activity History¶
Use this API to fetch the list of package installation transactions performed on the specified environment.
The following users can make this API call:
Parameters marked in bold are mandatory. Others are optional and have default values.
|env_type||Type of the environment for which the activity history should be fetched.
Valid values are
Request API Syntax¶
curl -X GET -H "X-AUTH-TOKEN: <API-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json" \ "https://api.qubole.com/api/v1.2/package/<target_env_id>/activity_history"
The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.
Sample API Request¶
Here is the sample API request to list package installation activity history of a Package Management environment that has 718 as its ID.
curl -X GET -H "X-AUTH-TOKEN: <API-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json" \ "https://api.qubole.com/api/v1.2/package/718/activity_history"