Am trying to get all children of a folder by this following URL where $id is folder id. Am getting all my folder contents but not in the way i want. I want fitst all folders to come on top and then files to come... $url = $this->meta_url."/nodes/".$id."/children?limit=200"; How do i get this ["property1 ASC","property2 DESC", "property3"] type of sorting param in my URL to get the result sorted in the way where i get all folders followed by files... ?
Okay. I was actually getting all (folders and files) of a specific folder with this request... $url = $this->meta_url."nodes/".$id."/children?asset=ALL&tempLink=true"; So i thought i may be able to sort this itself to get folders first and then files...! Anyways thank you for clearing my doubt that i need to make it in 2 queries to get it :)