Getting org unit children through /api/metadata

Hi

The metadata endpoint is mainly for doing complete dumps. If you want advanced filtering etc, you will need to use /api/organisationUnits

···


Morten

On Wed, Oct 29, 2014 at 1:02 PM, Mahendra Kariya mahendra.kariya@thoughtworks.com wrote:

Hi Morten,

We are trying to get the entire metadata, along with the org unit children. We tried GETting http://localhost:8080/api/metadata?fields=organisationUnits=[:all,children],:all, but org unit object doesn’t include children. Could you please help us correct the filters in this API so that we can get org units with children.

Thanks,

Mahendra