API and Libraries
Cloud Foundry's Cloud Controller component implements a REST API for querying and managing a Cloud Foundry environment. The full REST API is documented in the reference section of this site.
There are libraries available that provide language-specific bindings to the Cloud Controller REST API.
Java Client Library (
The Cloud Foundry Client Library provides a Java API for interacting with a Cloud Foundry instance. This library is used by the Cloud Foundry Maven plugin, the Cloud Foundry Gradle plugin, the Cloud Foundry STS integration, and other Java-based tools.
For information about using this library, see the Java Cloud Foundry Library page.
Ruby gem (cfoundry)
For an introduction to using this library to manage applications on Cloud Foundry see the CFoundry Ruby Gem page.