Este conteúdo não está disponível no idioma selecionado.
13.2.6. Start Cartridge
Start an application's embedded cartridge that is not running.
Method | Resource URL |
---|---|
POST | /broker/rest/application/:id/cartridge/:name/events |
Name | Description | Required | Default |
---|---|---|---|
event | Event | Yes |
{ "event": "start" }
{
"event": "start"
}
curl -X POST https://openshift.redhat.com/broker/rest/application/534253991015616165707776/cartridge/mysql-5.5/events --user user@example.com --data-urlencode event=start
$ curl -X POST https://openshift.redhat.com/broker/rest/application/534253991015616165707776/cartridge/mysql-5.5/events --user user@example.com --data-urlencode event=start
The API returns the application resource. Unnecessary information and related resource links returned by the API have been removed for brevity. See Chapter 11, Applications for more information on all application parameters.