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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ content:
process_types:
type: object
description: Process names and start commands for the droplet
metadata:
$ref: '../schemas/Metadata.yaml'
required:
- relationships
description: Request schema for creating a droplet
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Managed service instance to update
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the service instance
tags:
type: array
items:
type: string
description: Tags for the service instance
parameters:
type: object
description: Parameters for the service instance
relationships:
type: object
properties:
service_plan:
$ref: '../schemas/RelationshipToOne.yaml'
description: Relationships for the service instance
metadata:
$ref: '../schemas/Metadata.yaml'
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ content:
space:
$ref: '../schemas/RelationshipToOne.yaml'
description: A relationship to the space containing the route; routes can only be mapped to destinations in that space
metadata:
$ref: '../schemas/Metadata.yaml'
required:
- relationships
45 changes: 45 additions & 0 deletions apis/cf/latest/components/requestBodies/ServiceBrokerCreate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
description: Service broker to create
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the service broker
url:
type: string
format: uri
description: URL of the service broker
authentication:
type: object
properties:
type:
type: string
enum: [basic]
description: Type of authentication
credentials:
type: object
properties:
username:
type: string
password:
type: string
required:
- username
- password
required:
- type
- credentials
description: Authentication details for the service broker
relationships:
type: object
properties:
space:
$ref: '../schemas/RelationshipToOne.yaml'
description: Relationships for the service broker
metadata:
$ref: '../schemas/Metadata.yaml'
required:
- name
- url
21 changes: 21 additions & 0 deletions apis/cf/latest/components/requestBodies/SidecarCreate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
description: Sidecar to create
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the sidecar
command:
type: string
description: Command to run for the sidecar
process_types:
type: array
items:
type: string
description: Process types that the sidecar applies to
memory_in_mb:
type: integer
description: Memory limit for the sidecar in MB

20 changes: 20 additions & 0 deletions apis/cf/latest/components/requestBodies/SpaceCreate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
description: Space to create
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the space
relationships:
type: object
properties:
organization:
$ref: '../schemas/RelationshipToOne.yaml'
description: The organization that the space belongs to
metadata:
$ref: '../schemas/Metadata.yaml'
required:
- name
- relationships
63 changes: 63 additions & 0 deletions apis/cf/latest/components/requestBodies/SpaceQuotaCreate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
description: Space quota to create
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the space quota
apps:
type: object
properties:
total_memory_in_mb:
type: integer
description: Total memory allowed for all apps in MB
per_process_memory_in_mb:
type: integer
description: Maximum memory per process in MB
log_rate_limit_in_bytes_per_second:
type: integer
description: Log rate limit in bytes per second
total_instances:
type: integer
description: Total number of app instances allowed
per_app_tasks:
type: integer
description: Maximum number of tasks per app
description: App limits for the space quota
services:
type: object
properties:
paid_services_allowed:
type: boolean
description: Whether paid services are allowed
total_service_instances:
type: integer
description: Total number of service instances allowed
total_service_keys:
type: integer
description: Total number of service keys allowed
description: Service limits for the space quota
routes:
type: object
properties:
total_routes:
type: integer
description: Total number of routes allowed
total_reserved_ports:
type: integer
description: Total number of reserved ports allowed
description: Route limits for the space quota
relationships:
type: object
properties:
organization:
$ref: '../schemas/RelationshipToOne.yaml'
spaces:
$ref: '../schemas/RelationshipToMany.yaml'
description: Relationships for the space quota
metadata:
$ref: '../schemas/Metadata.yaml'
required:
- name
53 changes: 53 additions & 0 deletions apis/cf/latest/components/requestBodies/SpaceQuotaUpdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
description: Space quota to update
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the space quota
apps:
type: object
properties:
total_memory_in_mb:
type: integer
description: Total memory allowed for all apps in MB
per_process_memory_in_mb:
type: integer
description: Maximum memory per process in MB
log_rate_limit_in_bytes_per_second:
type: integer
description: Log rate limit in bytes per second
total_instances:
type: integer
description: Total number of app instances allowed
per_app_tasks:
type: integer
description: Maximum number of tasks per app
description: App limits for the space quota
services:
type: object
properties:
paid_services_allowed:
type: boolean
description: Whether paid services are allowed
total_service_instances:
type: integer
description: Total number of service instances allowed
total_service_keys:
type: integer
description: Total number of service keys allowed
description: Service limits for the space quota
routes:
type: object
properties:
total_routes:
type: integer
description: Total number of routes allowed
total_reserved_ports:
type: integer
description: Total number of reserved ports allowed
description: Route limits for the space quota
metadata:
$ref: '../schemas/Metadata.yaml'
14 changes: 13 additions & 1 deletion apis/cf/latest/components/requestBodies/UserCreate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@ description: User to create
content:
application/json:
schema:
$ref: '../schemas/UserCreate.yaml'
type: object
properties:
guid:
type: string
description: Unique identifier for the user
username:
type: string
description: Username of the user to be created. This can only be provided together with origin
origin:
type: string
description: Origin of the user to be created. This can only be provided together with username and cannot be uaa
metadata:
$ref: '../schemas/Metadata.yaml'
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description: User provided service instance to update
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: Name of the service instance
tags:
type: array
items:
type: string
description: Tags for the service instance
credentials:
type: object
description: Service credentials
syslog_drain_url:
type: string
format: uri
description: URL for syslog drain
route_service_url:
type: string
format: uri
description: URL for route service
metadata:
$ref: '../schemas/Metadata.yaml'
20 changes: 19 additions & 1 deletion apis/cf/latest/components/requestBodies/UserUpdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,22 @@ description: User to update
content:
application/json:
schema:
$ref: '../schemas/UserUpdate.yaml'
type: object
properties:
username:
type: string
description: The username of the user
presentation_name:
type: string
description: The presentation name of the user
origin:
type: string
description: The origin of the user
metadata:
$ref: '../schemas/Metadata.yaml'
links:
type: object
properties:
self:
$ref: '../schemas/Link.yaml'
description: The URL to get this user

This file was deleted.

22 changes: 0 additions & 22 deletions apis/cf/latest/components/schemas/ServiceBrokerCreate.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions apis/cf/latest/components/schemas/SidecarCreate.yaml

This file was deleted.

Loading