Can I list all apps in all orgs and spaces?

730 views
Skip to first unread message

hai wang

unread,
Oct 17, 2014, 4:11:28 AM10/17/14
to vcap...@cloudfoundry.org
I am new to cf, when i use cf client to list apps, it only list the apps in the space. Can I list all apps in all orgs and spaces? Or should I create a super admin? How to do?

James Bayer

unread,
Oct 17, 2014, 11:13:58 AM10/17/14
to vcap...@cloudfoundry.org
the APIs are documented here:

a recent docs build of the list all apps API page is here:

as an administrator (a user with an OAuth token of cloud_controller.admin) without filters i expect you'd get a paginated response that you could go through to get all apps, but i haven't tried that.

an alternative could be to just loop through each org and filter that way. there are a number of ways to do this.

On Fri, Oct 17, 2014 at 1:11 AM, hai wang <jamee...@gmail.com> wrote:
I am new to cf, when i use cf client to list apps, it only list the apps in the space. Can I list all apps in all orgs and spaces? Or should I create a super admin? How to do?

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/ba0c2dfc-5c4f-4530-a6fc-c02d42829269%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.



--
Thank you,

James Bayer

Doug Davis

unread,
Oct 19, 2014, 12:17:21 PM10/19/14
to vcap...@cloudfoundry.org

https://github.com/cloudfoundry-incubator/admin-ui   makes this easy too.


thanks
-Doug
________________________________________________________
STSM |  Standards Architect  |  IBM Software Group
(919) 254-6905  |  IBM 444-6905  |  d...@us.ibm.com
The more I'm around some people, the more I like my dog.


Inactive hide details for James Bayer ---10/17/2014 11:14:06 AM---the APIs are documented here: http://apidocs.cloudfoundry.orgJames Bayer ---10/17/2014 11:14:06 AM---the APIs are documented here: http://apidocs.cloudfoundry.org/

Nguyen Anh Tu

unread,
Nov 3, 2014, 11:45:58 PM11/3/14
to vcap...@cloudfoundry.org
Could you successfully call API list apps? How to?
Reply all
Reply to author
Forward
0 new messages