In short, the
get_resource_collections function in the API only returns collections if the user running the API call is the one who created the collection. As our featured collection structure is created from an API user, but the "end user" creates their own collections within the tree and uploads resources.
This means that get_resource_collection returns a blank json if the API / script user is running the api call, while the same user as created the collection will get json data in reply with the information required (we need to verify the correct collection structure is used).
Also, both the api user and this end user are both in the same rights group, there are no differences in access. Tested on latest 10.6 as well as 10.7_RC.
Anybody with suggestions of what I'm doing wrong?