← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1025: Maintenance resource

 

------------------------------------------------------------
revno: 1025
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2014-04-16 17:54:42 +0200
message:
  Maintenance resource
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-04-15 10:03:44 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2014-04-16 15:54:42 +0000
@@ -3867,6 +3867,21 @@
     <para>These requests will return immediately and initiate a server-side process.</para>
   </section>
   <section>
+    <title>Maintenance</title>
+    <para>To perform maintenance you can interact with the <emphasis role="italic"
+        >maintenance</emphasis> resource. You should use <emphasis role="italic">POST</emphasis> or
+        <emphasis role="italic">PUT</emphasis> as method for requests. The following requests are
+      available. </para>
+    <para>Period pruning will remove periods which are not linked to any data values:</para>
+    <screen>api/maintenance/periodPruning</screen>
+    <para>Zero data value removal will delete zero data values linked to data elements where zero
+      data is defined as not significant:</para>
+    <screen>api/maintenance/zeroDataValueRemoval</screen>
+    <para>Category option combo update will remove obsolete and generate missing category option
+      combos for all category combinations:</para>
+    <screen>api/maintenance/categoryOptionComboUpdate</screen>
+  </section>
+  <section>
     <title>System resource</title>
     <para>The system resource provides you with convenient information and functions. The system
       resource can be found at <emphasis role="italic">/api/system</emphasis>. </para>