Download OpenAPI specification:
Welcome to the Cloud Foundry V3 API documentation. Version 3 introduces several key features, including the ability to run one-off tasks on Cloud Foundry, support for applications with multiple processes defined via a Procfile, direct access to application packages and droplets, and the ability to update application source code without stopping the app through deployments.
For help or questions regarding the API, the CAPI team is best reached through our Slack channel. If you encounter issues with the API or its documentation, please consider submitting a GitHub issue in the cloud_controller_ng repository. We recommend using Slack first, as we are most responsive there.
Additional resources include the deprecated but still available Cloud Foundry V2 API, documentation on running tasks, and the source code for the V3 API documentation and OpenAPI specification.
AppFeatures provide additional capabilities and configurations for apps. These features can include things like auto-scaling, health checks, and custom domains. AppFeatures enhance the functionality of apps by allowing developers to enable or disable specific features based on their requirements. They can be managed through endpoints that allow for enabling, disabling, and retrieving the status of app features.
Apps represent the core entities in the Cloud Foundry environment. They are the deployable units that run your code. Each app can have multiple processes, routes, and services associated with it. Apps can be scaled horizontally by increasing the number of instances. They can also be updated and restarted as needed. The lifecycle of an app includes stages such as staging, starting, running, and stopping. Apps can be managed through various endpoints that allow for creation, updating, deletion, and retrieval of app details.
Retrieve all apps the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| names | Array of strings Comma-delimited list of app names to filter by |
| space_guids | Array of strings Comma-delimited list of space GUIDs to filter by |
| organization_guids | Array of strings Comma-delimited list of organization GUIDs to filter by |
| stacks | Array of strings Comma-delimited list of stack names to filter by |
| lifecycle_type | string Enum: "buildpack" "cnb" "docker" Lifecycle type to filter by |
| include | Array of strings Items Enum: "space" "space.organization" Optionally include a list of unique related resources in the response |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Creates a new app.
App object that needs to be created
| name required | string Name of the app |
object Environment variables to be used for the App when running | |
object (Lifecycle) Provides the lifecycle object for the application | |
required | object |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "environment_variables": {
- "property1": "string",
- "property2": "string"
}, - "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Retrieve a specific app.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "space" "space.organization" Optionally include a list of unique related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Update an app.
| guid required | string <uuid> The unique identifier for the resource |
App object that needs to be updated
| name | string Name of the app |
object Environment variables to be used for the App when running | |
object (Lifecycle) Lifecycle to be used when updating the app; note | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "environment_variables": {
- "property1": "string",
- "property2": "string"
}, - "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Start an app.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Stop an app.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint will synchronously stop and start an application. Unlike the start and stop actions, this endpoint will error if the app is not successfully stopped in the runtime. For restarting applications without downtime, see the deployments resource.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Get the current droplet for an app.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}This endpoint retrieves the current droplet relationship for an app.
| guid required | string <uuid> The unique identifier for the resource |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}Set the current droplet for an app. The current droplet is the droplet that the app will use when running.
| guid required | string <uuid> The unique identifier for the resource |
Droplet relationship object that needs to be set
required | object (Relationship) |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}This endpoint will delete the buildpack cache for a specified app. The buildpack cache is used during staging by buildpacks as a way to cache certain resources, e.g. downloaded Ruby gems. A user may want to use this endpoint when an app doesn’t stage anymore due to out-of-disk caused by a large buildpack cache content.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Retrieve the environment variables that will be provided to an app at runtime. It will include environment variables for Environment Variable Groups and Service Bindings.
| guid required | string <uuid> The unique identifier for the resource |
{- "staging_env_json": { },
- "running_env_json": { },
- "environment_variables": {
- "property1": "string",
- "property2": "string"
}, - "system_env_json": { },
- "application_env_json": { }
}Retrieve the environment variables that are associated with the given app. For the entire list of environment variables that will be available to the app at runtime, see the env endpoint.
| guid required | string <uuid> The unique identifier for the resource |
{- "var": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}Update the environment variables associated with the given app. The variables given in the request will be merged with the existing app environment variables. Any requested variables with a value of null will be removed from the app. Environment variable names may not start with VCAP_. PORT is not a valid environment variable. The updated environment variables will not take effect until the app is restarted.
| guid required | string <uuid> The unique identifier for the resource |
Update environment variables for the app.
object Environment variables to inject; keys and values must be strings |
{- "var": {
- "property1": "string",
- "property2": "string"
}
}{- "var": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}This endpoint retrieves the list of features for the specified app.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Get an app feature.
| guid required | string <uuid> The unique identifier for the resource |
| name required | string Enum: "ssh" "revisions" "service-binding-k8s" "file-based-vcap-services" name identifier |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Update an app feature.
| guid required | string <uuid> The unique identifier for the resource |
| name required | string Enum: "ssh" "revisions" "service-binding-k8s" "file-based-vcap-services" name identifier |
Update the named app feature, enabling or disabling it.
| enabled | boolean |
{- "enabled": true
}{- "code": 0,
- "detail": "string",
- "title": "string"
}Get the current user’s permissions for the given app. If a user can see an app, then they can see its basic data. Only admin, read-only admins, and space developers can read sensitive data.
| guid required | string <uuid> The unique identifier for the resource |
{- "read_basic_data": true,
- "read_sensitive_data": true
}Returns if an application’s runtime environment will accept ssh connections. If ssh is disabled, the reason field will describe whether it is disabled globally, at the space level, or at the app level.
| guid required | string <uuid> The unique identifier for the resource |
{- "enabled": true,
- "reason": "string"
}AppUsageEvents track the usage and activity of apps within the Cloud Foundry environment. These events provide insights into app lifecycle changes, such as creation, deletion, scaling, and crashes. AppUsageEvents are useful for monitoring and auditing purposes, helping administrators understand how apps are being used and identify any issues. They can be retrieved through endpoints that provide detailed information about each event.
Retrieve all app usage events.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| after_guid | string Filters out events before and including the event with the given guid |
| guids | Array of strings Comma-delimited list of usage event guids to filter by |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": {
- "current": "string",
- "previous": "string"
}, - "app": {
- "guid": "string",
- "name": "string"
}, - "process": {
- "guid": "string",
- "type": "string"
}, - "space": {
- "guid": "string",
- "name": "string"
}, - "organization": {
- "guid": "string"
}, - "buildpack": {
- "guid": "string",
- "name": "string"
}, - "task": {
- "guid": "string",
- "name": "string"
}, - "memory_in_mb_per_instance": {
- "current": 0,
- "previous": 0
}, - "instance_count": {
- "current": 0,
- "previous": 0
}
}
]
}Retrieve a specific app usage event.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": {
- "current": "string",
- "previous": "string"
}, - "app": {
- "guid": "string",
- "name": "string"
}, - "process": {
- "guid": "string",
- "type": "string"
}, - "space": {
- "guid": "string",
- "name": "string"
}, - "organization": {
- "guid": "string"
}, - "buildpack": {
- "guid": "string",
- "name": "string"
}, - "task": {
- "guid": "string",
- "name": "string"
}, - "memory_in_mb_per_instance": {
- "current": 0,
- "previous": 0
}, - "instance_count": {
- "current": 0,
- "previous": 0
}
}Destroys all existing events. Populates new usage events, one for each started app. All populated events will have a created_at value of current time. There is the potential race condition if apps are currently being started, stopped, or scaled. The seeded usage events will have the same guid as the app.
{- "code": 0,
- "detail": "string",
- "title": "string"
}AuditEvents capture significant actions and changes within the Cloud Foundry environment. These events include actions performed by users, such as creating, updating, or deleting resources. AuditEvents provide a comprehensive audit trail that helps administrators track changes and ensure compliance with organizational policies. They can be retrieved through endpoints that provide detailed information about each event, including the user who performed the action and the affected resources.
Retrieve all audit events the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| types | Array of strings Items Enum: "audit.app.apply_manifest" "audit.app.build.create" "audit.app.copy-bits" "audit.app.create" "audit.app.delete-request" "audit.app.deployment.cancel" "audit.app.deployment.create" "audit.app.deployment.continue" "audit.app.droplet.create" "audit.app.droplet.delete" "audit.app.droplet.download" "audit.app.droplet.mapped" "audit.app.droplet.upload" "audit.app.environment.show" "audit.app.environment_variables.show" "audit.app.map-route" "audit.app.package.create" "audit.app.package.delete" "audit.app.package.download" "audit.app.package.upload" "audit.app.process.crash" "audit.app.process.create" "audit.app.process.delete" "audit.app.process.ready" "audit.app.process.not-ready" "audit.app.process.rescheduling" "audit.app.process.scale" "audit.app.process.terminate_instance" "audit.app.process.update" "audit.app.restage" "audit.app.restart" "audit.app.revision.create" "audit.app.revision.environment_variables.show" "audit.app.ssh-authorized" "audit.app.ssh-unauthorized" "audit.app.start" "audit.app.stop" "audit.app.task.cancel" "audit.app.task.create" "audit.app.unmap-route" "audit.app.update" "audit.app.upload-bits" "audit.organization.create" "audit.organization.delete-request" "audit.organization.update" "audit.route.create" "audit.route.delete-request" "audit.route.share" "audit.route.transfer-owner" "audit.route.unshare" "audit.route.update" "audit.service.create" "audit.service.delete" "audit.service.update" "audit.service_binding.create" "audit.service_binding.delete" "audit.service_binding.show" "audit.service_binding.start_create" "audit.service_binding.start_delete" "audit.service_binding.update" "audit.service_broker.create" "audit.service_broker.delete" "audit.service_broker.update" "audit.service_dashboard_client.create" "audit.service_dashboard_client.delete" "audit.service_instance.bind_route" "audit.service_instance.create" "audit.service_instance.delete" "audit.service_instance.purge" "audit.service_instance.share" "audit.service_instance.show" "audit.service_instance.start_create" "audit.service_instance.start_delete" "audit.service_instance.start_update" "audit.service_instance.unbind_route" "audit.service_instance.unshare" "audit.service_instance.update" "audit.service_key.create" "audit.service_key.delete" "audit.service_key.show" "audit.service_key.start_create" "audit.service_key.start_delete" "audit.service_key.update" "audit.service_plan.create" "audit.service_plan.delete" "audit.service_plan.update" "audit.service_plan_visibility.create" "audit.service_plan_visibility.delete" "audit.service_plan_visibility.update" "audit.service_route_binding.create" "audit.service_route_binding.delete" "audit.service_route_binding.start_create" "audit.service_route_binding.start_delete" "audit.service_route_binding.update" "audit.space.create" "audit.space.delete-request" "audit.space.update" "audit.user.organization_auditor_add" "audit.user.organization_auditor_remove" "audit.user.organization_billing_manager_add" "audit.user.organization_billing_manager_remove" "audit.user.organization_manager_add" "audit.user.organization_manager_remove" "audit.user.organization_user_add" "audit.user.organization_user_remove" "audit.user.space_auditor_add" "audit.user.space_auditor_remove" "audit.user.space_developer_add" "audit.user.space_developer_remove" "audit.user.space_manager_add" "audit.user.space_manager_remove" "audit.user.space_supporter_add" "audit.user.space_supporter_remove" "audit.user_provided_service_instance.create" "audit.user_provided_service_instance.delete" "audit.user_provided_service_instance.show" "audit.user_provided_service_instance.update" "app.crash" "blob.remove_orphan" Comma-delimited list of event types to filter by |
| target_guids | Array of strings Comma-delimited list of target guids to filter by. Also supports filtering by exclusion. |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "actor": {
- "guid": "string",
- "type": "string",
- "name": "string"
}, - "target": {
- "guid": "string",
- "type": "string",
- "name": "string"
}, - "data": { },
- "space": {
- "guid": "string"
}, - "organization": {
- "guid": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Retrieve a specific audit event.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "actor": {
- "guid": "string",
- "type": "string",
- "name": "string"
}, - "target": {
- "guid": "string",
- "type": "string",
- "name": "string"
}, - "data": { },
- "space": {
- "guid": "string"
}, - "organization": {
- "guid": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Buildpacks are responsible for detecting, compiling, and packaging apps in the Cloud Foundry environment. They provide the necessary runtime and dependencies for the app to run. Buildpacks can be customized and extended to support different languages and frameworks. They can be managed through endpoints that allow for creation, updating, deletion, and retrieval of buildpack details.
Retrieve all buildpacks.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| names | Array of strings Comma-delimited list of buildpack names to filter by |
| stacks | Array of strings Comma-delimited list of stacks to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "AWAITING_UPLOAD",
- "stack": "string",
- "lifecycle": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "filename": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a buildpack.
Buildpack object that needs to be added
| name required | string The name of the buildpack |
| stack | string The name of the stack that the buildpack will use |
| position | integer The order in which the buildpacks are checked during buildpack auto-detection |
| lifecycle | string The version of buildpack the buildpack will use. |
| enabled | boolean Whether or not the buildpack will be used for staging |
| locked | boolean Whether or not the buildpack is locked to prevent updating the bits |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "stack": "string",
- "position": 0,
- "lifecycle": "string",
- "enabled": true,
- "locked": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "AWAITING_UPLOAD",
- "stack": "string",
- "lifecycle": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "filename": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a buildpack.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "AWAITING_UPLOAD",
- "stack": "string",
- "lifecycle": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "filename": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}
}Update a buildpack.
| guid required | string <uuid> The unique identifier for the resource |
Buildpack object that needs to be updated
| name | string The name of the buildpack |
| position | integer The order in which the buildpacks are checked during buildpack auto-detection |
| enabled | boolean Whether or not the buildpack will be used for staging |
| locked | boolean Whether or not the buildpack is locked to prevent updating the bits |
| stack | string The name of the stack that the buildpack will use |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "stack": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "AWAITING_UPLOAD",
- "stack": "string",
- "lifecycle": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "filename": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}
}Upload a zip file containing a Cloud Foundry compatible buildpack. The file must be sent as part of a multi-part form.
| guid required | string <uuid> The unique identifier for the resource |
The buildpack file to be uploaded
| bits | string <binary> |
Array of objects |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "AWAITING_UPLOAD",
- "stack": "string",
- "lifecycle": "string",
- "position": 0,
- "enabled": true,
- "locked": true,
- "filename": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}
}Builds represent the process of transforming source code into a runnable artifact. In Cloud Foundry, builds are created using buildpacks, which provide the necessary dependencies and configurations for the app. Builds can be triggered manually or automatically as part of the app deployment process. They can be managed through endpoints that allow for creation, updating, deletion, and retrieval of build details.
Retrieve all builds.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| states | Array of strings Items Enum: "STAGING" "STAGED" "FAILED" Comma-delimited list of build states to filter by |
| app_guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| package_guids | Array of strings Comma-delimited list of package GUIDs to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a build.
Build object that needs to be created
required | object (Relationship) |
object (Lifecycle) The lifecycle type defines how the application droplet is created and run. The following lifecycle types are supported: - buildpack: Traditional buildpacks for Cloud Foundry applications. - cnb: Cloud Native Buildpacks that are OCI-compliant. - docker: Run pre-built Docker images. | |
| staging_memory_in_mb | integer Memory in MB allocated for staging of the build |
| staging_disk_in_mb | integer Disk space in MB allocated for staging of the build |
| staging_log_rate_limit_bytes_per_second | integer Log rate limit in bytes per second allocated for staging of the build |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a build.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}Update a build.
| guid required | string <uuid> The unique identifier for the resource |
Update build properties such as metadata.
| state | string Enum: "STAGING" "STAGED" "FAILED" State of the build |
| staging_memory_in_mb | integer or null Memory in MB allocated for staging of the build |
| staging_disk_in_mb | integer or null Disk space in MB allocated for staging of the build |
| staging_log_rate_limit_bytes_per_second | integer Log rate limit in bytes per second allocated for staging of the build |
| error | string or null A string describing errors during the build process |
object (Lifecycle) Provides the lifecycle object to use during staging | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}Retrieve all builds for an app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| states | Array of strings Items Enum: "STAGING" "STAGED" "FAILED" Comma-delimited list of build states to filter by |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}
]
}Update a build.
| guid required | string <uuid> The unique identifier for the resource |
Build object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "STAGING",
- "staging_memory_in_mb": 0,
- "staging_disk_in_mb": 0,
- "staging_log_rate_limit_bytes_per_second": 0,
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "relationships": { },
- "package": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "created_by": {
- "guid": "string",
- "name": "string",
- "email": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "droplet": {
- "href": "string",
- "method": "string"
}
}
}Deployments represent the process of deploying apps to the Cloud Foundry environment. They include stages such as staging, starting, and running the app. Deployments can be triggered manually or automatically as part of the app lifecycle. They can be managed through endpoints that allow for creation, updating, deletion, and retrieval of deployment details.
Retrieve all deployments.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| app_guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| states | Array of strings Comma-delimited list of states to filter by |
| status_reasons | Array of strings Items Enum: "DEPLOYING" "PAUSED" "CANCELING" "DEPLOYED" "CANCELED" "SUPERSEDED" Comma-delimited list of status reasons to filter by |
| status_values | Array of strings Items Enum: "ACTIVE" "FINALIZED" Comma-delimited list of status values to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}
]
}When you create a new deployment you can either provide a specific droplet or revision to deploy. If no revision or droplet is provided, the droplet associated with the app is deployed.
Deployment object that needs to be created
| relationships | object (Relationships) Relationships represent associations between resources. When relationships are mutable, they can be used to create, read, update, and delete these associations. An app’s relationship to its current droplet is mutable, but an app’s relationship to its space is not. Relationships do not affect the fundamental properties of a resource, but may affect their behavior and permissions logic. Relationships are tied to the lifecycles of the associated resources and will be removed if either of the associated resources are deleted. For example, if a user is removed from an organization, both the user and the organization persist, but the relationship between them does not. Not all resources implement every relationship operation demonstrated in the examples below. See the docs for each resource to see how it interacts with its relationships. Endpoints that return relationship data list this information under the relationships key. The relationship object The relationship object is a key-value pair that uniquely identifies a resource. In practice this is almost always the guid of a resource. |
| strategy | string Enum: "rolling" "canary" |
object (Relationship) | |
object (Relationship) | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "relationships": { },
- "strategy": "rolling",
- "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a deployment.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}Update a deployment.
| guid required | string <uuid> The unique identifier for the resource |
Deployment object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}Cancel a deployment.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}Continue a deployment.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "status": {
- "value": "ACTIVE",
- "reason": "DEPLOYING",
- "details": {
- "last_successful_healthcheck": "2019-08-24T14:15:22Z",
- "last_status_change": "2019-08-24T14:15:22Z"
}
}, - "strategy": "rolling",
- "options": {
- "max_in_flight": 0
}, - "droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "previous_droplet": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "new_processes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "type": "string"
}
], - "revision": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "version": 0
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "cancel": {
- "href": "string",
- "method": "string"
}
}
}Domains represent the DNS domains used to route traffic to apps in the Cloud Foundry environment. They can be shared or private, and can be associated with specific organizations or spaces. Domains can be managed through endpoints that allow for creation, updating, deletion, and retrieval of domain details.
Retrieve all domains the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of GUIDs to filter by |
| names | Array of strings Comma-delimited list of domain names to filter by |
| organization_guids | Array of strings Comma-delimited list of owning organization GUIDs to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a domain.
Domain object that needs to be created
| name required | string Name of the domain |
| internal | boolean Whether the domain is used for internal (container-to-container) traffic |
object The desired router group guid. note: creates a | |
object | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "shared_organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a domain.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}Update a domain.
| guid required | string <uuid> The unique identifier for the resource |
Domain object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}Check if a specific route for a domain exists, regardless of the user’s visibility for the route in case the route belongs to a space the user does not belong to.
| guid required | string <uuid> The unique identifier for the resource |
| host | string Hostname to filter by |
| path | string Path to filter by |
| port | integer Port to filter by |
{- "matching_route": true
}Retrieve all domains available in an organization for the current user. This will return unscoped domains (those without an owning organization), domains that are scoped to the given organization (owned by the given organization), and domains that have been shared with the organization.
To retrieve the default domain for an organization, use the get default domain endpoint.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| names | Array of strings Comma-delimited list of domain names to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
]
}Droplets are the runnable artifacts created from builds in the Cloud Foundry environment. They contain the compiled code and dependencies needed to run the app. Droplets can be managed through endpoints that allow for creation, updating, deletion, and retrieval of droplet details.
Retrieve all droplets belonging to an app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of droplet guids to filter by |
| states | Array of strings Items Enum: "AWAITING_UPLOAD" "PROCESSING_UPLOAD" "STAGED" "COPYING" "FAILED" "EXPIRED" Comma-delimited list of droplet states to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}
]
}Retrieve all droplets.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of droplet GUIDs to filter by |
| states | Array of strings Items Enum: "AWAITING_UPLOAD" "PROCESSING_UPLOAD" "STAGED" "COPYING" "FAILED" "EXPIRED" Comma-delimited list of droplet states to filter by |
| app_guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| space_guids | Array of strings Comma-delimited list of space GUIDs to filter by |
| organization_guids | Array of strings Comma-delimited list of organization GUIDs to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}
]
}This endpoint is only for creating a droplet without a package. To create a droplet based on a package, see Create a build.
Droplet object that needs to be created
required | object |
| process_types | object Process names and start commands for the droplet |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}Retrieve a droplet.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}Update a droplet.
| guid required | string <uuid> The unique identifier for the resource |
Droplet object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. | |
| image required | string Image reference where the built complete image was stored |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "image": "string"
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}Delete a droplet.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "operation": "string",
- "state": "PROCESSING",
- "errors": [
- {
- "code": 0,
- "detail": "string",
- "title": "string"
}
], - "warnings": [
- {
- "detail": "string"
}
], - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "manifest": {
- "href": "string",
- "method": "string"
}, - "service_brokers": {
- "href": "string",
- "method": "string"
}, - "service_credential_binding": {
- "href": "string",
- "method": "string"
}, - "service_instances": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}
}
}Download a gzip compressed tarball file containing a Cloud Foundry compatible droplet.
When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the bits. If the client is automatically following redirects, then the OAuth token that was used to communicate with Cloud Controller will be relayed on the new redirect request. Some blobstores may reject the request in that case. Clients may need to follow the redirect without including the OAuth token.
Only droplets that are in the STAGED state and have lifecycle type buildpack can be downloaded.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Upload a gzip compressed tarball file containing a Cloud Foundry compatible droplet. The file must be sent as part of a multi-part form.
| guid required | string <uuid> The unique identifier for the resource |
The droplet file to be uploaded
| bits | string <binary> |
Array of objects |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}Retrieve a list of droplets belonging to a package.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of droplet guids to filter by |
| states | Array of strings Comma-delimited list of droplet states to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "state": "string",
- "error": "string",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "execution_metadata": "string",
- "process_types": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "package": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "assign_current_droplet": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}
}, - "checksum": {
- "type": "string",
- "value": "string"
}, - "buildpacks": [
- {
- "name": "string",
- "detect_output": "string",
- "version": "string",
- "buildpack_name": "string"
}
], - "stack": "string",
- "image": "string"
}
]
}EnvironmentVariableGroups represent collections of environment variables that can be applied to apps in the Cloud Foundry environment. They provide a way to manage and share common configurations across multiple apps. EnvironmentVariableGroups can be managed through endpoints that allow for creation, updating, deletion, and retrieval of environment variable group details.
Retrieve an environment variable group.
| name required | string Enum: "running" "staging" name identifier |
{- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "var": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Update the environment variable group. The variables given in the request will be merged with the existing environment variable group. Any requested variables with a value of null will be removed from the group. Environment variable names may not start with VCAP_. PORT is not a valid environment variable.
Variables updated in the running environment variable group will not take effect until apps are restarted.
| name required | string Enum: "running" "staging" name identifier |
The environment variables to update
object Environment variables to inject; keys and values must be strings |
{- "var": {
- "property1": "string",
- "property2": "string"
}
}{- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "var": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}FeatureFlags provide a way to enable or disable specific features in the Cloud Foundry environment. They allow administrators to control the availability of features based on organizational requirements. FeatureFlags can be managed through endpoints that allow for enabling, disabling, and retrieving the status of feature flags.
Retrieve all feature_flags.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| updated_ats | string Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "name": "string",
- "enabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_error_message": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Get a feature flag.
| name required | string Enum: "app_bits_upload" "app_scaling" "diego_docker" "diego_cnb" "env_var_visibility" "hide_marketplace_from_unauthenticated_users" "private_domain_creation" "resource_matching" "route_creation" "route_sharing" "service_instance_creation" "service_instance_sharing" "set_roles_by_username" "space_developer_env_var_visibility" "space_scoped_private_broker_creation" "task_creation" "unset_roles_by_username" "user_org_creation" The name of the feature flag |
{- "name": "string",
- "enabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_error_message": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Update a feature flag.
| name required | string Enum: "app_bits_upload" "app_scaling" "diego_docker" "diego_cnb" "env_var_visibility" "hide_marketplace_from_unauthenticated_users" "private_domain_creation" "resource_matching" "route_creation" "route_sharing" "service_instance_creation" "service_instance_sharing" "set_roles_by_username" "space_developer_env_var_visibility" "space_scoped_private_broker_creation" "task_creation" "unset_roles_by_username" "user_org_creation" The name of the feature flag |
Feature flag object that needs to be updated
| enabled | boolean Whether the feature flag is enabled |
| custom_error_message | string The error string returned by the API when a client performs an action disabled by the feature flag |
{- "enabled": true,
- "custom_error_message": "string"
}{- "name": "string",
- "enabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "custom_error_message": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}The Info endpoint provides information about the Cloud Foundry environment, including version details, API endpoints, and other metadata. It is useful for understanding the capabilities and configuration of the environment. The Info endpoint can be accessed to retrieve detailed information about the Cloud Foundry deployment.
{- "name": "string",
- "build": "string",
- "version": 0,
- "description": "string",
- "cli_version": {
- "minimum": "string",
- "recommended": "string"
}, - "custom": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "support": {
- "href": "string",
- "method": "string"
}
}
}This endpoint retrieves a high-level summary of usage across the entire Cloud Foundry installation.
{- "usage_summary": {
- "started_instances": 0,
- "memory_in_mb": 0,
- "routes": 0,
- "service_instances": 0,
- "reserved_ports": 0,
- "domains": 0,
- "per_app_tasks": 0,
- "service_keys": 0
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}IsolationSegments provide a way to isolate apps and resources within the Cloud Foundry environment. They allow for the creation of isolated environments with dedicated resources, such as compute, storage, and networking. IsolationSegments can be managed through endpoints that allow for creation, updating, deletion, and retrieval of isolation segment details.
Retrieves all isolation segments to which the user has access. For admin, this is all the isolation segments in the system. For anyone else, this is the isolation segments in the allowed list for any organization to which the user belongs.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of isolation segment guids to filter by. |
| names | Array of strings Comma-delimited list of isolation segment names to filter by. |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create an isolation segment.
Isolation segment to create
| name required | string Name of the isolation segment; isolation segment names must be unique across the entire system, and case is ignored when checking for uniqueness |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}Retrieve an isolation segment to which the user has access. For admin, this is any isolation segment in the system. For anyone else, this is an isolation segment in the allowed list for any organization to which the user belongs.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}Update an isolation segment.
| guid required | string <uuid> The unique identifier for the resource |
Isolation segment to update
| name | string The name of the isolation segment |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}An isolation segment cannot be deleted if it is entitled to any organization.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint entitles the specified organizations for the isolation segment. In the case where the specified isolation segment is the system-wide shared segment, and if an organization is not already entitled for any other isolation segment, then the shared isolation segment automatically gets assigned as the default for that organization.
| guid required | string <uuid> The unique identifier for the resource |
List of organizations to entitle
Array of objects (Relationship) |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}This endpoint lists the organizations entitled for the isolation segment. For an Admin, this will list all entitled organizations in the system. For any other user, this will list only the entitled organizations to which the user belongs.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}This endpoint revokes the entitlement for the specified organization to the isolation segment. If the isolation segment is assigned to a space within an organization, the entitlement cannot be revoked. If the isolation segment is the organization’s default, the entitlement cannot be revoked.
| guid required | string <uuid> The unique identifier for the resource |
| org_guid required | string <uuid> The GUID of the organization to revoke entitlement from. |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint lists the spaces to which the isolation segment is assigned. For an Admin, this will list all associated spaces in the system. For an org manager, this will list only those associated spaces belonging to orgs for which the user is a manager. For any other user, this will list only those associated spaces to which the user has access.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}Jobs represent asynchronous operations in the Cloud Foundry environment. They are used for tasks that may take a long time to complete, such as app deployments, service provisioning, and data migrations. Jobs can be managed through endpoints that allow for creation, updating, deletion, and retrieval of job details.
Retrieve a specific job.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "operation": "string",
- "state": "PROCESSING",
- "errors": [
- {
- "code": 0,
- "detail": "string",
- "title": "string"
}
], - "warnings": [
- {
- "detail": "string"
}
], - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "manifest": {
- "href": "string",
- "method": "string"
}, - "service_brokers": {
- "href": "string",
- "method": "string"
}, - "service_credential_binding": {
- "href": "string",
- "method": "string"
}, - "service_instances": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}
}
}Manifests provide a way to define the configuration and deployment details of apps in the Cloud Foundry environment. They include information such as app name, buildpack, environment variables, and services. Manifests can be used to automate the deployment and management of apps. They can be managed through endpoints that allow for creation, updating, deletion, and retrieval of manifest details.
Generate a manifest for an app and its underlying processes.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}OrganizationQuotas define the resource limits and constraints for organizations in the Cloud Foundry environment. They include limits on memory, instances, routes, and services. OrganizationQuotas can be managed through endpoints that allow for creation, updating, deletion, and retrieval of organization quota details.
This endpoint lists all organization quota resources.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| guids | Array of strings Comma-delimited list of organization quota guids to filter by |
| names | Array of strings Comma-delimited list of organization quota names to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "relationships": {
- "organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}
]
}This endpoint creates a new organization quota, but does not assign it to a specific organization unless an organization GUID is provided in the relationships.organizations parameter.
To create an organization quota you must be an admin.
Organization quota object that needs to be created
| name required | string Name of the quota |
object Quotas that affect applications and application sub-resources | |
object Quotas that affect services | |
object Quotas that affect routes | |
object Quotas that affect domains | |
object | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "relationships": {
- "organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "relationships": {
- "organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}This endpoint gets an individual organization quota resource.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "relationships": {
- "organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}This endpoint will only update the parameters specified in the request body. Any unspecified parameters will retain their existing values.
| guid required | string <uuid> The unique identifier for the resource |
Organization quota object that needs to be updated
| name | string Name of the quota |
object Quotas that affect applications and application sub-resources | |
object Quotas that affect services | |
object Quotas that affect routes | |
object Quotas that affect domains | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "per_process_memory_in_mb": 0,
- "total_memory_in_mb": 0,
- "total_instances": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "domains": {
- "total_domains": 0
}, - "relationships": {
- "organizations": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organizations": {
- "href": "string",
- "method": "string"
}
}
}Organization quotas cannot be deleted when applied to any organizations.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint applies an organization quota to one or more organizations.
Only admin users can apply an organization quota to an organization.
| quota_guid required | string <uuid> quota_guid identifier |
Apply the organization quota to the given organizations.
Array of objects (Relationship) |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}Organizations represent the top-level entities in the Cloud Foundry environment. They provide a way to group and manage resources, such as apps, spaces, and users. Organizations can be managed through endpoints that allow for creation, updating, deletion, and retrieval of organization details.
Retrieve all organizations the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| names | Array of strings Comma-delimited list of organization names to filter by |
| guids | Array of strings Comma-delimited list of organization guids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create an organization.
Organization object that needs to be created
| name required | string Organization name |
| suspended | boolean Whether an organization is suspended or not |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "suspended": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}This endpoint retrieves the specified organization object.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}Update an organization.
| guid required | string <uuid> The unique identifier for the resource |
Organization object that needs to be updated
| name | string Organization name |
| suspended | boolean Whether an organization is suspended or not |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "suspended": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}When an organization is deleted, user roles associated with the organization will also be deleted.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Retrieve the default domain for a given organization.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}This endpoint retrieves the specified organization object's memory and app instance usage summary.
| guid required | string <uuid> The unique identifier for the resource |
{- "usage_summary": {
- "started_instances": 0,
- "memory_in_mb": 0,
- "routes": 0,
- "service_instances": 0,
- "reserved_ports": 0,
- "domains": 0,
- "per_app_tasks": 0,
- "service_keys": 0
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}
}
}Retrieve all users with a role in the specified organization.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| guids | Array of strings Comma-delimited list of user guids to filter by |
| usernames | Array of strings Comma-delimited list of usernames to filter by |
| origins | Array of strings Comma-delimited list of user origins to filter by |
| partial_usernames | Array of strings Comma-delimited list of partial usernames to filter by |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Retrieve the default isolation segment for a given organization.
| guid required | string <uuid> The unique identifier for the resource |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}Set the default isolation segment for a given organization. Only isolation segments that are entitled to the organization are eligible to be the default isolation segment.
Apps will not run in the new default isolation segment until they are restarted.
| guid required | string <uuid> The unique identifier for the resource |
Set or clear the default isolation segment relationship for the organization.
Relationship (object) or null |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}Packages represent the source code and dependencies of apps in the Cloud Foundry environment. They are used to create builds and droplets. Packages can be managed through endpoints that allow for creation, updating, deletion, and retrieval of package details.
Retrieve all packages.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of package guids to filter by |
| states | Array of strings Items Enum: "AWAITING_UPLOAD" "PROCESSING_UPLOAD" "READY" "FAILED" "COPYING" "EXPIRED" Comma-delimited list of package states to filter by |
| types | Array of strings Items Enum: "bits" "docker" Comma-delimited list of package types to filter by |
| app_guids | Array of strings Comma-delimited list of app guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a package.
Package object that needs to be created or copied. When copying (source_guid query parameter is provided), only relationships.app is required. When creating a new package, type and relationships.app are required.
| type | string Enum: "bits" "docker" Type of the package; valid values are bits or docker. Required when creating a new package (when source_guid is not provided). Not required when copying a package (when source_guid is provided). |
object Data for package type | |
required | object |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "type": "bits",
- "data": {
- "image": "string",
- "username": "string",
- "password": "string"
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a package.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}Update a package.
| guid required | string <uuid> The unique identifier for the resource |
Package object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. | |
| username | string The username for the image’s registry. Only possible for Docker package. |
| password | string The password for the image’s registry. Only possible for Docker package. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "username": "string",
- "password": "string"
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}Retrieve packages for an app that the user has access to.
| guid required | string <uuid> The unique identifier for the resource |
| guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| states | Array of strings Items Enum: "AWAITING_UPLOAD" "PROCESSING_UPLOAD" "READY" "FAILED" "COPYING" "EXPIRED" Comma-delimited list of package states to filter by |
| types | Array of strings Items Enum: "bits" "docker" Comma-delimited list of package types to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}
]
}This upload endpoint takes a multi-part form requests for packages of type bits. The request requires either a .zip file uploaded under the bits field or a list of resource match objects under the resources field. These field may be used together.
| guid required | string <uuid> The unique identifier for the resource |
Upload package bits as a multipart form to stage the package content.
| bits | string <binary> |
Array of objects |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "bits",
- "data": {
- "error": "string",
- "checksum": {
- "type": "string",
- "value": "string"
}, - "image": "string",
- "username": "string",
- "password": "string"
}, - "state": "AWAITING_UPLOAD",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "upload": {
- "href": "string",
- "method": "string"
}, - "download": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}This endpoint downloads the bits of an existing package.
When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the bits. If the client is automatically following redirects, then the OAuth token that was used to communicate with Cloud Controller will be replayed on the new redirect request. Some blobstores may reject the request in that case. Clients may need to follow the redirect without including the OAuth token.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Processes represent the runnable units of apps in the Cloud Foundry environment. They include information such as command, instances, memory, and disk. Processes can be managed through endpoints that allow for creation, updating, deletion, and retrieval of process details.
Retrieve all processes.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of process guids to filter by |
| types | Array of strings Comma-delimited list of process types to filter by |
| app_guids | Array of strings Comma-delimited list of app guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
{- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}
]
}Get a process.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Update a process.
| guid required | string <uuid> The unique identifier for the resource |
Process object that needs to be updated
| command | string or null The command used to start the process; use null to revert to the buildpack-detected or procfile-provided start command |
object (HealthCheck) The health check to perform on the process | |
object (HealthCheck) The readiness health check to perform on the process | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "command": "string",
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Get stats for a process.
| guid required | string <uuid> The unique identifier for the resource |
{- "resources": [
- {
- "type": "string",
- "index": 0,
- "state": "RUNNING",
- "host": "string",
- "uptime": 0,
- "mem_quota": 0,
- "disk_quota": 0,
- "log_rate_limit": 0,
- "usage": {
- "time": "2019-08-24T14:15:22Z",
- "cpu": 0,
- "mem": 0,
- "disk": 0,
- "log_rate": 0
}
}
]
}Scale a process.
| guid required | string <uuid> The unique identifier for the resource |
Scale a process by updating instance count and or resource limits.
| instances | integer or null or string |
| memory_in_mb | integer or null or string |
| disk_in_mb | integer or null or string |
| log_rate_limit_in_bytes_per_second | integer or null or string |
{- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Terminate an instance of a specific process. Health management will eventually restart the instance.
This allows a user to stop a single misbehaving instance of a process.
| guid required | string <uuid> The unique identifier for the resource |
| index required | integer index identifier |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Retrieves all processes belonging to an app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
{- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}
]
}Get a specific process for an app.
| guid required | string <uuid> The unique identifier for the resource |
| type required | string type identifier |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Update a specific process for an app.
| guid required | string <uuid> The unique identifier for the resource |
| type required | string type identifier |
Process object that needs to be updated
| command | string or null The command used to start the process; use null to revert to the buildpack-detected or procfile-provided start command |
object (HealthCheck) The health check to perform on the process | |
object (HealthCheck) The readiness health check to perform on the process | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "command": "string",
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Get stats for a specific process for an app.
| guid required | string <uuid> The unique identifier for the resource |
| type required | string type identifier |
{- "resources": [
- {
- "type": "string",
- "index": 0,
- "state": "RUNNING",
- "host": "string",
- "uptime": 0,
- "mem_quota": 0,
- "disk_quota": 0,
- "log_rate_limit": 0,
- "usage": {
- "time": "2019-08-24T14:15:22Z",
- "cpu": 0,
- "mem": 0,
- "disk": 0,
- "log_rate": 0
}
}
]
}Scale a specific process for an app.
| guid required | string <uuid> The unique identifier for the resource |
| type required | string type identifier |
Scale an app process of the given type by updating instance count and or resource limits.
| instances | integer or null or string |
| memory_in_mb | integer or null or string |
| disk_in_mb | integer or null |
| log_rate_limit_in_bytes_per_second | integer or null |
{- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "type": "string",
- "command": "string",
- "user": "string",
- "instances": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "readiness_health_check": {
- "type": "port",
- "data": {
- "timeout": 0,
- "invocation_timeout": 0,
- "interval": 0,
- "endpoint": "string"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "revision": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "scale": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "stats": {
- "href": "string",
- "method": "string"
}
}
}Terminate a specific process instance for an app.
| guid required | string <uuid> The unique identifier for the resource |
| type required | string type identifier |
| index required | integer index identifier |
{- "code": 0,
- "detail": "string",
- "title": "string"
}ResourceMatches provide a way to identify and reuse existing resources in the Cloud Foundry environment. They help optimize resource usage by matching new resources with existing ones. ResourceMatches can be managed through endpoints that allow for creation, updating, deletion, and retrieval of resource match details.
This endpoint returns a list of cached resources from the input list.
This endpoint matches given resource SHA-1/file size pairs against the Cloud Controller cache and reports the subset that describes already cached files. This is usually used to avoid uploading duplicate files when pushing an app which has only been partially changed. The path and mode fields are not used when matching.
When uploading package bits, the response from this endpoint should be used as the resources form field. As such, it is useful to include the path and mode fields for each resource even though they are not used when determining a resource match.
Cloud Foundry operators may set minimum/maximum file sizes to match against. If the file size provided is outside this range, it will not be matched against.
If the resource_matching feature flag is disabled, resource matching will always return an empty array.
Provide resource descriptors to check which resources already exist on the Cloud Foundry blobstore.
required | Array of objects List of resources to check for in the resource cache |
{- "resources": [
- {
- "checksum": {
- "value": "string"
}, - "size_in_bytes": 0,
- "path": "string"
}
]
}{- "resources": [
- {
- "checksum": {
- "value": "string"
}, - "size_in_bytes": 0,
- "path": "string",
- "mode": "string"
}
]
}Revisions represent the versions of apps in the Cloud Foundry environment. They provide a way to track and manage changes to apps over time. Revisions can be managed through endpoints that allow for creation, updating, deletion, and retrieval of revision details.
Retrieve a revision.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": 0,
- "description": "string",
- "droplet": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "enabled": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}
}
}Update a revision.
| guid required | string <uuid> The unique identifier for the resource |
Revision object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": 0,
- "description": "string",
- "droplet": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "enabled": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}
}
}Retrieve the environment variables that are associated with the revision.
| guid required | string <uuid> The unique identifier for the resource |
{- "var": {
- "property1": "string",
- "property2": "string"
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "revision": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}
}Retrieve revisions for an app the user has access to.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| versions | Array of strings Comma-delimited list of revision versions to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": 0,
- "description": "string",
- "droplet": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "enabled": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}
}
}
]
}Retrieve deployed revisions for an app the user has access to. Deployed revisions are revisions that are linked to started processes in the app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "version": 0,
- "description": "string",
- "droplet": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "enabled": true,
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}
}
}
]
}Roles define the permissions and access levels for users in the Cloud Foundry environment. They include roles such as admin, developer, and auditor. Roles can be managed through endpoints that allow for creation, updating, deletion, and retrieval of role details.
This endpoint lists roles that the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of role guids to filter by |
| types | Array of strings Items Enum: "organization_user" "organization_auditor" "organization_manager" "organization_billing_manager" "space_auditor" "space_developer" "space_manager" "space_supporter" Comma-delimited list of role types to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| user_guids | Array of strings Comma-delimited list of user guids to filter by |
| include | Array of strings Items Enum: "user" "space" "organization" Optionally include additional related resources in the response; valid values are |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint creates a new role for a user in an organization or space.
To create an organization role you must be an admin or organization manager in the organization associated with the role.
To create a space role you must be an admin, an organization manager in the parent organization of the space associated with the role, or a space manager in the space associated with the role.
For a user to be assigned a space role, the user must already have an organization role in the parent organization.
If the associated user is valid but does not exist in Cloud Controller’s database, a user resource will be created automatically.
If CAPI property cc.allow_user_creation_by_org_manager is enabled, the organization role is being created by username + origin and the user does not exist in UAA yet, the user will be created. The origin must be different from uaa in this case.
Role to create
| type | string Enum: "organization_user" "organization_auditor" "organization_manager" "organization_billing_manager" "space_auditor" "space_developer" "space_manager" "space_supporter" Role to create |
object |
{- "type": "organization_user",
- "relationships": {
- "user": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}This endpoint gets an individual role resource.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "user" "space" "organization" Optionally include additional related resources in the response; valid values are |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}The Root endpoint provides the entry point for the Cloud Foundry API. It includes links to all the available resources and endpoints. The Root endpoint can be accessed to retrieve detailed information about the Cloud Foundry API and its capabilities.
{- "links": {
}
}Routes represent the network endpoints used to access apps in the Cloud Foundry environment. They include information such as domain, path, and port. Routes can be managed through endpoints that allow for creation, updating, deletion, and retrieval of route details. By specifying routes, applications can define how they are accessed by end-users, ensuring traffic is directed to the appropriate application instances.
Retrieve all routes the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| protocols | Array of strings Items Enum: "http" "tcp" Comma-delimited list of protocols to filter by |
| hosts | Array of strings Comma-delimited list of hosts to filter by |
| paths | Array of strings Comma-delimited list of paths to filter by |
| ports | Array of integers Comma-delimited list of ports to filter by |
| domain_guids | Array of strings Comma-delimited list of domain GUIDs to filter by |
| space_guids | Array of strings Comma-delimited list of space GUIDs to filter by |
| app_guids | Array of strings Comma-delimited list of app GUIDs to filter by |
| organization_guids | Array of strings Comma-delimited list of organization GUIDs to filter by |
| service_instance_guids | Array of strings Comma-delimited list of service instance GUIDs to filter by |
| include | Array of strings Items Enum: "domain" "space.organization" "space" Optionally include a list of unique related resources in the response |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a route.
Route to create
| host | string The host component for the route; not compatible with routes specifying the |
| path | string The path component for the route; should begin with a |
| port | integer The port the route will listen on; only compatible with routes leveraging a domain that supports the |
required | object |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "host": "string",
- "path": "string",
- "port": 0,
- "relationships": {
- "domain": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}Retrieve all destinations associated with a route.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}Add one or more destinations to a route, preserving any existing destinations.
Weighted destinations (deprecated) cannot be added with this endpoint.
| guid required | string <uuid> The unique identifier for the resource |
A list of route destinations
Array of objects (RouteDestination) List of destinations to add to route; destinations without |
{- "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}Replaces all destinations for a route, removing any destinations not included in the provided list.
Weighted destinations are deprecated. Development of the experimental Istio Service Mesh routing layer was discontinued in 2020 and is no longer supported by the platform. Specifying a weight for a destination will take no effect.
If weighted destinations are provided, however, all destinations provided here must have a weight specified, and all weights for this route must sum to 100. If not, all provided destinations must not have a weight. Mixing weighted and unweighted destinations for a route is not allowed.
| guid required | string <uuid> The unique identifier for the resource |
A list of route destinations
Array of objects (RouteDestination) List of destinations to add to route; destinations without |
{- "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}Replaces all destinations for a route, removing any destinations not included in the provided list.
Weighted destinations are deprecated. Development of the experimental Istio Service Mesh routing layer was discontinued in 2020 and is no longer supported by the platform. Specifying a weight for a destination will take no effect.
If weighted destinations are provided, however, all destinations provided here must have a weight specified, and all weights for this route must sum to 100. If not, all provided destinations must not have a weight. Mixing weighted and unweighted destinations for a route is not allowed.
| guid required | string <uuid> The unique identifier for the resource |
A list of route destinations
Array of objects (RouteDestination) List of destinations to add to route; destinations without |
{- "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "destinations": [
- {
- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}
]
}This endpoint updates the protocol of a route destination (app, port and weight cannot be updated)
| guid required | string <uuid> The unique identifier for the resource |
| destination_guid required | string <uuid> The GUID of the route destination |
Protocol of the destination
| protocol required | string Enum: "http1" "http2" Protocol of the destination |
{- "protocol": "http1"
}{- "guid": "string",
- "app": {
- "guid": "string",
- "process": {
- "type": "string"
}
}, - "weight": 0,
- "port": 0,
- "protocol": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}
}
}Remove a destination from a route.
| guid required | string <uuid> The unique identifier for the resource |
| destination_guid required | string <uuid> The GUID of the route destination to remove |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Retrieve all routes that have destinations that point to the given app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| domain_guids | Array of strings Comma-delimited list of domain guids to filter by |
| hosts | Array of strings Comma-delimited list of hostnames to filter by |
| paths | Array of strings Comma-delimited list of paths to filter by |
| ports | Array of integers Comma-delimited list of ports to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Retrieve a route.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "domain" "space" "space.organization" Optionally include a list of unique related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}Update a route.
| guid required | string <uuid> The unique identifier for the resource |
Route object that needs to be updated
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}Transfers a the ownership of a route to a another space. Users must have write access for both spaces to perform this action. The original owning space will still retain access to the route as a shared space. To completely remove a space from a route, users will have to use unshare route.
| guid required | string <uuid> The unique identifier for the resource |
The space to transfer ownership to
Relationship (object) or null |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}{- "code": 0,
- "detail": "string",
- "title": "string"
}SecurityGroups define the network access rules for apps in the Cloud Foundry environment. They include rules for inbound and outbound traffic. SecurityGroups can be managed through endpoints that allow for creation, updating, deletion, and retrieval of security group details.
List security groups.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| guids | Array of strings Comma-separated list of resource GUIDs to filter by |
| names | Array of strings Comma-separated list of names to filter by (case insensitive) |
| globally_enabled_running | boolean If true, only include the security groups that are enabled for running |
| globally_enabled_staging | boolean If true, only include the security groups that are enabled for staging |
| running_space_guids | Array of strings Comma-delimited list of space guids to filter by |
| staging_space_guids | Array of strings Comma-delimited list of space guids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}Create a security group.
Create a new security group with the provided rules.
| name required | string Name of the security group |
object | |
Array of objects Rules for the security group | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Get a security group.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Update a security group.
| guid required | string <uuid> The unique identifier for the resource |
Update the security group properties such as name and rules.
| name | string Name of the security group |
object | |
Array of objects Rules for the security group | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint binds one or more spaces to a security group with the running lifecycle. Running app containers within these spaces will inherit the rules specified by this security group. Apps within these spaces must be restarted for these changes to take effect. Unless a security group is globally-enabled, an admin must add it to a space for it to be visible for the org and space managers. Once it's visible, org and space managers can add it to additional spaces.
| guid required | string <uuid> The unique identifier for the resource |
Associate the security group with the given running spaces.
Array of objects (Relationship) |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}This endpoint removes a space from a security group with the running lifecycle. Apps within this space must be restarted for these changes to take effect.
| guid required | string <uuid> The unique identifier for the resource |
| space_guid required | string <uuid> The unique identifier for the space |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint binds one or more spaces to a security group with the staging lifecycle. Staging app containers within these spaces will inherit the rules specified by this security group. Apps within these spaces must be restaged for these changes to take effect. Unless a security group is globally-enabled, an admin must add it to a space for it to be visible for the org and space managers. Once it's visible, org and space managers can add it to additional spaces.
| guid required | string <uuid> The unique identifier for the resource |
Associate the security group with the given staging spaces.
Array of objects (Relationship) |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}This endpoint removes a space from a security group with the staging lifecycle. Apps within this space must be restaged for these changes to take effect.
| guid required | string <uuid> The unique identifier for the resource |
| space_guid required | string <uuid> The unique identifier for the space |
{- "code": 0,
- "detail": "string",
- "title": "string"
}ServiceBrokers provide a way to manage and provision services in the Cloud Foundry environment. They include information such as service plans, instances, and bindings. ServiceBrokers can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service broker details.
This endpoint retrieves the service brokers the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| names | Array of strings Comma-delimited list of service broker names to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_offerings": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}This endpoint creates a new service broker and a job to synchronize the service offerings and service plans with those in the broker’s catalog. The Location header refers to the created job which syncs the broker with the catalog. See Service broker jobs for more information and limitations.
Service broker to create
| name required | string Name of the service broker |
| url required | string <uri> URL of the service broker |
object Authentication details for the service broker | |
object Relationships for the service broker | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "authentication": {
- "type": "basic",
- "credentials": {
- "username": "string",
- "password": "string"
}
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint retrieves the service broker by GUID.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_offerings": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint updates a service broker. Depending on the parameters specified, the endpoint may respond with a background job, and it may synchronize the service offerings and service plans with those in the broker’s catalog.
When a service broker has a synchronization job in progress, only updates with metadata are permitted until the synchronization job is complete.
| guid required | string <uuid> The unique identifier for the resource |
Service broker object that needs to be updated
| name | string Name of the service broker |
| url | string URL of the service broker |
object Credentials used to authenticate against the service broker | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "url": "string",
- "authentication": {
- "type": "basic",
- "credentials": {
- "username": "string",
- "password": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_offerings": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint creates a job to delete an existing service broker. The Location header refers to the created job. See Service broker jobs for more information and limitations.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}ServiceCredentialBinding provides a way to bind service instances to apps in the Cloud Foundry environment. They include information such as credentials and bindings. ServiceCredentialBinding can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service credential binding details.
This endpoint retrieves the service credential bindings the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| names | Array of strings Comma-delimited list of service credential binding names to filter by |
| service_instance_guids | Array of strings Comma-delimited list of service instance guids to filter by |
| app_guids | Array of strings Comma-delimited list of app guids to filter by |
| type | string Enum: "app" "key" Type of credential binding to filter by. Valid values are 'app' or 'key' |
| service_instance_names | Array of strings Comma-delimited list of service instance names to filter by |
| app_names | Array of strings Comma-delimited list of app names to filter by |
| service_plan_guids | Array of strings Comma-delimited list of service plan guids to filter by |
| service_plan_names | Array of strings Comma-delimited list of service plan names to filter by |
| service_offering_guids | Array of strings Comma-delimited list of service offering guids to filter by |
| service_offering_names | Array of strings Comma-delimited list of service offering names to filter by |
| guids | Array of strings Comma-delimited list of service credential binding guids to filter by |
| include | Array of strings Items Enum: "app" "service_instance" Optionally include a list of unique related resources in the response. Valid values are: |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "type": "app",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "details": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint creates a new service credential binding. Service credential bindings can be of type app or key; key is only valid for managed service instances.
If failures occur when creating a service credential binding for a managed service instances, the API might execute orphan mitigation steps accordingly to cases outlined in the OSBAPI specification
A request to create a service credential binding
| type required | string Enum: "app" "key" Type of the service credential binding. Valid values are key and app |
| name | string Name of the service credential binding. name is optional when the type is app |
required | object Relationships for the service credential binding |
| parameters | object A JSON object that is passed to the service broker |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "type": "app",
- "name": "some-binding-name",
- "relationships": {
- "service_instance": {
- "data": {
- "guid": "7304bc3c-7010-11ea-8840-48bf6bec2d78"
}
}, - "app": {
- "data": {
- "guid": "e0e4417c-74ee-11ea-a604-48bf6bec2d78"
}
}
}, - "parameters": {
- "key1": "value1",
- "key2": "value2"
}, - "metadata": {
- "labels": {
- "foo": "bar"
}, - "annotations": {
- "baz": "qux"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "app",
- "name": "string",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "details": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint retrieves the service credential binding by GUID.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "app" "service_instance" Optionally include a list of unique related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "app",
- "name": "string",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "details": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint updates a service credential binding with labels and annotations.
| guid required | string <uuid> The unique identifier for the resource |
A request to update a service credential binding
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "foo": "bar"
}, - "annotations": {
- "baz": "qux"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "app",
- "name": "string",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "details": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint deletes a service credential binding. When deleting credential bindings originated from user provided service instances, the delete operation does not require interactions with service brokers, therefore the API will respond synchronously to the delete request.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Queries the Service Broker for the parameters associated with this service credential binding. The broker catalog must have enabled the bindings_retrievable feature for the Service Offering. Check the Service Offering object for the value of this feature flag. This endpoint is not available for User-Provided Service Instances.
| guid required | string <uuid> The unique identifier for the resource |
{ }ServiceInstances represent the instances of services in the Cloud Foundry environment. They include information such as service plans, bindings, and credentials. ServiceInstances can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service instance details.
This endpoint retrieves the service instances the user has access to, including access granted by service instance sharing.
| names | Array of strings Comma-delimited list of service instance names to filter by |
| guids | Array of strings Comma-delimited list of service instance guids to filter by |
| type | string Enum: "managed" "user-provided" Filter by type; valid values are 'managed' and 'user-provided' |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| service_plan_guids | Array of strings Comma-delimited list of service plan guids to filter by |
| service_plan_names | Array of strings Comma-delimited list of service plan names to filter by |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| fields | object Fields to include in the response |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}This endpoint creates a new service instance. Service instances can be of type managed or user-provided, and the required parameters are different for each type. User provided service instances do not require interactions with service brokers.
If failures occur when creating managed service instances, the API might execute orphan mitigation steps accordingly to cases outlined in the OSBAPI specification
A request to create a service instance
| type required | string Enum: "managed" "user-provided" The type of service instance |
| name required | string Name of the service instance |
| parameters | object A JSON object that is passed to the service broker |
| credentials | object A JSON object that is made available to apps bound to this service instance (user-provided services only) |
| tags | Array of strings Tags are used by apps to identify service instances; they are shown in the app VCAP_SERVICES env |
| syslog_drain_url | string URL to which logs for bound applications will be streamed (user-provided services only) |
| route_service_url | string URL to which requests for bound routes will be forwarded; must use the https protocol (user-provided services only) |
required | object Relationships for the service instance |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "type": "managed",
- "name": "my_service_instance",
- "parameters": {
- "foo": "bar",
- "baz": "qux"
}, - "tags": [
- "foo",
- "bar",
- "baz"
], - "metadata": {
- "annotations": {
- "foo": "bar"
}, - "labels": {
- "baz": "qux"
}
}, - "relationships": {
- "space": {
- "data": {
- "guid": "7304bc3c-7010-11ea-8840-48bf6bec2d78"
}
}, - "service_plan": {
- "data": {
- "guid": "e0e4417c-74ee-11ea-a604-48bf6bec2d78"
}
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "user-provided",
- "name": "string",
- "tags": [
- "string"
], - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "credentials": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint retrieves the service instance by GUID.
| guid required | string <uuid> The unique identifier for the resource |
| fields | object Fields to include in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "managed",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Some updates can be performed entirely within the Cloud Controller in which case the response is synchronous. Some updates require communication with the service broker, in which case the response will be asynchronous. The response will be asynchronous if any of these parameters are specified:
parametersservice_planmaintenance_infoname - when the service offering has allow_context_updates feature enabledOtherwise the response will be synchronous.
| guid required | string <uuid> The unique identifier for the resource |
A request to update a service instance
| name | string Name of the service instance |
| parameters | object A JSON object that is passed to the service broker (managed services only) |
| credentials | object A JSON object that is made available to apps bound to this service instance (user-provided services only) |
| tags | Array of strings Tags are used by apps to identify service instances; they are shown in the app VCAP_SERVICES env |
| syslog_drain_url | string URL to which logs for bound applications will be streamed (user-provided services only) |
| route_service_url | string URL to which requests for bound routes will be forwarded; must use the https protocol (user-provided services only) |
object Relationships for the service instance | |
object If provided, must have the | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "my_service_instance",
- "parameters": {
- "foo": "bar",
- "baz": "qux"
}, - "tags": [
- "foo",
- "bar",
- "baz"
], - "relationships": {
- "service_plan": {
- "data": {
- "guid": "f2b6ba9c-a4d2-11ea-8ae6-48bf6bec2d78"
}
}
}, - "metadata": {
- "annotations": {
- "note": "detailed information"
}, - "labels": {
- "key": "value"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "managed",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint deletes a service instance and any associated service credential bindings or service route bindings. The service instance is removed from all spaces where it is available. User provided service instances do not require interactions with service brokers, therefore the API will respond synchronously to the delete request. For managed service instances, the API will respond asynchronously. If a service credential binding or service route binding cannot be deleted synchronously, then the operation will fail, and the deletion of the binding will continue in the background. The operation can be retried until it is successful.
| guid required | string <uuid> The unique identifier for the resource |
| purge | boolean If |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Retrieves the credentials for a user-provided service instance. This endpoint is not available for managed service instances.
| guid required | string <uuid> The unique identifier for the resource |
{ }Queries the Service Broker for the parameters associated with this service instance. The broker catalog must have enabled the instances_retrievable feature for the Service Offering. Check the Service Offering object for the value of this feature flag.
| guid required | string <uuid> The unique identifier for the resource |
{ }Get the current user’s permissions for the given service instance. If a user can get a service instance then they can ‘read’ it. Users who can update a service instance can ‘manage’ it.
This endpoint’s primary purpose is to enable third-party service dashboards to determine the permissions of a given Cloud Foundry user that has authenticated with the dashboard via single sign-on (SSO). For more information, see the Cloud Foundry documentation on Dashboard Single Sign-On.
| guid required | string <uuid> The unique identifier for the resource |
{- "read": true,
- "manage": true
}ServiceOfferings represent the available services in the Cloud Foundry environment. They include information such as service plans, instances, and bindings. ServiceOfferings can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service offering details.
This endpoint retrieves the service offerings the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| names | Array of strings Comma-delimited list of service offering names to filter by |
| available | boolean Filter by the |
| service_broker_guids | Array of strings Comma-delimited list of service broker GUIDs to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| service_broker_names | Array of strings Comma-delimited list of service broker names to filter by |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| fields | object Fields to include in the response |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
]
}This endpoint retrieves the service offering by GUID.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}This endpoint updates a service offering with labels and annotations.
| guid required | string <uuid> The unique identifier for the resource |
Update service offering properties such as metadata and documentation.
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}This endpoint deletes a service offering. This is typically used to remove orphan service offerings from the Cloud Foundry database when they have been removed from the service broker catalog, or when the service broker has been removed.
Note that this operation only affects the Cloud Foundry database, and no attempt is made to contact the service broker.
| guid required | string <uuid> The unique identifier for the resource |
| purge | boolean If |
{- "code": 0,
- "detail": "string",
- "title": "string"
}ServicePlans define the configurations and pricing for services in the Cloud Foundry environment. They include information such as memory, instances, and routes. ServicePlans can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service plan details.
This endpoint retrieves the service plans the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| names | Array of strings Comma-delimited list of service plan names to filter by |
| available | boolean Filter by the |
| service_offering_guids | Array of strings Comma-delimited list of service offering guids to filter by |
| service_instance_guids | Array of strings Comma-delimited list of service instance guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| broker_catalog_ids | Array of strings Comma-delimited list of broker catalog IDs to filter by |
| service_broker_guids | Array of strings Comma-delimited list of service broker GUIDs to filter by |
| service_broker_names | Array of strings Comma-delimited list of service broker names to filter by |
| service_offering_names | Array of strings Comma-delimited list of service offering names to filter by |
| include | Array of strings Items Enum: "space.organization" "service_offering" Optionally include a list of unique related resources in the response |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| fields | object Fields to include in the response |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_offering_guid": "string",
- "service_offering_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_offering": {
- "href": "string",
- "method": "string"
}, - "visibility": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint retrieves the service plan by GUID.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "space.organization" "service_offering" Optionally include a list of unique related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_offering_guid": "string",
- "service_offering_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_offering": {
- "href": "string",
- "method": "string"
}, - "visibility": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint updates a service plan with labels and annotations.
| guid required | string <uuid> The unique identifier for the resource |
Update service plan properties such as metadata and maintenance info.
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_offering_guid": "string",
- "service_offering_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_offering": {
- "href": "string",
- "method": "string"
}, - "visibility": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint deletes a service plan. This is used to remove service plans from the Cloud Foundry database when they are no longer provided by the service broker.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint retrieves the service plan visibility for a given plan.
| guid required | string <uuid> The unique identifier for the resource |
{- "type": "public",
- "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "name": "string"
}
]
}This endpoint updates a service plan visibility. It behaves similar to the POST service plan visibility endpoint but this endpoint will replace the existing list of organizations when the service plan is organization visible.
| guid required | string <uuid> The unique identifier for the resource |
Service plan visibility object that needs to be updated
| type required | string Enum: "public" "admin" "organization" Denotes the visibility of the plan |
Array of objects Desired list of organizations GUIDs where the plan will be accessible; required if type is organization |
{- "type": "public",
- "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "type": "public",
- "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "name": "string"
}
]
}This endpoint applies a service plan visibility. It behaves similar to the PATCH service plan visibility endpoint but this endpoint will append to the existing list of organizations when the service plan is organization visible.
| guid required | string <uuid> The unique identifier for the resource |
Service plan visibility object that needs to be created
| type required | string Enum: "public" "admin" "organization" Denotes the visibility of the plan |
Array of objects Desired list of organizations GUIDs where the plan will be accessible; required if type is organization |
{- "type": "public",
- "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "type": "public",
- "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "name": "string"
}
]
}This endpoint removes an organization from a service plan visibility list of organizations. It is only defined for service plans which are org-restricted. It will fail with a HTTP status code of 422 for any other visibility type (e.g. Public).
| guid required | string <uuid> The unique identifier for the resource |
| organization_guid required | string <uuid> organization_guid identifier |
{- "code": 0,
- "detail": "string",
- "title": "string"
}ServicePlanVisibility defines the visibility and access rules for service plans in the Cloud Foundry environment. They include information such as organization and space access. ServicePlanVisibility can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service plan visibility details.
ServiceRouteBinding provides a way to bind service instances to routes in the Cloud Foundry environment. They include information such as credentials and bindings. ServiceRouteBinding can be managed through endpoints that allow for creation, updating, deletion, and retrieval of service route binding details.
This endpoint retrieves the service route bindings the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| route_guids | Array of strings Comma-delimited list of route guids to filter by |
| service_instance_guids | Array of strings Comma-delimited list of service instance guids to filter by |
| service_instance_names | Array of strings Comma-delimited list of service instance names to filter by |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of service route binding guids to filter by |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| include | Array of strings Items Enum: "route" "service_instance" Optionally include a list of unique related resources in the response. Valid values are: |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "route": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint creates a new route service binding. The service instance and the route must be in the same space.
To bind a route to a user-provided service instance, the service instance must have the route_service_url property set.
To bind a route to a managed service instance, the service offering must be bindable, and the service offering must have route_forwarding set in the requires property.
Create a new service route binding between a service instance and a route.
required | object Relationships for the service route binding |
| parameters | object A JSON object that is passed to the service broker |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "relationships": {
- "route": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "parameters": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "route": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint retrieves the service route binding by GUID.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Enum: "route" "service_instance" Optionally include a list of unique related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "route": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint updates a service route binding with labels and annotations.
| guid required | string <uuid> The unique identifier for the resource |
Update a service route binding, for example to change metadata.
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "route": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_instance": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "route": {
- "href": "string",
- "method": "string"
}, - "service_instance": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint deletes a service route binding. When deleting route bindings originating from user provided service instances, the delete operation does not require interactions with service brokers, therefore the API will respond synchronously to the delete request. Consequently, deleting route bindings from managed service instances responds with a job which can be used to track the progress of the delete operation.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Queries the Service Broker for the parameters associated with this service route binding. The broker catalog must have enabled the bindings_retrievable feature for the Service Offering. Check the Service Offering object for the value of this feature flag. This endpoint is not available for User-Provided Service Instances.
| guid required | string <uuid> The unique identifier for the resource |
{ }ServiceUsageEvents track the usage and activity of services in the Cloud Foundry environment. They provide insights into service lifecycle changes, such as creation, deletion, and updates. ServiceUsageEvents are useful for monitoring and auditing purposes, helping administrators understand how services are being used and identify any issues. They can be retrieved through endpoints that provide detailed information about each event.
Retrieve all service usage events the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| after_guid | string Filters out events before and including the event with the given guid. |
| guids | Array of strings Comma-delimited list of usage event guids to filter by. |
| service_instance_types | Array of strings Items Enum: "managed_service_instance" "user_provided_service_instance" Comma-delimited list of service instance types to filter by; valid values are |
| service_offering_guids | Array of strings Comma-delimited list of service offering guids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Retrieve a service usage event.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Destroys all existing events. Populates new usage events, one for each existing service instance. All populated events will have a created_at value of current time. There is the potential race condition if service instances are currently being created or deleted. The seeded usage events will have the same guid as the service instance.
{- "code": 0,
- "detail": "string",
- "title": "string"
}Sidecars represent additional processes that run alongside the main app processes in the Cloud Foundry environment. They provide additional functionality, such as logging, monitoring, and security. Sidecars can be managed through endpoints that allow for creation, updating, deletion, and retrieval of sidecar details.
Get a sidecar.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0,
- "origin": "user",
- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Update a sidecar.
| guid required | string <uuid> The unique identifier for the resource |
Sidecar object that needs to be updated
| name | string Human-readable name for the sidecar |
| command | string The command used to start the sidecar |
| process_types | Array of strings A list of process types the sidecar applies to |
| memory_in_mb | integer Reserved memory for sidecar |
{- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0,
- "origin": "user",
- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Retrieves all sidecars associated with a app.
| guid required | string <uuid> The unique identifier for the resource |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0,
- "origin": "user",
- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}Create a sidecar associated with an app.
| guid required | string <uuid> The unique identifier for the resource |
Sidecar to create
| name | string Name of the sidecar |
| command | string Command to run for the sidecar |
| process_types | Array of strings Process types that the sidecar applies to |
| memory_in_mb | integer Memory limit for the sidecar in MB |
{- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0,
- "origin": "user",
- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Retrieves all sidecars associated with a process.
| guid required | string <uuid> The unique identifier for the resource |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "process_types": [
- "string"
], - "memory_in_mb": 0,
- "origin": "user",
- "relationships": {
- "app": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "app": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}SpaceFeatures provide additional capabilities and configurations for spaces in the Cloud Foundry environment. These features can include things like auto-scaling, health checks, and custom domains. SpaceFeatures enhance the functionality of spaces by allowing administrators to enable or disable specific features based on their requirements. They can be managed through endpoints that allow for enabling, disabling, and retrieving the status of space features.
SpaceQuotas define the resource limits and constraints for spaces in the Cloud Foundry environment. They include limits on memory, instances, routes, and services. SpaceQuotas can be managed through endpoints that allow for creation, updating, deletion, and retrieval of space quota details.
This endpoint lists all space quota resources that the user has permission to view.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| guids | Array of strings Comma-delimited list of space quota guids to filter by |
| names | Array of strings Comma-delimited list of space quota names to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}This endpoint creates a new space quota scoped to a specific organization.
Space quota to create
| name required | string Name of the space quota |
object App limits for the space quota | |
object Service limits for the space quota | |
object Route limits for the space quota | |
object Relationships for the space quota | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Get a space quota
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}This endpoint will only update the parameters specified in the request body. Any unspecified parameters will retain their existing values.
| guid required | string <uuid> The unique identifier for the resource |
Space quota to update
| name | string Name of the space quota |
object App limits for the space quota | |
object Service limits for the space quota | |
object Route limits for the space quota | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "apps": {
- "total_memory_in_mb": 0,
- "per_process_memory_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "total_instances": 0,
- "per_app_tasks": 0
}, - "services": {
- "paid_services_allowed": true,
- "total_service_instances": 0,
- "total_service_keys": 0
}, - "routes": {
- "total_routes": 0,
- "total_reserved_ports": 0
}, - "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Space quotas cannot be deleted when applied to any spaces.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint applies a space quota to one or more spaces.
Only an admin or an org manager in the quota’s parent organization can apply a space quota to a space.
| quota_guid required | string <uuid> quota_guid identifier |
Apply the space quota to the given spaces.
Array of objects (Relationship) |
{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}{- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}This endpoint removes a space quota from a space.
Only an admin or an org manager in the quota’s parent organization can remove a space quota from a space.
| guid required | string <uuid> The unique identifier for the resource |
| space_guid required | string <uuid> space_guid identifier |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Spaces represent the logical grouping of resources within an organization in the Cloud Foundry environment. They provide a way to manage apps, services, and users within a specific context. Spaces can be managed through endpoints that allow for creation, updating, deletion, and retrieval of space details.
Retrieve all spaces the user has access to.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| names | Array of strings Comma-delimited list of space names to filter by |
| guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| include | Array of strings Items Value: "organization" Optionally include a list of unique related resources in the response |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "features": {
- "href": "string",
- "method": "string"
}, - "apply_manifest": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Create a space.
Space object that needs to be created
| name required | string Name of the space |
required | object |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "features": {
- "href": "string",
- "method": "string"
}, - "apply_manifest": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}This endpoint retrieves the specified space object.
| guid required | string <uuid> The unique identifier for the resource |
| include | Array of strings Items Value: "organization" Optionally include additional related resources in the response |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "features": {
- "href": "string",
- "method": "string"
}, - "apply_manifest": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Update a space
| guid required | string <uuid> The unique identifier for the resource |
Space object that needs to be updated
| name | string New space name |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "features": {
- "href": "string",
- "method": "string"
}, - "apply_manifest": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}When a space is deleted, the user roles associated with the space will be deleted.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}Apply changes specified in a manifest to the named apps and their underlying processes. The apps must reside in the space. These changes are additive and will not modify any unspecified properties or remove any existing environment variables, app features, routes, or services.
Apply manifest will only trigger an immediate update for the “instances” property or routing changes. All other properties require an app restart to take effect.
| guid required | string <uuid> The unique identifier for the resource |
Provide an application manifest to apply to apps in the given space.
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint retrieves the list of features for the specified space. Currently, the only feature on spaces is the SSH feature.
| guid required | string <uuid> The unique identifier for the resource |
{- "name": "string",
- "description": "string",
- "enabled": true
}Get a space feature
| guid required | string <uuid> The unique identifier for the resource |
| name required | string Value: "ssh" name identifier |
{- "name": "string",
- "description": "string",
- "enabled": true
}Update a space feature.
| guid required | string <uuid> The unique identifier for the resource |
| name required | string Value: "ssh" name identifier |
Update the named space feature, enabling or disabling it.
| enabled | boolean |
{- "enabled": true
}{- "name": "string",
- "description": "string",
- "enabled": true
}This endpoint returns a JSON representation of the difference between the provided manifest and the current state of a space.
Currently, this endpoint can only diff version 1 manifests.
| guid required | string <uuid> The unique identifier for the resource |
Provide a manifest to compare against the current space state and return a diff.
{- "code": 0,
- "detail": "string",
- "title": "string"
}Get assigned isolation segment
| guid required | string <uuid> The unique identifier for the resource |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}This endpoint assigns an isolation segment to the space. The isolation segment must be entitled to the space’s parent organization.
Apps will not run in the newly assigned isolation segment until they are restarted.
| guid required | string <uuid> The unique identifier for the resource |
Set or clear the isolation segment relationship for the space.
Relationship (object) or null |
{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}{- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}Deletes all routes in a space that are not mapped to any applications and not bound to any service instances.
| guid required | string <uuid> The unique identifier for the resource |
| unmapped required | boolean Value: true Filter to only delete unmapped routes |
{- "code": 0,
- "detail": "string",
- "title": "string"
}This endpoint returns security groups that are enabled for running globally or at the space level for the given space.
| guid required | string <uuid> The unique identifier for the resource |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}This endpoint returns security groups that are enabled for staging globally or at the space level for the given space.
| guid required | string <uuid> The unique identifier for the resource |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "globally_enabled": {
- "running": true,
- "staging": true
}, - "rules": [
- {
- "protocol": "string",
- "destination": "string",
- "ports": "string",
- "type": 0,
- "code": 0,
- "description": "string"
}
], - "running_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "staging_spaces": {
- "data": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
]
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "running_spaces": {
- "href": "string",
- "method": "string"
}, - "staging_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}Retrieve all users with a role in the specified space.
| guid required | string <uuid> The unique identifier for the resource |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Stacks are the base operating system and file system that your application will execute in. A stack is how you configure applications to run against different operating systems and different versions of those operating systems.
An application’s lifecycle will specify which stack to execute the application in. Buildpacks can also be associated with a particular stack if they contain stack-specific logic. An application will automatically use buildpacks associated with the application’s configured stack.
Stacks are not used for apps with a Docker lifecycle.
Retrieve all stacks.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| names | Array of strings Comma-delimited list of stack names to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "build_rootfs_image": "string",
- "run_rootfs_image": "string",
- "default": true,
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}Create a stack.
Stack object that needs to be created
| name required | string <= 250 characters Name of the stack; must be unique and no longer than 250 characters |
| description | string or null <= 250 characters Description of the stack; must no longer than 250 characters |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "name": "string",
- "description": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "build_rootfs_image": "string",
- "run_rootfs_image": "string",
- "default": true,
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Get a stack.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "build_rootfs_image": "string",
- "run_rootfs_image": "string",
- "default": true,
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Update a stack.
| guid required | string <uuid> The unique identifier for the resource |
Update stack metadata such as name and description.
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "build_rootfs_image": "string",
- "run_rootfs_image": "string",
- "default": true,
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}Retrieve all apps using a given stack.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "lifecycle": {
- "type": "string",
- "data": {
- "buildpacks": [
- "string"
], - "stack": "string",
- "credentials": {
- "property1": {
- "username": "string",
- "password": "string",
- "token": "string"
}, - "property2": {
- "username": "string",
- "password": "string",
- "token": "string"
}
}
}
}, - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "processes": {
- "href": "string",
- "method": "string"
}, - "packages": {
- "href": "string",
- "method": "string"
}, - "environment_variables": {
- "href": "string",
- "method": "string"
}, - "current_droplet": {
- "href": "string",
- "method": "string"
}, - "droplets": {
- "href": "string",
- "method": "string"
}
}, - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}
], - "included": {
- "spaces": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "relationships": {
- "organization": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "organizations": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "suspended": true,
- "relationships": {
- "quota": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "domains": {
- "href": "string",
- "method": "string"
}, - "quota": {
- "href": "string",
- "method": "string"
}, - "default_domain": {
- "href": "string",
- "method": "string"
}
}
}
], - "domains": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "internal": true,
- "router_group": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}, - "supported_protocols": [
- "http"
], - "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "organization": {
- "href": "string",
- "method": "string"
}, - "route_reservations": {
- "href": "string",
- "method": "string"
}, - "shared_organizations": {
- "href": "string",
- "method": "string"
}, - "router_group": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_offerings": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service_broker_guid": "string",
- "service_broker_name": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "service_plans": {
- "href": "string",
- "method": "string"
}, - "service_broker": {
- "href": "string",
- "method": "string"
}
}
}
], - "service_instances": [
- {
- "type": "managed",
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "tags": [
- "string"
], - "maintenance_info": {
- "version": "string",
- "description": "string"
}, - "upgrade_available": true,
- "last_operation": {
- "type": "create",
- "state": "initial",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "service_plan": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "service_plan": {
- "href": "string",
- "method": "string"
}, - "parameters": {
- "href": "string",
- "method": "string"
}, - "service_credential_bindings": {
- "href": "string",
- "method": "string"
}, - "service_route_bindings": {
- "href": "string",
- "method": "string"
}, - "shared_spaces": {
- "href": "string",
- "method": "string"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "apps": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "state": "STOPPED",
- "relationships": {
- "space": {
- "data": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
], - "routes": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "host": "string",
- "path": "string",
- "port": 0,
- "url": "string",
- "relationships": { },
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "space": {
- "href": "string",
- "method": "string"
}, - "domain": {
- "href": "string",
- "method": "string"
}, - "destinations": {
- "href": "string",
- "method": "string"
}
}
}
], - "users": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}
}Tasks represent one-off processes that can be run in the Cloud Foundry environment. They provide a way to execute background jobs, data migrations, and other tasks that are not part of the main app processes. Tasks can be managed through endpoints that allow for creation, updating, deletion, and retrieval of task details.
Retrieve all tasks the user has access to. The command field is excluded in the response.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of task guids to filter by |
| names | Array of strings Comma-delimited list of task names to filter by |
| states | Array of strings Items Enum: "PENDING" "RUNNING" "SUCCEEDED" "CANCELING" "FAILED" Comma-delimited list of task states to filter by |
| app_guids | Array of strings Comma-delimited list of app guids to filter by |
| space_guids | Array of strings Comma-delimited list of space guids to filter by |
| organization_guids | Array of strings Comma-delimited list of organization guids to filter by |
| sequence_ids | Array of integers Comma-delimited list of sequence ids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Retrieve a task. The command field may be excluded in the response based on the user’s role.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Update a task.
| guid required | string <uuid> The unique identifier for the resource |
Update a task, for example to change its name or metadata.
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Cancels a running task. Canceled tasks will initially be in state CANCELING and will move to state FAILED once the cancel request has been processed. Cancel requests are idempotent and will be processed according to the state of the task when the request is executed. Canceling a task that is in SUCCEEDED or FAILED state will return an error.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Cancels a running task using PUT method. Canceled tasks will initially be in state CANCELING and will move to state FAILED once the cancel request has been processed. Cancel requests are idempotent and will be processed according to the state of the task when the request is executed. Canceling a task that is in SUCCEEDED or FAILED state will return an error.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}DEPRECATED - Use /v3/tasks/{guid}/actions/cancel instead.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Retrieve tasks for an app.
| guid required | string <uuid> The unique identifier for the resource |
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of task guids to filter by |
| names | Array of strings Comma-delimited list of task names to filter by |
| states | Array of strings Items Enum: "PENDING" "RUNNING" "SUCCEEDED" "CANCELING" "FAILED" Comma-delimited list of task states to filter by |
| sequence_ids | Array of integers Comma-delimited list of sequence ids to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Create a task.
| guid required | string <uuid> The unique identifier for the resource |
Task object that needs to be created
| command | string The command to run for the task. NOTE: optional if a |
| name | string Human-readable name for the task |
| memory_in_mb | integer Amount of memory to allocate for the task in MB |
| disk_in_mb | integer Amount of disk to allocate for the task in MB |
| log_rate_limit_in_bytes_per_second | integer Amount of log rate limit to allocate for the task in bytes per second |
| droplet_guid | string <uuid> The GUID of a droplet to use to run the task |
object An object with a process field to template the task from | |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "command": "string",
- "name": "string",
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "log_rate_limit_in_bytes_per_second": 0,
- "droplet_guid": "6b012c01-58eb-4697-a464-958715cd2e18",
- "template": {
- "process": {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc"
}
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "command": "string",
- "state": "PENDING",
- "sequence_id": 0,
- "memory_in_mb": 0,
- "disk_in_mb": 0,
- "droplet_guid": "string",
- "result": {
- "failure_reason": "string"
}, - "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Users represent the individuals who have access to the Cloud Foundry environment. They include information such as roles, permissions, and credentials. Users can be managed through endpoints that allow for creation, updating, deletion, and retrieval of user details.
Retrieve all users that the current user can see.
| page | integer Example: page=1 Page to display; valid values are integers >= 1 |
| per_page | integer Example: per_page=50 Number of results per page, valid values are 1 through 5000 |
| order_by | string Example: order_by=created_at Value to sort by. Defaults to ascending; prepend with |
| created_ats | string Example: created_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| updated_ats | string Example: updated_ats=2021-01-01T00:00:00Z Timestamp to filter by. When filtering on equality, several comma-delimited timestamps may be passed. Also supports filtering with relational operators. |
| label_selector | string Example: label_selector=environment=production A query string containing a list of label selector requirements |
| guids | Array of strings Comma-delimited list of user guids to filter by |
| usernames | Array of strings Comma-delimited list of usernames to filter by |
| origins | Array of strings Comma-delimited list of user origins to filter by |
| partial_usernames | Array of strings Comma-delimited list of partial usernames to filter by |
{- "pagination": {
- "total_results": 0,
- "total_pages": 0,
- "first": {
- "href": "string",
- "method": "string"
}, - "last": {
- "href": "string",
- "method": "string"
}, - "next": {
- "href": "string",
- "method": "string"
}, - "previous": {
- "href": "string",
- "method": "string"
}
}, - "resources": [
- {
- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}
]
}Creating a user requires one value, a GUID. This creates a user in the Cloud Controller database.
Generally, the GUID should match the GUID of an already-created user in the UAA database, though this is not required. Creating a user by guid is only permitted by admins.
If CAPI property cc.allow_user_creation_by_org_manager is enabled, a UAA user will be automatically created if it does not exist yet. The UAA user will be only created when username and origin have been provided instead of a guid. Additionally origin must be different from uaa. Admins and OrgManagers can make use of the UAA user creation.
User to create
| guid | string Unique identifier for the user |
| username | string Username of the user to be created. This can only be provided together with origin |
| origin | string Origin of the user to be created. This can only be provided together with username and cannot be uaa |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. |
{- "guid": "string",
- "username": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Retrieve a user.
| guid required | string <uuid> The unique identifier for the resource |
{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}Update a user’s metadata.
| guid required | string <uuid> The unique identifier for the resource |
User to update
| username | string The username of the user |
| presentation_name | string The presentation name of the user |
| origin | string The origin of the user |
object (Metadata) Metadata is a JSON object that contains information about a resource. It includes the GUID of the resource, the time the resource was created, the time the resource was last updated, and links to the resource. Metadata is included in the response body of a request to retrieve a resource. | |
object |
{- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}{- "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "string",
- "presentation_name": "string",
- "origin": "string",
- "metadata": {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}All roles associated with a user will be deleted if the user is deleted.
| guid required | string <uuid> The unique identifier for the resource |
{- "code": 0,
- "detail": "string",
- "title": "string"
}