Skip to content

Commit 7ff4f74

Browse files
vbotbuildovichgithub-actions[bot]
authored andcommitted
auto-docs: Update Cloud API spec
1 parent fbad08c commit 7ff4f74

2 files changed

Lines changed: 77 additions & 1 deletion

File tree

cloud-controlplane/cloud-controlplane.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,6 +2729,16 @@ components:
27292729
created:
27302730
$ref: '#/components/schemas/Created'
27312731
type: object
2732+
NetworkUpdate:
2733+
description: Resource describing an Update Network.
2734+
properties:
2735+
id:
2736+
description: ID of the network.
2737+
type: string
2738+
required:
2739+
- id
2740+
title: NetworkUpdate
2741+
type: object
27322742
NullValue:
27332743
description: |-
27342744
`NullValue` is a singleton enumeration to represent the null value for the
@@ -2759,6 +2769,7 @@ components:
27592769
- TYPE_DELETE_SERVERLESS_PRIVATE_LINK
27602770
- TYPE_CREATE_NETWORK_PEERING
27612771
- TYPE_DELETE_NETWORK_PEERING
2772+
- TYPE_UPDATE_NETWORK
27622773
- TYPE_CREATE_SHADOW_LINK
27632774
- TYPE_UPDATE_SHADOW_LINK
27642775
- TYPE_DELETE_SHADOW_LINK
@@ -4342,6 +4353,16 @@ components:
43424353
group:
43434354
$ref: '#/components/schemas/Group'
43444355
type: object
4356+
UpdateNetworkMetadata:
4357+
description: Resource describing an in-progress UpdateNetwork Operation.
4358+
title: UpdateNetworkMetadata
4359+
type: object
4360+
UpdateNetworkOperation:
4361+
description: UpdateNetworkOperation is the response of the update network rpc.
4362+
properties:
4363+
operation:
4364+
$ref: '#/components/schemas/v1.Operation'
4365+
type: object
43454366
UpdateOrganizationResponse:
43464367
properties:
43474368
organization:
@@ -6332,6 +6353,60 @@ paths:
63326353
summary: Get network
63336354
tags:
63346355
- Networks
6356+
/v1/networks/{network.id}:
6357+
patch:
6358+
description: Update a Redpanda network.
6359+
operationId: NetworkService_UpdateNetwork
6360+
parameters:
6361+
- description: ID of the network.
6362+
in: path
6363+
name: network.id
6364+
required: true
6365+
schema:
6366+
type: string
6367+
requestBody:
6368+
content:
6369+
application/json:
6370+
schema:
6371+
description: Resource describing an Update Network.
6372+
required:
6373+
- network
6374+
title: NetworkUpdate
6375+
type: object
6376+
description: |-
6377+
NetworkUpdate
6378+
6379+
Resource describing an Update Network.
6380+
required: true
6381+
x-originalParamName: network
6382+
responses:
6383+
"202":
6384+
content:
6385+
application/json:
6386+
schema:
6387+
$ref: '#/components/schemas/UpdateNetworkOperation'
6388+
description: Accepted
6389+
"404":
6390+
content:
6391+
application/json:
6392+
schema:
6393+
$ref: '#/components/schemas/rpc.Status'
6394+
description: Not Found
6395+
"500":
6396+
content:
6397+
application/json:
6398+
schema:
6399+
$ref: '#/components/schemas/rpc.Status'
6400+
description: Internal Server Error. Please reach out to support.
6401+
default:
6402+
content:
6403+
application/json:
6404+
schema:
6405+
$ref: '#/components/schemas/rpc.Status'
6406+
description: An unexpected error response.
6407+
summary: Update network
6408+
tags:
6409+
- Networks
63356410
/v1/operations:
63366411
get:
63376412
description: List operations. This is a generic endpoint and can be used to list any type of operation.
@@ -6356,6 +6431,7 @@ paths:
63566431
- TYPE_DELETE_SERVERLESS_PRIVATE_LINK
63576432
- TYPE_CREATE_NETWORK_PEERING
63586433
- TYPE_DELETE_NETWORK_PEERING
6434+
- TYPE_UPDATE_NETWORK
63596435
- TYPE_CREATE_SHADOW_LINK
63606436
- TYPE_UPDATE_SHADOW_LINK
63616437
- TYPE_DELETE_SHADOW_LINK

cloud-dataplane/cloud-dataplane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7856,7 +7856,7 @@ paths:
78567856
schema:
78577857
$ref: '#/components/schemas/TransformMetadata'
78587858
description: Created
7859-
summary: Deploy transform
7859+
summary: Deploy Transform
78607860
tags:
78617861
- Wasm Transforms
78627862
/v1/transforms/{name}:

0 commit comments

Comments
 (0)