List all Packages of a Package Management Environment¶
Use this API to get the list of installed and pending packages in a specific Package Management environment.
<target_env_id> denotes the environment’s ID.
Questions about Package Management provides answers to questions related to adding packages.
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 packages list 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>/list_all_packages"
Sample API Request¶
Here is the sample API request to list packages of a Package Management environment that has 516 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/516/list_all_packages"