You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2017/01/09 14:49:56 UTC

svn commit: r1004522 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-web-console/web-console-restful-api.html

Author: buildbot
Date: Mon Jan  9 14:49:56 2017
New Revision: 1004522

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan  9 14:49:56 2017
@@ -1 +1 @@
-1777976
+1777977

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-web-console/web-console-restful-api.html Mon Jan  9 14:49:56 2017
@@ -404,11 +404,14 @@ for a factoryPid <code>com.acme.MyFactor
 <h4 id="delete">Delete<a class="headerlink" href="#delete" title="Permanent link">&para;</a></h4>
 <p>If the parameters <code>apply</code> and <code>delete</code> are sent, the configuration is removed. The values of the parameters is not evaluated.</p>
 <p>Example using <code>curl</code>:</p>
-<p>curl -u admin:admin  -X POST -d "apply=true" -d "delete=true" http://localhost:8080/system/console/configMgr/com.acme.MyPid</p>
+<div class="codehilite"><pre><span class="n">curl</span> <span class="o">-</span><span class="n">u</span> <span class="n">admin</span><span class="p">:</span><span class="n">admin</span>  <span class="o">-</span><span class="n">X</span> <span class="n">POST</span> <span class="o">-</span><span class="n">d</span> &quot;<span class="n">apply</span><span class="p">=</span><span class="n">true</span>&quot; <span class="o">-</span><span class="n">d</span> &quot;<span class="n">delete</span><span class="p">=</span><span class="n">true</span>&quot; <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span class="n">system</span><span class="o">/</span><span class="n">console</span><span class="o">/</span><span class="n">configMgr</span><span class="o">/</span><span class="n">com</span><span class="p">.</span><span class="n">acme</span><span class="p">.</span><span class="n">MyPid</sp
 an>
+</pre></div>
+
+
 <h4 id="unbind">Unbind<a class="headerlink" href="#unbind" title="Permanent link">&para;</a></h4>
 <p>If the parameter <code>unbind</code> is sent, the configuration is unbind.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1777976 by davidb on Mon, 9 Jan 2017 14:47:53 +0000
+        Rev. 1777977 by davidb on Mon, 9 Jan 2017 14:49:42 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project