Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
11.15. Restart Application
Restart a running application.
Method | URL Structure |
---|---|
POST | /broker/rest/application/:id/events |
Name | Description | Required | Default |
---|---|---|---|
event | Event | Yes |
{ "event": "restart" }
{
"event": "restart"
}
curl -X POST https://openshift.redhat.com/broker/rest/application/534253991015616165707776/events --user user@example.com:password --data-urlencode event=restart
$ curl -X POST https://openshift.redhat.com/broker/rest/application/534253991015616165707776/events --user user@example.com:password --data-urlencode event=restart
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.