The pluginUpdate Web API Method
Updates a plugin.
Version: 1.10
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server
Request Parameters:
Parameter |
Type |
Required |
Description |
pluginPackage |
File |
Yes |
Deploy package file. Content type for the file must be ‘application/vnd.zend.pluginpackage’. |
Expected Response Code: 200 OK - Returned for a successful request.
Response Type: plugins
Possible Action Specific Error Codes: This method has no action-specific error codes.
Example
|
RequestPOST /ZendServer/Api/pluginUpdate Response<?xml version="1.0" encoding="UTF-8"?><zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.10"><requestData><apiKeyName>angel.eyes</apiKeyName><method>pluginUpdate</method></requestData><responseData><plugin><id>11</id><name><![CDATA[Zend Framework 3]]></name><version><![CDATA[2.0.0]]></version><type><![CDATA[type_zray, type_mvc]]</type><status><![CDATA[STAGED]]></status><message><![CDATA[]]></message><description><![CDATA[]]></description><creationTime>2015-02-24T15:11:48+02:00</creationTime><creationTimeTimestamp>1424783508</creationTimeTimestamp><servers><pluginServer><id>0</id><status>STAGED</status></pluginServer></servers></plugin></responseData></zendServerAPIResponse>//Error example:<errorData><errorCode>internalServerError</errorCode><errorMessage><![CDATA[The plugin Zend Framework 3 3.0.0 already exists]]></errorMessage></errorData></zendServerAPIResponse> |