------------------------------------------------------------ revno: 1157 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2-docbook-docs timestamp: Wed 2014-07-23 14:41:51 +0200 message: Minor 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-07-23 12:35:35 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-07-23 12:41:51 +0000 @@ -381,7 +381,7 @@ role="italic">property</emphasis> is the property on the meta-data you want to filter on, <emphasis role="italic">operator</emphasis> is the comparison operator you want to perform and <emphasis role="italic">value</emphasis> is the value to check against (not all operators - require value). Please see the <emphasis role="italic">schema</emphasis> section to discover + require value). Please see the <emphasis role="italic">schema</emphasis> section to discover which properties are available. Recursive filtering, ie. filtering on associated objects or collection of objects, are supported as well.<table> <title>Available Operators</title> @@ -476,8 +476,8 @@ format <emphasis role="italic">?fields=id,name,dataSets[id,name]</emphasis> which would return <emphasis role="italic">id</emphasis>, <emphasis role="italic">name</emphasis> of the root, and the <emphasis role="italic">id</emphasis> and <emphasis role="italic">name</emphasis> of - every dataSet on that object. Negation can be done with the exclamation operator, and we have - a set of presets of field select (see below).</para> + every data set on that object. Negation can be done with the exclamation operator, and we have + a set of presets of field select (see below). Both XML and JSON are supported.</para> <para><emphasis role="bold">Example</emphasis>: Get <emphasis role="italic">id</emphasis> and <emphasis role="italic">name</emphasis> on the indicators resource:<screen>/api/indicators?fields=id,name</screen></para>
_______________________________________________ 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