Re: Inline-relations-depth truncates the objects if the objects' size >50


Gwenn Etourneau
 

inline-relations-depth are already deprecated.

You need to work on supporting multiple call.

On Thu, Jan 21, 2016 at 2:18 PM, sukhil patil <sukhilpatil(a)gmail.com> wrote:

Hi,

I am making REST API call to list spaces
"/v2/organizations/orgGuid/spaces?inline-relations-depth=1".
Response will list all the space relations such as array of
apps,routes,users,service_instances.
If the length of any relation's array exceeds 50,response truncates it.
For example if service_instance for a space exceeds 50, service_instance
property will be missing from the JSON response.
To get the service_instance we have to fire another call.

Is there any workaround or it is a limitation with inlining??

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.