Skip to content

Commit 58634be

Browse files
auto-docs: Update Cloud API spec (#23)
* auto-docs: Update Cloud API spec * Apply suggestions from code review --------- Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com>
1 parent 81177a7 commit 58634be

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

cloud-controlplane/cloud-controlplane.yaml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ components:
107107
type: string
108108
type: array
109109
connect_console:
110-
description: Whether Console is connected in Redpanda AWS Private Link Service.
110+
description: Whether Console is connected in Redpanda AWS Private Link Service. The default is true if not set.
111+
nullable: true
111112
type: boolean
112113
enabled:
113114
description: Whether Redpanda AWS Private Link Endpoint Service is enabled.
@@ -221,7 +222,8 @@ components:
221222
type: string
222223
type: array
223224
connect_console:
224-
description: Whether Console is connected in Redpanda Azure Private Link Service.
225+
description: Whether Console is connected in Redpanda Azure Private Link Service. The default is true if not set.
226+
nullable: true
225227
type: boolean
226228
enabled:
227229
description: Enabled controls if Azure Private Link Endpoint Service is enabled.
@@ -265,6 +267,8 @@ components:
265267
Cluster:
266268
description: Resource describing a Cluster.
267269
properties:
270+
api_gateway_access:
271+
$ref: '#/components/schemas/NetworkAccessMode'
268272
aws_private_link:
269273
$ref: '#/components/schemas/AWSPrivateLink'
270274
azure_private_link:
@@ -504,6 +508,8 @@ components:
504508
ClusterCreate:
505509
description: Resource describing a Create Cluster.
506510
properties:
511+
api_gateway_access:
512+
$ref: '#/components/schemas/NetworkAccessMode'
507513
aws_private_link:
508514
$ref: '#/components/schemas/AWSPrivateLinkSpec'
509515
azure_private_link:
@@ -646,6 +652,8 @@ components:
646652
ClusterUpdate:
647653
description: Resource describing an Update Cluster.
648654
properties:
655+
api_gateway_access:
656+
$ref: '#/components/schemas/NetworkAccessMode'
649657
aws_private_link:
650658
$ref: '#/components/schemas/AWSPrivateLinkSpec'
651659
azure_private_link:
@@ -1944,6 +1952,12 @@ components:
19441952
- STATE_DELETING
19451953
- STATE_FAILED
19461954
type: string
1955+
NetworkAccessMode:
1956+
description: Network access mode for an endpoint.
1957+
enum:
1958+
- NETWORK_ACCESS_MODE_PRIVATE
1959+
- NETWORK_ACCESS_MODE_PUBLIC
1960+
type: string
19471961
NetworkCreate:
19481962
description: Redpanda Cloud network properties.
19491963
properties:
@@ -3258,7 +3272,7 @@ components:
32583272
x-client-id: dQjapNIAHhF7EQqQToRla3yEII9sUSap
32593273
type: oauth2
32603274
info:
3261-
description: Use the Control Plane API to manage resources in your Redpanda Cloud organization such as clusters and networks.
3275+
description: The Redpanda Cloud Control Plane API allows programmatic management of Redpanda Cloud resources including clusters, networks, and resource groups.
32623276
title: Redpanda Cloud Control Plane API
32633277
version: v1
32643278
openapi: 3.0.3
@@ -3316,7 +3330,8 @@ paths:
33163330
application/json:
33173331
example:
33183332
clusters:
3319-
- cloud_provider: CLOUD_PROVIDER_GCP
3333+
- api_gateway_access: NETWORK_ACCESS_MODE_UNSPECIFIED
3334+
cloud_provider: CLOUD_PROVIDER_GCP
33203335
cloud_provider_tags: {}
33213336
cloud_storage: null
33223337
cluster_configuration: null
@@ -3500,6 +3515,8 @@ paths:
35003515
schema:
35013516
description: Resource describing an Update Cluster.
35023517
properties:
3518+
api_gateway_access:
3519+
$ref: '#/components/schemas/NetworkAccessMode'
35033520
aws_private_link:
35043521
$ref: '#/components/schemas/AWSPrivateLinkSpec'
35053522
azure_private_link:
@@ -3651,6 +3668,7 @@ paths:
36513668
application/json:
36523669
example:
36533670
cluster:
3671+
api_gateway_access: NETWORK_ACCESS_MODE_UNSPECIFIED
36543672
cloud_provider: CLOUD_PROVIDER_GCP
36553673
cloud_provider_tags: {}
36563674
cloud_storage: null
@@ -4049,6 +4067,7 @@ paths:
40494067
response:
40504068
'@type': type.googleapis.com/redpanda.api.controlplane.v1.CreateClusterResponse
40514069
cluster:
4070+
api_gateway_access: NETWORK_ACCESS_MODE_UNSPECIFIED
40524071
cloud_provider: CLOUD_PROVIDER_GCP
40534072
cloud_provider_tags: {}
40544073
cloud_storage: null
@@ -4174,6 +4193,7 @@ paths:
41744193
response:
41754194
'@type': type.googleapis.com/redpanda.api.controlplane.v1.CreateClusterResponse
41764195
cluster:
4196+
api_gateway_access: NETWORK_ACCESS_MODE_UNSPECIFIED
41774197
cloud_provider: CLOUD_PROVIDER_GCP
41784198
cloud_provider_tags: {}
41794199
cloud_storage: null
@@ -5690,7 +5710,7 @@ tags:
56905710
name: Resource Groups
56915711
- description: Manage [Redpanda Serverless](https://docs.redpanda.com/redpanda-cloud/get-started/cloud-overview/#redpanda-cloud-cluster-types) clusters. For detailed steps, see [Use the Control Plane API with Serverless](https://docs.redpanda.com/redpanda-cloud/manage/api/cloud-serverless-controlplane-api/).
56925712
name: Serverless Clusters
5693-
- description: Manage Redpanda Serverless private links.
5713+
- description: Manage Redpanda Serverless Private Links. For detailed steps and information, see [Use the Control Plane API](https://docs.redpanda.com/redpanda-cloud/manage/api/controlplane/).
56945714
name: Serverless Private Links
56955715
- description: See available Redpanda Serverless regions.
56965716
name: Serverless Regions

cloud-dataplane/cloud-dataplane.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,8 @@ components:
17921792
enum:
17931793
- SCOPE_REDPANDA_CONNECT
17941794
- SCOPE_REDPANDA_CLUSTER
1795+
- SCOPE_MCP_SERVER
1796+
- SCOPE_AI_AGENT
17951797
type: string
17961798
Secret:
17971799
description: Defines the secret resource.
@@ -2227,7 +2229,6 @@ components:
22272229
info:
22282230
title: Redpanda Cloud Data Plane API
22292231
version: v1
2230-
description: Use the Data Plane API to manage topics, ACLs, and connectors within each cluster.
22312232
openapi: 3.0.3
22322233
paths:
22332234
/v1/acls:
@@ -3516,6 +3517,8 @@ paths:
35163517
enum:
35173518
- SCOPE_REDPANDA_CONNECT
35183519
- SCOPE_REDPANDA_CLUSTER
3520+
- SCOPE_MCP_SERVER
3521+
- SCOPE_AI_AGENT
35193522
type: string
35203523
type: array
35213524
- description: |-
@@ -4806,6 +4809,8 @@ paths:
48064809
enum:
48074810
- SCOPE_REDPANDA_CONNECT
48084811
- SCOPE_REDPANDA_CLUSTER
4812+
- SCOPE_MCP_SERVER
4813+
- SCOPE_AI_AGENT
48094814
type: string
48104815
type: array
48114816
- description: |-

0 commit comments

Comments
 (0)