Update Plug-in Information
put
/rest/{versionId}/admin/plugins/{pluginId}
Use this (PUT) method to update information about the plug-in.
Request
Supported Media Types
- application/xml
- application/json
Path Parameters
Root Schema : pluginInfo
Type:
Show Source
object
-
clusterMembers(optional):
array pluginClusterMember
-
description(optional):
string
-
emPluginAPIVersion(optional):
string
-
id(optional):
string
-
name(optional):
string
-
packageName(optional):
string
-
previousVersion(optional):
string
-
product(optional):
string
-
restPrefixName(optional):
string
-
type(optional):
string
-
vendor(optional):
string
-
version(optional):
string
Response
Supported Media Types
- application/xml
- application/json
200 Response
successful operation
Root Schema : pluginInfo
Type:
Show Source
object
-
clusterMembers(optional):
array pluginClusterMember
-
description(optional):
string
-
emPluginAPIVersion(optional):
string
-
id(optional):
string
-
name(optional):
string
-
packageName(optional):
string
-
previousVersion(optional):
string
-
product(optional):
string
-
restPrefixName(optional):
string
-
type(optional):
string
-
vendor(optional):
string
-
version(optional):
string
400 Response
The user input is invalid.
401 Response
The session ID is invalid.
403 Response
There is no permission to access the resources.
404 Response
The object (resource URI, device, and so on) of your input request cannot be found.
500 Response
Internal server error
Examples
The following example shows how to update information for a specified product plugin by submitting a PUT request on the REST resource using cURL. For more information about cURL, see Use cURL
<curl>
Example of cURL Data
The following shows an example of cURL data sent with the request.
curl -v -b sessionid.txt -X PUT -d@plugin/updatePlugin.xml -H"Content-Type: application/xml" -H"Accept: application/xml" http://localhost:8080/rest/v1.1/admin/plugins/ID6
Example of Request Body
The following shows an example of the user request body input in XML format.
<?xml version="1.0" encoding="UTF-8"?> <pluginInfo> <description>This is a test</description> </pluginInfo>
Example of Response Body
The following example shows the contents of the response body in XML format.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <pluginInfo> <pluginClusterMembers> <pluginClusterMember> <clusterMemberStatus>ACTIVE</clusterMemberStatus> <ipAddress>10.196.0.194</ipAddress> <lastModifiedDate>2017-09-07 12:21:34</lastModifiedDate> <pluginStatus>INSTALLED</pluginStatus> <uploadedDate>2017-09-07 12:02:31</uploadedDate> </pluginClusterMember> </pluginClusterMembers> <description>This is a test</description> <emPluginAPIVersion>1B1.0</emPluginAPIVersion> <id>ID6</id> <name>AcmeSD</name> <packageName>sd1.0_Package.zip</packageName> <product>Session Delivery</product> <type>EMS</type> <vendor>Oracle</vendor> <version>1.0</version> </pluginInfo>