此内容没有您所选择的语言版本。
13.2.2. List Embedded Cartridges
Description
Get a list of embedded cartridges that have been added to an application. For scaled applications, the API also returns the scaling properties of the cartridge.
Note
List of all embedded cartridges can also be retrieved with the
LIST_APPLICATIONS
resource. See Section 11.6, “List Applications and Cartridges” for more information.
Method and URL Structure
Method | Resource URL |
---|---|
GET | /broker/rest/application/:id/cartridges |
Request Parameters
Not applicable
cURL Command Example
curl -X GET https://openshift.redhat.com/broker/rest/application/534253991015616165707776/cartridges --user user@example.com
$ curl -X GET https://openshift.redhat.com/broker/rest/application/534253991015616165707776/cartridges --user user@example.com
JSON Response
The API returns a list of all embedded cartridges that have been added to the specified application. Related resource links and other cartridges returned by the API have been removed for brevity. See Chapter 13, Cartridges for more information on all cartridge parameters.