Re: API to get instance details at the space level


Ronak Banka
 

Hi,

For detailed info, you have to iterate over app endpoint for each app in
space.

Thanks
Ronak

On Tue, Jan 17, 2017 at 19:21 Patil, Sukhil <sukhil.patil(a)sap.com> wrote:

Thanks for your quick response paolo but the apps
call(/v2/spaces/$space-id/apps) will not give any information about
instances like this


https://apidocs.cloudfoundry.org/242/apps/get_the_instance_information_for_a_started_app.html
.



-----Original Message-----

From: Stivanin, Paolo [mailto:paolo.stivanin(a)sap.com]

Sent: 17 January, 2017 3:07 PM

To: Discussions about Cloud Foundry projects and the system overall. <
cf-dev(a)lists.cloudfoundry.org>

Subject: [cf-dev] Re: API to get instance details at the space level



Hi,

You can query /v2/spaces/$space-id/apps.



BR,



Paolo





On 17/01/2017, 10:28, "Sukhil Patil" <sukhil.patil(a)sap.com> wrote:



Hi,



We are interested in getting app instance details for all apps within
a space. space summary
'/v2/spaces/50ae42f6-346d-4eca-9e97-f8c9e04d5fbe/summary' call gives only
info about 'running_instances' and 'instances', but not about instance
status such as RUNNING, STARTING and so on.

So is there any way where we can achieve this with a single API call ??





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