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
Path Parameters
Body ()
Root Schema : pluginInfo
Type: object
Show Source
Nested Schema : pluginClusterMember
Type: array
Show Source
Nested Schema : pluginClusterMember
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : pluginInfo
Type: object
Show Source
Nested Schema : pluginClusterMember
Type: array
Show Source
Nested Schema : pluginClusterMember
Type: object
Show Source

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
Back to Top

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>
Back to Top