Getting org unit children through /api/metadata


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



On Wed, Oct 29, 2014 at 1:02 PM, Mahendra Kariya 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.