dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #34888
Re: Field filters on /api/metadata
Hi Mahendra
I'm hoping to have it support object/field filter in the future, hopefully
as soon as 2.19 (but could be 2.20). It will be done as part of the dxf2
importer refactor / object filter criteria optimisation.
On Mon Jan 05 2015 at 3:08:51 PM Mahendra Kariya <
mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:
> Thanks for the prompt reply!!
>
> By the way, are you guys planning to make the filtering consistent with
> other /api calls in the near future?
>
> On Mon, Jan 5, 2015 at 1:26 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
> wrote:
>
>> This is not supported, you can try with ?organisationUnits=false
>>
>> On Mon 5 Jan 2015 at 05:06 Mahendra Kariya <
>> mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> We want the entire metadata without organisationUnits. We tried to GET
>>> /api/metadata?fields=:all,!organisationUnits. But the response has all the
>>> org units.
>>>
>>> Is this a bug? Or is this intended?
>>>
>>>
>>>
>>> Thanks,
>>> Mahendra.
>>>
>>
>
Follow ups
References