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@...>
Hey, Sir Zooba. Sorry for the late response.toggle quoted message Show quoted text
You can find the description of Cloud Controller API here . 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 cf-example.com<http://cf-example.com> domain, then you’ll need to use http://api.cf-example.com 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 .
On Sep 30, 2015, at 7:32 PM, zooba Sir <myfakename90(a)gmail.com<mailto:myfakename90(a)gmail.com>> wrote:
Also, please let me know how to call the API in my code.