← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 907: document add, update, delete interpretation comments

 

------------------------------------------------------------
revno: 907
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Fri 2013-12-27 14:36:11 +0100
message:
  document add, update, delete interpretation comments
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	2013-12-27 12:57:14 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-12-27 13:36:11 +0000
@@ -1229,6 +1229,21 @@
     </section>
   </section>
   <section>
+    <title>Adding, Updating and Deleting interpretation comments</title>
+    <para>
+      <emphasis role="bold">Adding comments to existing interpretation:</emphasis>
+      <screen>POST "plain-text comment" to /api/interpretations/ID/comments</screen>
+    </para>
+    <para>
+      <emphasis role="bold">Updating comment in existing interpretation:</emphasis>
+      <screen>PUT "plain-text comment" to /api/interpretations/ID/comments/ID</screen>
+    </para>
+    <para>
+      <emphasis role="bold">Deleting comment in existing interpretation:</emphasis>
+      <screen>DELETE /api/interpretations/ID/comments/ID</screen>
+    </para>
+  </section>
+  <section>
     <title>Viewing analytical resource representations</title>
     <para>DHIS 2 has several resources for data analysis. These resources include <emphasis
         role="italic">charts</emphasis>, <emphasis role="italic">maps</emphasis>, <emphasis