List cookbooks and roles
List the cookbooks and roles that have been uploaded to the pattern manager
GET /v1/info/chef
Description
Return a list of all cookbooks and roles that have been uploaded to the pattern manager
Responses
The following table lists API responses:
HTTP Code | Description | Schema |
---|---|---|
200 | Returns the list of cookbooks and roles that reside on the pattern manager. | See example |
403 | The requester has not specified the correct access token in the Authorization HTTP header. | |
500 | An internal error occurred while processing the request. |
Example
The following block is an example of a successful request:
Header: Authorization = Bearer $ACCESS_TOKEN
{
"cookbooks": [
"db2 0.1.36",
"httpd 1.1.27",
"ibm_cloud_utils 0.1.29"
],
"recipes": [
"db2",
"db2::cleanup",
"db2::create_db",
"db2::fixpack",
"db2::gather_evidence",
"db2::harden",
"db2::install",
"db2::license",
"db2::prereq",
"db2::prereq_check",
"httpd",
"httpd::cleanup",
"httpd::config_httpd_conf",
"httpd::config_ssl",
"httpd::config_vhosts",
"httpd::gather_evidence",
"httpd::install",
"httpd::prereq",
"httpd::service",
"ibm_cloud_utils",
"ibm_cloud_utils::gather_evidence",
"ibm_cloud_utils::install",
"ibm_cloud_utils::prereq"
],
"roles": [
"db2_create_db",
"db2_v105_install",
"db2_v111_install",
"httpd24-base-install",
"httpd24-ssl-vhosts"
]
}