Deploy a new library version to the server or cluster. This process is asynchronous – the initial request will wait until the library is uploaded and verified, and the initial response will show information about the library being deployed – however the staging and activation process will proceed after the response is returned. The user is expected to continue checking the library version status using the libraryVersionGetStatus method until the deployment process is complete.
Note:
When the last library version from some library is removed the library itself is removed also.
Version: 1.5
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Because this method is expected to contain a file upload, parameters are expected to be encoded using the ‘multipart/form-data’ content type.
Parameter |
Type |
Required |
Description |
libPackage |
File |
Yes |
Library package file. Content type for the file must be library/vnd.zend.librarypackage’. |
ignoreFailures |
Boolean |
No |
Ignore failures during removing library versions if only some servers reported failures; If all servers report failures the operation will fail in any case. The default value is FALSE – meaning any failure will return an error. |
Expected Response Code: 202 Accepted - For more information see Response Format.
Response Type: libraryStatus
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
400 |
invalidParameter |
A value provided for a parameter is invalid. |
|
Request
Response
|
|
|
|
Related Links: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.