Re: my app needs to get the number of instances in which its running, (in runtime my app uses this info in my program logic)

Alexander Lomov <alexander.lomov@...>

Actually I made a mistake here. The gem you may to use as a API wrapper for Ruby is called cfoundry [1]. While it may not have support for the latest versions of CF, I was able to use it in may projects. For instance this simple app [2].


On Sep 30, 2015, at 8:11 PM, Lomov Alexander <alexander.lomov(a)<mailto:alexander.lomov(a)>> wrote:

Hey, Sir Zooba. Sorry for the late response.

You can find the description of Cloud Controller API here [1]. You can make requests to your Cloud Controller through Gorouter component adding “api.” before main CF domain. For instance if you have CF deployment to<> domain, then you’ll need to use<> to reach CC.

The better option will be to use API wrappers for the language you work with. For instance for ruby you can choose this one [2].


On Sep 30, 2015, at 7:32 PM, zooba Sir <myfakename90(a)<mailto:myfakename90(a)>> wrote:

Also, please let me know how to call the API in my code.


Join { to automatically receive all group messages.