dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27278
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 936: Interpretation comments inside interpretation section
------------------------------------------------------------
revno: 936
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2014-01-02 22:01:32 +0100
message:
Interpretation comments inside interpretation section
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-01-02 20:58:53 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-01-02 21:01:32 +0000
@@ -1328,21 +1328,21 @@
<para>You can also write interpretations for report tables in a similar way by interacting with the <ulink url="http://app.dhis2.org/demo/api/interpretations/reportTable/{reportTableId}"/>. For report tables you can also provide an optional <emphasis role="italic">ou</emphasis> query parameter to supply an organisation unit identifier in the case where the report table has an organisation unit report parameter:</para>
<screen>curl -d "This table reveals poor data quality" "http://apps.dhis2.org/demo/api/interpretations/reportTable/xIWpSo5jjT1?ou=O6uvpzGd5pu" -H "Content-Type:text/plain" -u admin:district -v</screen>
</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>
+ <title>Creating, updating and removing interpretation comments</title>
+ <para>
+ Creating comments to existing interpretations:
+ <screen>POST "plain-text comment" to /api/interpretations/ID/comments</screen>
+ </para>
+ <para>
+ Updating comments in existing interpretations:
+ <screen>PUT "plain-text comment" to /api/interpretations/ID/comments/ID</screen>
+ </para>
+ <para>
+ Removing comments in existing interpretations:
+ <screen>DELETE /api/interpretations/ID/comments/ID</screen>
+ </para>
+ </section>
</section>
<section>
<title>Viewing analytical resource representations</title>