|
2626 | 2626 | },
|
2627 | 2627 | "type": "object"
|
2628 | 2628 | },
|
| 2629 | + "UpdateNetworkAreaRoutePayload": { |
| 2630 | + "description": "Object that represents the request body for a route update.", |
| 2631 | + "properties": { |
| 2632 | + "labels": { |
| 2633 | + "$ref": "#/components/schemas/Labels" |
| 2634 | + } |
| 2635 | + }, |
| 2636 | + "type": "object" |
| 2637 | + }, |
2629 | 2638 | "UpdateNetworkIPv4Body": {
|
2630 | 2639 | "description": "The config object for a IPv4 network update.",
|
2631 | 2640 | "properties": {
|
|
2917 | 2926 | "parameters": [
|
2918 | 2927 | {
|
2919 | 2928 | "$ref": "#/components/parameters/v1OrganizationID"
|
| 2929 | + }, |
| 2930 | + { |
| 2931 | + "$ref": "#/components/parameters/v1LabelSelector" |
2920 | 2932 | }
|
2921 | 2933 | ],
|
2922 | 2934 | "responses": {
|
|
3409 | 3421 | },
|
3410 | 3422 | {
|
3411 | 3423 | "$ref": "#/components/parameters/v1NetworkAreaID"
|
| 3424 | + }, |
| 3425 | + { |
| 3426 | + "$ref": "#/components/parameters/v1LabelSelector" |
3412 | 3427 | }
|
3413 | 3428 | ],
|
3414 | 3429 | "responses": {
|
|
3582 | 3597 | }
|
3583 | 3598 | },
|
3584 | 3599 | "summary": "Get details about a network route."
|
| 3600 | + }, |
| 3601 | + "patch": { |
| 3602 | + "description": "Update a network route defined in a network area.", |
| 3603 | + "operationId": "UpdateNetworkAreaRoute", |
| 3604 | + "parameters": [ |
| 3605 | + { |
| 3606 | + "$ref": "#/components/parameters/v1OrganizationID" |
| 3607 | + }, |
| 3608 | + { |
| 3609 | + "$ref": "#/components/parameters/v1NetworkAreaID" |
| 3610 | + }, |
| 3611 | + { |
| 3612 | + "$ref": "#/components/parameters/v1RouteID" |
| 3613 | + } |
| 3614 | + ], |
| 3615 | + "requestBody": { |
| 3616 | + "content": { |
| 3617 | + "application/json": { |
| 3618 | + "schema": { |
| 3619 | + "$ref": "#/components/schemas/UpdateNetworkAreaRoutePayload" |
| 3620 | + } |
| 3621 | + } |
| 3622 | + }, |
| 3623 | + "description": "Request an update of a network route.", |
| 3624 | + "required": true |
| 3625 | + }, |
| 3626 | + "responses": { |
| 3627 | + "200": { |
| 3628 | + "content": { |
| 3629 | + "application/json": { |
| 3630 | + "schema": { |
| 3631 | + "$ref": "#/components/schemas/Route" |
| 3632 | + } |
| 3633 | + } |
| 3634 | + }, |
| 3635 | + "description": "Update request for network successful." |
| 3636 | + }, |
| 3637 | + "400": { |
| 3638 | + "$ref": "#/components/responses/BadRequest" |
| 3639 | + }, |
| 3640 | + "401": { |
| 3641 | + "$ref": "#/components/responses/Unauthorized" |
| 3642 | + }, |
| 3643 | + "403": { |
| 3644 | + "$ref": "#/components/responses/Forbidden" |
| 3645 | + }, |
| 3646 | + "404": { |
| 3647 | + "$ref": "#/components/responses/NotFound" |
| 3648 | + }, |
| 3649 | + "500": { |
| 3650 | + "$ref": "#/components/responses/InternalServerError" |
| 3651 | + } |
| 3652 | + }, |
| 3653 | + "summary": "Update a network route." |
3585 | 3654 | }
|
3586 | 3655 | },
|
3587 | 3656 | "/v1beta1/organizations/{organizationId}/requests/{requestId}": {
|
|
0 commit comments