------------------------------------------------------------ revno: 1095 committer: Morten Olav Hansen <morte...@gmail.com> branch nick: dhis2-docbook-docs timestamp: Sun 2014-06-01 14:30:30 +0200 message: updated docs for /api/system/uid 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-06-01 11:36:13 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-01 12:30:30 +0000 @@ -4165,12 +4165,15 @@ <screen>http://<server-url>/api/system/id?n=3</screen> <para>The <emphasis role="italic">n</emphasis> query parameter is optional and indicates how many identifiers you want to be returned with the response. The default is to return one - identifier. The response will contain a JSON array similar to this:</para> - <screen>[ + identifier. The response will contain a JSON object with a array named codes, similar to + this:</para> + <screen>{ + "codes": [ "Y0moqFplrX4", "WI0VHXuWQuV", "BRJNBBpu4ki" -] </screen> + ] +}</screen> <para>The DHIS 2 UID format has these requirements:</para> <itemizedlist> <listitem>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp