diff --git a/cloud-controlplane/cloud-controlplane.yaml b/cloud-controlplane/cloud-controlplane.yaml index d3d6fe8..9a726f0 100644 --- a/cloud-controlplane/cloud-controlplane.yaml +++ b/cloud-controlplane/cloud-controlplane.yaml @@ -2729,6 +2729,16 @@ components: created: $ref: '#/components/schemas/Created' type: object + NetworkUpdate: + description: Resource describing an Update Network. + properties: + id: + description: ID of the network. + type: string + required: + - id + title: NetworkUpdate + type: object NullValue: description: |- `NullValue` is a singleton enumeration to represent the null value for the @@ -2759,6 +2769,7 @@ components: - TYPE_DELETE_SERVERLESS_PRIVATE_LINK - TYPE_CREATE_NETWORK_PEERING - TYPE_DELETE_NETWORK_PEERING + - TYPE_UPDATE_NETWORK - TYPE_CREATE_SHADOW_LINK - TYPE_UPDATE_SHADOW_LINK - TYPE_DELETE_SHADOW_LINK @@ -4342,6 +4353,16 @@ components: group: $ref: '#/components/schemas/Group' type: object + UpdateNetworkMetadata: + description: Resource describing an in-progress UpdateNetwork Operation. + title: UpdateNetworkMetadata + type: object + UpdateNetworkOperation: + description: UpdateNetworkOperation is the response of the update network rpc. + properties: + operation: + $ref: '#/components/schemas/v1.Operation' + type: object UpdateOrganizationResponse: properties: organization: @@ -6332,6 +6353,60 @@ paths: summary: Get network tags: - Networks + /v1/networks/{network.id}: + patch: + description: Update a Redpanda network. + operationId: NetworkService_UpdateNetwork + parameters: + - description: ID of the network. + in: path + name: network.id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + description: Resource describing an Update Network. + required: + - network + title: NetworkUpdate + type: object + description: |- + NetworkUpdate + + Resource describing an Update Network. + required: true + x-originalParamName: network + responses: + "202": + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateNetworkOperation' + description: Accepted + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/rpc.Status' + description: Not Found + "500": + content: + application/json: + schema: + $ref: '#/components/schemas/rpc.Status' + description: Internal Server Error. Please reach out to support. + default: + content: + application/json: + schema: + $ref: '#/components/schemas/rpc.Status' + description: An unexpected error response. + summary: Update network + tags: + - Networks /v1/operations: get: description: List operations. This is a generic endpoint and can be used to list any type of operation. @@ -6356,6 +6431,7 @@ paths: - TYPE_DELETE_SERVERLESS_PRIVATE_LINK - TYPE_CREATE_NETWORK_PEERING - TYPE_DELETE_NETWORK_PEERING + - TYPE_UPDATE_NETWORK - TYPE_CREATE_SHADOW_LINK - TYPE_UPDATE_SHADOW_LINK - TYPE_DELETE_SHADOW_LINK diff --git a/cloud-dataplane/cloud-dataplane.yaml b/cloud-dataplane/cloud-dataplane.yaml index e0b311b..3992089 100644 --- a/cloud-dataplane/cloud-dataplane.yaml +++ b/cloud-dataplane/cloud-dataplane.yaml @@ -7856,7 +7856,7 @@ paths: schema: $ref: '#/components/schemas/TransformMetadata' description: Created - summary: Deploy transform + summary: Deploy Transform tags: - Wasm Transforms /v1/transforms/{name}: