@@ -1202,6 +1202,57 @@ paths:
12021202 - Bearer : []
12031203 x-accepts : application/json
12041204 /api/kafkas_mgmt/v1/clusters :
1205+ get :
1206+ description : List all Enterprise OSD clusters
1207+ operationId : getEnterpriseOsdClusters
1208+ responses :
1209+ " 200 " :
1210+ content :
1211+ application/json :
1212+ schema :
1213+ $ref : ' #/components/schemas/EnterpriseClusterList'
1214+ description : List Enterprise OSD clusters
1215+ " 400 " :
1216+ content :
1217+ application/json :
1218+ examples :
1219+ InvalidQueryExample :
1220+ $ref : ' #/components/examples/400InvalidQueryExample'
1221+ schema :
1222+ $ref : ' #/components/schemas/Error'
1223+ description : Bad request
1224+ " 401 " :
1225+ content :
1226+ application/json :
1227+ examples :
1228+ " 401Example " :
1229+ $ref : ' #/components/examples/401Example'
1230+ schema :
1231+ $ref : ' #/components/schemas/Error'
1232+ description : Auth token is invalid
1233+ " 403 " :
1234+ content :
1235+ application/json :
1236+ examples :
1237+ " 403Example " :
1238+ $ref : ' #/components/examples/403Example'
1239+ schema :
1240+ $ref : ' #/components/schemas/Error'
1241+ description : User not authorized to access the service
1242+ " 500 " :
1243+ content :
1244+ application/json :
1245+ examples :
1246+ " 500Example " :
1247+ $ref : ' #/components/examples/500Example'
1248+ schema :
1249+ $ref : ' #/components/schemas/Error'
1250+ description : Unexpected error occurred
1251+ security :
1252+ - Bearer : []
1253+ tags :
1254+ - enterprise-dataplane-clusters
1255+ x-accepts : application/json
12051256 post :
12061257 description : Register enterprise data plane cluster
12071258 operationId : registerEnterpriseOsdCluster
@@ -1220,7 +1271,7 @@ paths:
12201271 content :
12211272 application/json :
12221273 schema :
1223- $ref : ' #/components/schemas/EnterpriseCluster '
1274+ $ref : ' #/components/schemas/EnterpriseClusterRegistrationResponse '
12241275 description : Enterprise cluster registered
12251276 " 400 " :
12261277 content :
@@ -1293,6 +1344,13 @@ components:
12931344 cloud_provider : aws
12941345 name : test_kafka
12951346 plan : standard.x1
1347+ EnterpriseClusterExample :
1348+ value :
1349+ id : abcd1234ascd3456fdks9485lskd030h
1350+ kind : cluster
1351+ href : /api/kafkas_mgmr/v1/clusters/abcd1234ascd3456fdks9485lskd030h
1352+ status : ready
1353+ cluster_id : abcd1234ascd3456fdks9485lskd030h
12961354 KafkaRequestExample :
12971355 value :
12981356 id : 1iSY6RQ3JKI8Q0OTmjQFd3ocFRg
@@ -1868,6 +1926,14 @@ components:
18681926 allOf :
18691927 - $ref : ' #/components/schemas/List'
18701928 - $ref : ' #/components/schemas/KafkaRequestList_allOf'
1929+ EnterpriseClusterList :
1930+ allOf :
1931+ - $ref : ' #/components/schemas/List'
1932+ - $ref : ' #/components/schemas/EnterpriseClusterList_allOf'
1933+ EnterpriseCluster :
1934+ allOf :
1935+ - $ref : ' #/components/schemas/ObjectReference'
1936+ - $ref : ' #/components/schemas/EnterpriseCluster_allOf'
18711937 VersionMetadata :
18721938 allOf :
18731939 - $ref : ' #/components/schemas/ObjectReference'
@@ -2241,9 +2307,10 @@ components:
22412307 - cluster_ingress_dns_name
22422308 - kafka_machine_pool_node_count
22432309 type : object
2244- EnterpriseCluster :
2310+ EnterpriseClusterRegistrationResponse :
22452311 allOf :
2246- - $ref : ' #/components/schemas/EnterpriseCluster_allOf'
2312+ - $ref : ' #/components/schemas/ObjectReference'
2313+ - $ref : ' #/components/schemas/EnterpriseClusterRegistrationResponse_allOf'
22472314 description : Enterprise cluster registration endpoint response
22482315 FleetshardParameter :
22492316 description : Fleetshard parameter consumed by enterprise cluster
@@ -2337,6 +2404,30 @@ components:
23372404 - $ref : ' #/components/schemas/KafkaRequest'
23382405 type : array
23392406 type : object
2407+ EnterpriseClusterList_allOf :
2408+ example :
2409+ kind : ClusterList
2410+ page : " 1"
2411+ size : " 1"
2412+ total : " 1"
2413+ item :
2414+ $ref : ' #/components/examples/EnterpriseClusterExample'
2415+ properties :
2416+ items :
2417+ items :
2418+ allOf :
2419+ - $ref : ' #/components/schemas/EnterpriseCluster'
2420+ type : array
2421+ type : object
2422+ EnterpriseCluster_allOf :
2423+ properties :
2424+ cluster_id :
2425+ description : ocm cluster id of the registered Enterprise cluster
2426+ type : string
2427+ status :
2428+ description : status of registered Enterprise cluster
2429+ type : string
2430+ type : object
23402431 VersionMetadata_allOf :
23412432 example :
23422433 kind : APIVersion
@@ -2508,7 +2599,7 @@ components:
25082599 - $ref : ' #/components/schemas/InstantQuery'
25092600 type : array
25102601 type : object
2511- EnterpriseCluster_allOf :
2602+ EnterpriseClusterRegistrationResponse_allOf :
25122603 properties :
25132604 cluster_id :
25142605 description : OCM cluster id of the registered Enterprise cluster
0 commit comments