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
19 changes: 19 additions & 0 deletions apis/cf/latest/components/schemas/IndexLink.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
allOf:
- $ref: ./Link.yaml
- type: object
properties:
meta:
type: object
description: Contains metadata about the link
properties:
version:
type: string
description: The version of the API
host_key_fingerprint:
type: string
description: The host key fingerprint of the link
oauth_client:
type: string
description: The oauth client for the link
description: |
Each link is keyed by its type and will include a href for the URL and an optional method for links that cannot be followed using GET. Can include a meta object with metadata about the link.
16 changes: 8 additions & 8 deletions apis/cf/latest/paths/Root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,35 @@ get:
properties:
self:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the current endpoint
cloud_controller_v2:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Cloud Controller V2 API
cloud_controller_v3:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Cloud Controller V3 API
network_policy_v1:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Network Policy V1 API
uaa:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the UAA API
logging:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Logging API
log_cache:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Log Cache API
log_stream:
allOf:
- $ref: '../components/schemas/Link.yaml'
- $ref: '../components/schemas/IndexLink.yaml'
- description: Link to the Log Stream API
'404':
$ref: '../components/responses/NotFound.yaml'
Expand Down
Loading