The enablePlugins Web API Method

Enable plugin entries.

Version: 1.10

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

plugins

Array

Yes

Identifier list of plugins.

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

Usage Example

Request

POST /ZendServer/Api/enablePlugins

Response

<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.10">
	<requestData>
		<apiKeyName>angel.eyes</apiKeyName>
		<method>pluginGetList</method>
	</requestData>
	<responseData>
		<plugins>
			<plugin>
				<id>9</id>
				<name><![CDATA[Zend Framework 1]]></name>
				<version><![CDATA[1.0.0]]></version>
				<type><![CDATA[type_zray, type_mvc]]</type>
				<status><![CDATA[WAITING_FOR_ENABLE]]></status>
				<message><![CDATA[]]></message>
				<description><![CDATA[]]></description>
				<creationTime>2015-02-17T13:05:38+02:00</creationTime>
				<creationTimeTimestamp>1424171138</creationTimeTimestamp>
				<servers>
					<pluginServer>
						<id>0</id>
						<status>WAITING_FOR_ENABLE</status>
					</pluginServer>
				</servers>
			</plugin>
		</plugins>
	</responseData>
</zendServerAPIResponse>