← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1131: Minor

 

------------------------------------------------------------
revno: 1131
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2014-07-09 11:08:34 +0200
message:
  Minor
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2014-07-09 08:10:45 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2014-07-09 09:08:34 +0000
@@ -4255,7 +4255,7 @@
     <screen>api/maintenance/categoryOptionComboUpdate</screen>
     <para>Cache clearing will clear the application Hibernate cache and the analytics partition
       caches:</para>
-    <screen>api/maintenance/cacheClearing</screen>
+    <screen>api/maintenance/cache</screen>
   </section>
   <section>
     <title>System resource</title>
@@ -5048,12 +5048,14 @@
       </listitem>
     </itemizedlist>
     <para>To insert Javascript from a file called <emphasis role="italic">script.js</emphasis> you
-      can interact with the <emphasis role="italic">files/script</emphasis> resource:</para>
+      can interact with the <emphasis role="italic">files/script</emphasis> resource with a
+      POST-request:</para>
     <screen>curl -d @script.js "localhost/api/files/script" -H "Content-Type:application/javascript" -u system:System123 -v</screen>
     <para>You can fetch the Javascript content with a GET-request:</para>
     <screen>localhost/api/files/script</screen>
     <para>To insert CSS from a file called <emphasis role="italic">style.css</emphasis> you can
-      interact with the <emphasis role="italic">files/style</emphasis> resource:</para>
+      interact with the <emphasis role="italic">files/style</emphasis> resource with a
+      POST-request:</para>
     <screen>curl -d @style.css "localhost/api/files/style" -H "Content-Type:text/css" -u system:System123 -v</screen>
     <para>You can fetch the CSS content with a GET-request:</para>
     <screen>localhost/api/files/style</screen>