Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apis/cf/latest/components/responses/RoleListResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ content:
type: array
items:
$ref: '../schemas/Role.yaml'
included:
$ref: '../schemas/IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/App.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ allOf:
droplets:
$ref: './Link.yaml'
description: The URL to get the droplets for this app
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
description: >
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.
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/AppCredentialBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ allOf:
$ref: './Link.yaml'
metadata:
$ref: './Metadata.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
required:
- type
- relationships
Expand Down
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/AppList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ properties:
type: array
items:
$ref: './App.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
51 changes: 51 additions & 0 deletions apis/cf/latest/components/schemas/IncludedResources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
type: object
description: Additional related resources included in the response when using the include parameter
properties:
spaces:
type: array
items:
$ref: './Space.yaml'
description: Array of included space resources
organizations:
type: array
items:
$ref: './Organization.yaml'
description: Array of included organization resources
domains:
type: array
items:
$ref: './Domain.yaml'
description: Array of included domain resources
service_offerings:
type: array
items:
$ref: './ServiceOffering.yaml'
description: Array of included service offering resources
service_instances:
type: array
items:
oneOf:
- $ref: './ManagedServiceInstance.yaml'
- $ref: './UserProvidedServiceInstance.yaml'
discriminator:
propertyName: type
mapping:
managed: ./ManagedServiceInstance.yaml
user-provided: ./UserProvidedServiceInstance.yaml
description: Array of included service instance resources
apps:
type: array
items:
$ref: './App.yaml'
description: Array of included app resources
routes:
type: array
items:
$ref: './Route.yaml'
description: Array of included route resources
users:
type: array
items:
$ref: './User.yaml'
description: Array of included user resources
additionalProperties: false
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/KeyCredentialBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ allOf:
$ref: './Link.yaml'
metadata:
$ref: './Metadata.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
required:
- type
- relationships
Expand Down
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/Role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ properties:
space:
$ref: './Link.yaml'
description: The URL to get the space for this role
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
description: |
Roles represent a set of permissions that can be granted to users. Roles are represented as a JSON object.
A role consists of several required role fields and other attributes specific to the role.
Expand Down
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/Route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ allOf:
destinations:
$ref: './Link.yaml'
description: The URL to get the destinations for this route
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
description: A route in Cloud Foundry is used to direct traffic from a URL to an application.
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/RouteList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ properties:
type: array
items:
$ref: './Route.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
description: A list of routes
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ properties:
mapping:
app: './AppCredentialBinding.yaml'
key: './KeyCredentialBinding.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
5 changes: 4 additions & 1 deletion apis/cf/latest/components/schemas/ServicePlan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ allOf:
description: The URL to get the service offering for this plan
visibility:
$ref: './Link.yaml'
description: The URL to get the visibility for this plan
description: The URL to get the visibility for this plan
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/ServicePlanList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ properties:
type: array
items:
$ref: './ServicePlan.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/ServiceRouteBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ allOf:
$ref: './Link.yaml'
metadata:
$ref: './Metadata.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
required:
- relationships
- links
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ properties:
type: array
items:
$ref: './ServiceRouteBinding.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/Space.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ allOf:
$ref: './Link.yaml'
metadata:
$ref: './Metadata.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
required:
- name
- relationships
Expand Down
3 changes: 3 additions & 0 deletions apis/cf/latest/components/schemas/SpaceList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ properties:
type: array
items:
$ref: './Space.yaml'
included:
$ref: './IncludedResources.yaml'
description: Additional related resources included in the response when using the include parameter
10 changes: 10 additions & 0 deletions apis/cf/latest/paths/Apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@
- Apps
parameters:
- $ref: '../components/parameters/Guid.yaml'
- name: include
in: query
schema:
type: array
items:
type: string
enum:
- space
- space.organization
description: Optionally include a list of unique related resources in the response
responses:
'200':
description: Successfully retrieved app
Expand Down
11 changes: 11 additions & 0 deletions apis/cf/latest/paths/Routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,17 @@
- Routes
parameters:
- $ref: '../components/parameters/Guid.yaml'
- name: include
in: query
schema:
type: array
items:
type: string
enum:
- domain
- space
- space.organization
description: Optionally include a list of unique related resources in the response
responses:
'200':
description: Successfully retrieved route
Expand Down
10 changes: 10 additions & 0 deletions apis/cf/latest/paths/ServicePlans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,16 @@
- Service Plans
parameters:
- $ref: '../components/parameters/Guid.yaml'
- name: include
in: query
schema:
type: array
items:
type: string
enum:
- space.organization
- service_offering
description: Optionally include a list of unique related resources in the response
responses:
'200':
description: OK
Expand Down
10 changes: 10 additions & 0 deletions apis/cf/latest/paths/ServiceRouteBindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@
- Service Route Bindings
parameters:
- $ref: '../components/parameters/Guid.yaml'
- name: include
in: query
schema:
type: array
items:
type: string
enum:
- route
- service_instance
description: Optionally include a list of unique related resources in the response
responses:
'200':
description: OK
Expand Down