You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2013/02/21 15:05:40 UTC

svn commit: r1448643 - /felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext

Author: cziegeler
Date: Thu Feb 21 14:05:39 2013
New Revision: 1448643

URL: http://svn.apache.org/r1448643
Log:
CMS commit to felix by cziegeler

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext?rev=1448643&r1=1448642&r2=1448643&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.mdtext Thu Feb 21 14:05:39 2013
@@ -293,13 +293,33 @@ The response on those actions not taking
 
 ## Services Plugin
 
-
 TBD
 
 
 ## Configuration Admin Plugin
 
-
 TBD
 
+### POST Requests
+
+Configuration handling is done based on the PID of the configuration. Each POST can either contain the PID as a suffix like `../PID`or with the parameter `pid`. The parameter `pidFilter` might contain an additional filter expression.
+For the action to execute, the following options are tested, one after the other. As soon as one is executed, the request is processed.
+#### Create
+
+If the parameter `create`is sent, a new configuration with the PID is created. The value of the parameter is not evaluated.
+
+#### Apply
+
+If the parameter `apply` is sent, the configuration is changed. The value of the parameter is not evaluated.
+The parameter `factoryPid` might contain the factory pid.
+The parameter `propertyList` contains a comma-separated list of all configuration property names that will be changed by this POST. For each name, the value of the corresponding request parameter is used to set the value. If such a parameter is missing, the property is not changed.
+
+#### Delete
+
+If the parameters `apply` and `delete` are sent, the configuration is removed. The values of the parameters is not evaluated.
+
+#### Unbind
+
+If the parameter `unbind` is sent, the configuration is unbind.
+