이 콘텐츠는 선택한 언어로 제공되지 않습니다.
13.2.5. Get Cartridge Status
Description
Retrieve the status_messages string as an array for the specified cartridge in an application.
Method and URL Structure
| Method | Resource URL |
|---|---|
GET | /broker/rest/domain/:name/applications/:name/cartridge/:name |
Request Parameters
Not applicable
cURL Command Example
$ curl -X GET https://openshift.redhat.com/broker/rest/domain/mydomain/applications/myapp/cartridge/mysql-5.5?include=status_messages --user user@example.com
JSON Response
The API returns the status_messages string as an array for the specified cartridge in an application. Unnecessary information and related resource links returned by the API have been removed for brevity.
"status_messages": [
{
"gear_id": "51142f5adbd93ce16a0005c4",
"message": "MySQL is running\n"
}
],