Skip to content
Merged
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
39 changes: 0 additions & 39 deletions apis/cf/latest/paths/Routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,45 +534,6 @@
$ref: '../components/responses/UnprocessableEntity.yaml'
'404':
$ref: '../components/responses/NotFound.yaml'
put:
summary: Replace all destinations for a route
description: '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.'
operationId: replaceDestinationsForRoute
tags:
- Routes
parameters:
- $ref: '../components/parameters/Guid.yaml'
requestBody:
$ref: '../components/requestBodies/RouteDestinations.yaml'
responses:
'200':
description: List of destinations for the route
content:
application/json:
schema:
$ref: '../components/schemas/RouteDestinationList.yaml'
'400':
$ref: '../components/responses/BadRequest.yaml'
'401':
$ref: '../components/responses/Unauthorized.yaml'
'403':
$ref: '../components/responses/Forbidden.yaml'
'422':
$ref: '../components/responses/UnprocessableEntity.yaml'
'500':
$ref: '../components/responses/500.yaml'
/v3/routes/{guid}/destinations/{destination_guid}:
patch:
summary: Update a destination protocol for a route
Expand Down
Loading