30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

The applicationRedeploy Method<br />

Redeploy an existing application, whether in order to fix a problem or to reset an installation. This process<br />

is asynchronous, meaning the initial request will start the redeploy process and the initial response will<br />

show information about the application being redeployed. However, the redeployment process will<br />

proceed after the response is returned. You must continue checking the application status using the<br />

applicationGetStatus method until the process is complete.<br />

Required Permissions: full<br />

HTTP method: POST<br />

Supported by Editions: All<br />

Request Parameters:<br />

Parameter Type Required Description<br />

appId String Yes The application ID you would like to redeploy.<br />

servers Array No A List of server ID's. If defined, the action will be done only on<br />

the servers whose ID's are specified and which are currently<br />

members of the cluster.<br />

ignoreFailures Boolean No Ignore failures during staging or activation if only some<br />

servers report failures. If all servers report failures the<br />

operation will fail in any case.<br />

The default value is FALSE, meaning any failure will return<br />

an error.<br />

Expected Response Code: 202 Accepted - For more information see Response Format.<br />

Response Type: applicationsList<br />

Possible Action Specific Error Codes:<br />

HTTP Code Error Code Description<br />

404 noSuchApplication The provided application ID does not exist.<br />

388

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!