← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 798: Made the current user resource explanation a bit more general

 

------------------------------------------------------------
revno: 798
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2013-09-04 15:58:59 +0200
message:
  Made the current user resource explanation a bit more general
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-09-02 18:13:06 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-09-04 13:58:59 +0000
@@ -2202,16 +2202,12 @@
 }</screen>
   </section>
   <section>
-    <title>API for third party data entry client</title>
-    <para>DHIS 2 includes many APIs for fetching resouces from the system. These can be data
-      elements, indicators, organisation units, etc, but this API is not really well suited when you
-      want to build your own third party client and only need information specific to the users
-      assigned data sets / programs. From DHIS 2.13, we also support an additional API for easily
-      building your own data entry client. This API is only available in JSON, since a third party
-      client in most cases these days will be a mobile client, or a client written in
-      JavaScript.</para>
-    <para>All the APIs for this have a starting point at <emphasis role="italic"
-        >http://&lt;server-url>/api/currentUser/*</emphasis>:</para>
+    <title>User information and associations</title>
+    <para>In order to get information about the currently authenticated user and its associations to
+      other resources you can work with the <emphasis role="italic">currentUser</emphasis> resource.
+      The current user related resources gives your information which is useful when building
+      clients for instance for data entry and user management. The following describes these
+      resources and their purpose.</para>
     <para><emphasis role="bold">http://&lt;server-url>/api/currentUser</emphasis> Gives basic
       information about the user that you are currently logged in as, including username, user
       credentials, assigned organisation units.</para>