kafka-ui-api.yaml 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975
  1. openapi: 3.0.0
  2. info:
  3. description: Api Documentation
  4. version: 0.1.0
  5. title: Api Documentation
  6. termsOfService: urn:tos
  7. contact: {}
  8. license:
  9. name: Apache 2.0
  10. url: http://www.apache.org/licenses/LICENSE-2.0
  11. tags:
  12. - name: /api/clusters
  13. - name: /api/clusters/connects
  14. servers:
  15. - url: /localhost
  16. paths:
  17. /api/clusters:
  18. get:
  19. tags:
  20. - Clusters
  21. summary: getClusters
  22. operationId: getClusters
  23. responses:
  24. 200:
  25. description: OK
  26. content:
  27. application/json:
  28. schema:
  29. type: array
  30. items:
  31. $ref: '#/components/schemas/Cluster'
  32. /api/clusters/{clusterName}/brokers:
  33. get:
  34. tags:
  35. - Brokers
  36. summary: getBrokers
  37. operationId: getBrokers
  38. parameters:
  39. - name: clusterName
  40. in: path
  41. required: true
  42. schema:
  43. type: string
  44. responses:
  45. 200:
  46. description: OK
  47. content:
  48. application/json:
  49. schema:
  50. type: array
  51. items:
  52. $ref: '#/components/schemas/Broker'
  53. /api/clusters/{clusterName}/metrics:
  54. get:
  55. tags:
  56. - Clusters
  57. summary: getClusterMetrics
  58. operationId: getClusterMetrics
  59. parameters:
  60. - name: clusterName
  61. in: path
  62. required: true
  63. schema:
  64. type: string
  65. responses:
  66. 200:
  67. description: OK
  68. content:
  69. application/json:
  70. schema:
  71. $ref: '#/components/schemas/ClusterMetrics'
  72. /api/clusters/{clusterName}/stats:
  73. get:
  74. tags:
  75. - Clusters
  76. summary: getClusterStats
  77. operationId: getClusterStats
  78. parameters:
  79. - name: clusterName
  80. in: path
  81. required: true
  82. schema:
  83. type: string
  84. responses:
  85. 200:
  86. description: OK
  87. content:
  88. application/json:
  89. schema:
  90. $ref: '#/components/schemas/ClusterStats'
  91. /api/clusters/{clusterName}/brokers/{id}/metrics:
  92. get:
  93. tags:
  94. - Brokers
  95. summary: getBrokersMetrics
  96. operationId: getBrokersMetrics
  97. parameters:
  98. - name: clusterName
  99. in: path
  100. required: true
  101. schema:
  102. type: string
  103. - name: id
  104. in: path
  105. required: true
  106. schema:
  107. type: integer
  108. responses:
  109. 200:
  110. description: OK
  111. content:
  112. application/json:
  113. schema:
  114. $ref: '#/components/schemas/BrokerMetrics'
  115. /api/clusters/{clusterName}/topics:
  116. get:
  117. tags:
  118. - Topics
  119. summary: getTopics
  120. operationId: getTopics
  121. parameters:
  122. - name: clusterName
  123. in: path
  124. required: true
  125. schema:
  126. type: string
  127. - name: page
  128. in: query
  129. required: false
  130. schema:
  131. type: integer
  132. - name: perPage
  133. in: query
  134. required: false
  135. schema:
  136. type: integer
  137. - name: showInternal
  138. in: query
  139. required: false
  140. schema:
  141. type: boolean
  142. - name: search
  143. in: query
  144. required: false
  145. schema:
  146. type: string
  147. - name: orderBy
  148. in: query
  149. required: false
  150. schema:
  151. $ref: '#/components/schemas/TopicColumnsToSort'
  152. responses:
  153. 200:
  154. description: OK
  155. content:
  156. application/json:
  157. schema:
  158. $ref: '#/components/schemas/TopicsResponse'
  159. post:
  160. tags:
  161. - Topics
  162. summary: createTopic
  163. operationId: createTopic
  164. parameters:
  165. - name: clusterName
  166. in: path
  167. required: true
  168. schema:
  169. type: string
  170. requestBody:
  171. content:
  172. application/json:
  173. schema:
  174. $ref: '#/components/schemas/TopicCreation'
  175. responses:
  176. 201:
  177. description: Created
  178. content:
  179. application/json:
  180. schema:
  181. $ref: '#/components/schemas/Topic'
  182. /api/clusters/{clusterName}/topics/{topicName}:
  183. get:
  184. tags:
  185. - Topics
  186. summary: getTopicDetails
  187. operationId: getTopicDetails
  188. parameters:
  189. - name: clusterName
  190. in: path
  191. required: true
  192. schema:
  193. type: string
  194. - name: topicName
  195. in: path
  196. required: true
  197. schema:
  198. type: string
  199. responses:
  200. 200:
  201. description: OK
  202. content:
  203. application/json:
  204. schema:
  205. $ref: '#/components/schemas/TopicDetails'
  206. patch:
  207. tags:
  208. - Topics
  209. summary: updateTopic
  210. operationId: updateTopic
  211. parameters:
  212. - name: clusterName
  213. in: path
  214. required: true
  215. schema:
  216. type: string
  217. - name: topicName
  218. in: path
  219. required: true
  220. schema:
  221. type: string
  222. requestBody:
  223. content:
  224. application/json:
  225. schema:
  226. $ref: '#/components/schemas/TopicUpdate'
  227. responses:
  228. 200:
  229. description: Updated
  230. content:
  231. application/json:
  232. schema:
  233. $ref: '#/components/schemas/Topic'
  234. delete:
  235. tags:
  236. - Topics
  237. summary: deleteTopic
  238. operationId: deleteTopic
  239. parameters:
  240. - name: clusterName
  241. in: path
  242. required: true
  243. schema:
  244. type: string
  245. - name: topicName
  246. in: path
  247. required: true
  248. schema:
  249. type: string
  250. responses:
  251. 200:
  252. description: OK
  253. 404:
  254. description: Not found
  255. /api/clusters/{clusterName}/topics/{topicName}/config:
  256. get:
  257. tags:
  258. - Topics
  259. summary: getTopicConfigs
  260. operationId: getTopicConfigs
  261. parameters:
  262. - name: clusterName
  263. in: path
  264. required: true
  265. schema:
  266. type: string
  267. - name: topicName
  268. in: path
  269. required: true
  270. schema:
  271. type: string
  272. responses:
  273. 200:
  274. description: OK
  275. content:
  276. application/json:
  277. schema:
  278. type: array
  279. items:
  280. $ref: '#/components/schemas/TopicConfig'
  281. /api/clusters/{clusterName}/topics/{topicName}/messages:
  282. get:
  283. tags:
  284. - Messages
  285. summary: getTopicMessages
  286. operationId: getTopicMessages
  287. parameters:
  288. - name: clusterName
  289. in: path
  290. required: true
  291. schema:
  292. type: string
  293. - name: topicName
  294. in: path
  295. required: true
  296. schema:
  297. type: string
  298. - name: seekType
  299. in: query
  300. schema:
  301. $ref: "#/components/schemas/SeekType"
  302. - name: seekTo
  303. in: query
  304. schema:
  305. type: array
  306. items:
  307. type: string
  308. description: The format is [partition]::[offset] for specifying offsets or [partition]::[timstamp in millis] for specifying timestamps
  309. - name: limit
  310. in: query
  311. schema:
  312. type: integer
  313. - name: q
  314. in: query
  315. schema:
  316. type: string
  317. - name: seekDirection
  318. in: query
  319. schema:
  320. $ref: "#/components/schemas/SeekDirection"
  321. responses:
  322. 200:
  323. description: OK
  324. content:
  325. application/json:
  326. schema:
  327. type: array
  328. items:
  329. $ref: '#/components/schemas/TopicMessage'
  330. delete:
  331. tags:
  332. - Messages
  333. summary: deleteTopicMessages
  334. operationId: deleteTopicMessages
  335. parameters:
  336. - name: clusterName
  337. in: path
  338. required: true
  339. schema:
  340. type: string
  341. - name: topicName
  342. in: path
  343. required: true
  344. schema:
  345. type: string
  346. - name: partitions
  347. in: query
  348. required: false
  349. schema:
  350. type: array
  351. items:
  352. type: integer
  353. responses:
  354. 200:
  355. description: OK
  356. 404:
  357. description: Not found
  358. post:
  359. tags:
  360. - Messages
  361. summary: sendTopicMessages
  362. operationId: sendTopicMessages
  363. parameters:
  364. - name: clusterName
  365. in: path
  366. required: true
  367. schema:
  368. type: string
  369. - name: topicName
  370. in: path
  371. required: true
  372. schema:
  373. type: string
  374. requestBody:
  375. content:
  376. application/json:
  377. schema:
  378. $ref: '#/components/schemas/CreateTopicMessage'
  379. responses:
  380. 200:
  381. description: OK
  382. 404:
  383. description: Not found
  384. /api/clusters/{clusterName}/topics/{topicName}/messages/schema:
  385. get:
  386. tags:
  387. - Messages
  388. summary: getTopicSchema
  389. operationId: getTopicSchema
  390. parameters:
  391. - name: clusterName
  392. in: path
  393. required: true
  394. schema:
  395. type: string
  396. - name: topicName
  397. in: path
  398. required: true
  399. schema:
  400. type: string
  401. responses:
  402. 200:
  403. description: OK
  404. content:
  405. application/json:
  406. schema:
  407. $ref: '#/components/schemas/TopicMessageSchema'
  408. /api/clusters/{clusterName}/topics/{topicName}/consumergroups:
  409. get:
  410. tags:
  411. - Consumer Groups
  412. summary: get Consumer Groups By Topics
  413. operationId: getTopicConsumerGroups
  414. parameters:
  415. - name: clusterName
  416. in: path
  417. required: true
  418. schema:
  419. type: string
  420. - name: topicName
  421. in: path
  422. required: true
  423. schema:
  424. type: string
  425. responses:
  426. 200:
  427. description: OK
  428. content:
  429. application/json:
  430. schema:
  431. $ref: '#/components/schemas/TopicConsumerGroups'
  432. /api/clusters/{clusterName}/consumer-groups/{id}:
  433. get:
  434. tags:
  435. - Consumer Groups
  436. summary: get Consumer Group By Id
  437. operationId: getConsumerGroup
  438. parameters:
  439. - name: clusterName
  440. in: path
  441. required: true
  442. schema:
  443. type: string
  444. - name: id
  445. in: path
  446. required: true
  447. schema:
  448. type: string
  449. responses:
  450. 200:
  451. description: OK
  452. content:
  453. application/json:
  454. schema:
  455. $ref: '#/components/schemas/ConsumerGroupDetails'
  456. delete:
  457. tags:
  458. - Consumer Groups
  459. summary: Delete Consumer Group by ID
  460. operationId: deleteConsumerGroup
  461. parameters:
  462. - name: clusterName
  463. in: path
  464. required: true
  465. schema:
  466. type: string
  467. - name: id
  468. in: path
  469. required: true
  470. schema:
  471. type: string
  472. responses:
  473. 200:
  474. description: OK
  475. /api/clusters/{clusterName}/consumerGroups:
  476. get:
  477. tags:
  478. - Consumer Groups
  479. summary: get all ConsumerGroups
  480. operationId: getConsumerGroups
  481. parameters:
  482. - name: clusterName
  483. in: path
  484. required: true
  485. schema:
  486. type: string
  487. responses:
  488. 200:
  489. description: OK
  490. content:
  491. application/json:
  492. schema:
  493. type: array
  494. items:
  495. $ref: '#/components/schemas/ConsumerGroup'
  496. /api/clusters/{clusterName}/schemas:
  497. post:
  498. tags:
  499. - Schemas
  500. summary: create a new subject schema
  501. operationId: createNewSchema
  502. parameters:
  503. - name: clusterName
  504. in: path
  505. required: true
  506. schema:
  507. type: string
  508. requestBody:
  509. content:
  510. application/json:
  511. schema:
  512. $ref: '#/components/schemas/NewSchemaSubject'
  513. responses:
  514. 200:
  515. description: Ok
  516. content:
  517. application/json:
  518. schema:
  519. $ref: '#/components/schemas/SchemaSubject'
  520. 400:
  521. description: Bad request
  522. 409:
  523. description: Duplicate schema
  524. 422:
  525. description: Invalid parameters
  526. get:
  527. tags:
  528. - Schemas
  529. summary: get all schemas of latest version from Schema Registry service
  530. operationId: getSchemas
  531. parameters:
  532. - name: clusterName
  533. in: path
  534. required: true
  535. schema:
  536. type: string
  537. responses:
  538. 200:
  539. description: OK
  540. content:
  541. application/json:
  542. schema:
  543. type: array
  544. items:
  545. $ref: '#/components/schemas/SchemaSubject'
  546. /api/clusters/{clusterName}/schemas/{subject}:
  547. delete:
  548. tags:
  549. - Schemas
  550. summary: delete schema from Schema Registry service
  551. operationId: deleteSchema
  552. parameters:
  553. - name: clusterName
  554. in: path
  555. required: true
  556. schema:
  557. type: string
  558. - name: subject
  559. in: path
  560. required: true
  561. schema:
  562. type: string
  563. responses:
  564. 200:
  565. description: OK
  566. 404:
  567. description: Not found
  568. /api/clusters/{clusterName}/schemas/{subject}/versions:
  569. get:
  570. tags:
  571. - Schemas
  572. summary: get all version of subject from Schema Registry service
  573. operationId: getAllVersionsBySubject
  574. parameters:
  575. - name: clusterName
  576. in: path
  577. required: true
  578. schema:
  579. type: string
  580. - name: subject
  581. in: path
  582. required: true
  583. schema:
  584. type: string
  585. responses:
  586. 200:
  587. description: OK
  588. content:
  589. application/json:
  590. schema:
  591. type: array
  592. items:
  593. $ref: '#/components/schemas/SchemaSubject'
  594. /api/clusters/{clusterName}/schemas/{subject}/latest:
  595. get:
  596. tags:
  597. - Schemas
  598. summary: get the latest schema from Schema Registry service
  599. operationId: getLatestSchema
  600. parameters:
  601. - name: clusterName
  602. in: path
  603. required: true
  604. schema:
  605. type: string
  606. - name: subject
  607. in: path
  608. required: true
  609. schema:
  610. type: string
  611. responses:
  612. 200:
  613. description: OK
  614. content:
  615. application/json:
  616. schema:
  617. $ref: '#/components/schemas/SchemaSubject'
  618. delete:
  619. tags:
  620. - Schemas
  621. summary: delete the latest schema from schema registry
  622. operationId: deleteLatestSchema
  623. parameters:
  624. - name: clusterName
  625. in: path
  626. required: true
  627. schema:
  628. type: string
  629. - name: subject
  630. in: path
  631. required: true
  632. schema:
  633. type: string
  634. responses:
  635. 200:
  636. description: OK
  637. 404:
  638. description: Not found
  639. /api/clusters/{clusterName}/schemas/{subject}/versions/{version}:
  640. get:
  641. tags:
  642. - Schemas
  643. summary: get schema by version from Schema Registry service
  644. operationId: getSchemaByVersion
  645. parameters:
  646. - name: clusterName
  647. in: path
  648. required: true
  649. schema:
  650. type: string
  651. - name: subject
  652. in: path
  653. required: true
  654. schema:
  655. type: string
  656. - name: version
  657. in: path
  658. required: true
  659. schema:
  660. type: integer
  661. responses:
  662. 200:
  663. description: OK
  664. content:
  665. application/json:
  666. schema:
  667. $ref: '#/components/schemas/SchemaSubject'
  668. delete:
  669. tags:
  670. - Schemas
  671. summary: delete schema by version from schema registry
  672. operationId: deleteSchemaByVersion
  673. parameters:
  674. - name: clusterName
  675. in: path
  676. required: true
  677. schema:
  678. type: string
  679. - name: subject
  680. in: path
  681. required: true
  682. schema:
  683. type: string
  684. - name: version
  685. in: path
  686. required: true
  687. schema:
  688. type: integer
  689. responses:
  690. 200:
  691. description: OK
  692. 404:
  693. description: Not found
  694. /api/clusters/{clusterName}/schemas/compatibility:
  695. get:
  696. tags:
  697. - Schemas
  698. summary: Get global schema compatibility level
  699. operationId: getGlobalSchemaCompatibilityLevel
  700. parameters:
  701. - name: clusterName
  702. in: path
  703. required: true
  704. schema:
  705. type: string
  706. responses:
  707. 200:
  708. description: OK
  709. content:
  710. application/json:
  711. schema:
  712. $ref: '#/components/schemas/CompatibilityLevel'
  713. put:
  714. tags:
  715. - Schemas
  716. summary: Update compatibility level globally
  717. operationId: updateGlobalSchemaCompatibilityLevel
  718. parameters:
  719. - name: clusterName
  720. in: path
  721. required: true
  722. schema:
  723. type: string
  724. requestBody:
  725. content:
  726. application/json:
  727. schema:
  728. $ref: '#/components/schemas/CompatibilityLevel'
  729. responses:
  730. 200:
  731. description: OK
  732. 404:
  733. description: Not Found
  734. /api/clusters/{clusterName}/schemas/{subject}/compatibility:
  735. put:
  736. tags:
  737. - Schemas
  738. summary: Update compatibility level for specific schema.
  739. operationId: updateSchemaCompatibilityLevel
  740. parameters:
  741. - name: clusterName
  742. in: path
  743. required: true
  744. schema:
  745. type: string
  746. - name: subject
  747. in: path
  748. required: true
  749. schema:
  750. type: string
  751. requestBody:
  752. content:
  753. application/json:
  754. schema:
  755. $ref: '#/components/schemas/CompatibilityLevel'
  756. responses:
  757. 200:
  758. description: OK
  759. 404:
  760. description: Not Found
  761. /api/clusters/{clusterName}/schemas/{subject}/check:
  762. post:
  763. tags:
  764. - Schemas
  765. summary: Check compatibility of the schema.
  766. operationId: checkSchemaCompatibility
  767. parameters:
  768. - name: clusterName
  769. in: path
  770. required: true
  771. schema:
  772. type: string
  773. - name: subject
  774. in: path
  775. required: true
  776. schema:
  777. type: string
  778. requestBody:
  779. content:
  780. application/json:
  781. schema:
  782. $ref: '#/components/schemas/NewSchemaSubject'
  783. responses:
  784. 200:
  785. description: OK
  786. content:
  787. application/json:
  788. schema:
  789. $ref: '#/components/schemas/CompatibilityCheckResponse'
  790. 404:
  791. description: Not Found
  792. /api/clusters/{clusterName}/connects:
  793. get:
  794. tags:
  795. - Kafka Connect
  796. summary: get all kafka connect instances
  797. operationId: getConnects
  798. parameters:
  799. - name: clusterName
  800. in: path
  801. required: true
  802. schema:
  803. type: string
  804. responses:
  805. 200:
  806. description: OK
  807. content:
  808. application/json:
  809. schema:
  810. type: array
  811. items:
  812. $ref: '#/components/schemas/Connect'
  813. /api/clusters/{clusterName}/connectors:
  814. get:
  815. tags:
  816. - Kafka Connect
  817. summary: get all kafka connectors
  818. operationId: getAllConnectors
  819. parameters:
  820. - name: clusterName
  821. in: path
  822. required: true
  823. schema:
  824. type: string
  825. responses:
  826. 200:
  827. description: OK
  828. content:
  829. application/json:
  830. schema:
  831. type: array
  832. items:
  833. $ref: '#/components/schemas/FullConnectorInfo'
  834. /api/clusters/{clusterName}/connects/{connectName}/connectors:
  835. get:
  836. tags:
  837. - Kafka Connect
  838. summary: get connectors for provided kafka connect instance
  839. operationId: getConnectors
  840. parameters:
  841. - name: clusterName
  842. in: path
  843. required: true
  844. schema:
  845. type: string
  846. - name: connectName
  847. in: path
  848. required: true
  849. schema:
  850. type: string
  851. responses:
  852. 200:
  853. description: OK
  854. content:
  855. application/json:
  856. schema:
  857. type: array
  858. items:
  859. type: string
  860. post:
  861. tags:
  862. - Kafka Connect
  863. summary: create new connector
  864. operationId: createConnector
  865. parameters:
  866. - name: clusterName
  867. in: path
  868. required: true
  869. schema:
  870. type: string
  871. - name: connectName
  872. in: path
  873. required: true
  874. schema:
  875. type: string
  876. requestBody:
  877. content:
  878. application/json:
  879. schema:
  880. $ref: '#/components/schemas/NewConnector'
  881. responses:
  882. 200:
  883. description: OK
  884. content:
  885. application/json:
  886. schema:
  887. $ref: '#/components/schemas/Connector'
  888. 409:
  889. description: rebalance is in progress
  890. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}:
  891. get:
  892. tags:
  893. - Kafka Connect
  894. summary: get information about the connector
  895. operationId: getConnector
  896. parameters:
  897. - name: clusterName
  898. in: path
  899. required: true
  900. schema:
  901. type: string
  902. - name: connectName
  903. in: path
  904. required: true
  905. schema:
  906. type: string
  907. - name: connectorName
  908. in: path
  909. required: true
  910. schema:
  911. type: string
  912. responses:
  913. 200:
  914. description: OK
  915. content:
  916. application/json:
  917. schema:
  918. $ref: '#/components/schemas/Connector'
  919. delete:
  920. tags:
  921. - Kafka Connect
  922. summary: delete connector
  923. operationId: deleteConnector
  924. parameters:
  925. - name: clusterName
  926. in: path
  927. required: true
  928. schema:
  929. type: string
  930. - name: connectName
  931. in: path
  932. required: true
  933. schema:
  934. type: string
  935. - name: connectorName
  936. in: path
  937. required: true
  938. schema:
  939. type: string
  940. responses:
  941. 200:
  942. description: OK
  943. 409:
  944. description: rebalance is in progress
  945. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/action/{action}:
  946. post:
  947. tags:
  948. - Kafka Connect
  949. summary: update connector state (restart, pause or resume)
  950. operationId: updateConnectorState
  951. parameters:
  952. - name: clusterName
  953. in: path
  954. required: true
  955. schema:
  956. type: string
  957. - name: connectName
  958. in: path
  959. required: true
  960. schema:
  961. type: string
  962. - name: connectorName
  963. in: path
  964. required: true
  965. schema:
  966. type: string
  967. - name: action
  968. in: path
  969. required: true
  970. schema:
  971. $ref: '#/components/schemas/ConnectorAction'
  972. responses:
  973. 200:
  974. description: OK
  975. 409:
  976. description: rebalance is in progress
  977. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/config:
  978. get:
  979. tags:
  980. - Kafka Connect
  981. summary: get connector configuration
  982. operationId: getConnectorConfig
  983. parameters:
  984. - name: clusterName
  985. in: path
  986. required: true
  987. schema:
  988. type: string
  989. - name: connectName
  990. in: path
  991. required: true
  992. schema:
  993. type: string
  994. - name: connectorName
  995. in: path
  996. required: true
  997. schema:
  998. type: string
  999. responses:
  1000. 200:
  1001. description: OK
  1002. content:
  1003. application/json:
  1004. schema:
  1005. $ref: '#/components/schemas/ConnectorConfig'
  1006. put:
  1007. tags:
  1008. - Kafka Connect
  1009. summary: update or create connector with provided config
  1010. operationId: setConnectorConfig
  1011. parameters:
  1012. - name: clusterName
  1013. in: path
  1014. required: true
  1015. schema:
  1016. type: string
  1017. - name: connectName
  1018. in: path
  1019. required: true
  1020. schema:
  1021. type: string
  1022. - name: connectorName
  1023. in: path
  1024. required: true
  1025. schema:
  1026. type: string
  1027. requestBody:
  1028. content:
  1029. application/json:
  1030. schema:
  1031. $ref: '#/components/schemas/ConnectorConfig'
  1032. responses:
  1033. 200:
  1034. description: OK
  1035. content:
  1036. application/json:
  1037. schema:
  1038. $ref: '#/components/schemas/Connector'
  1039. 409:
  1040. description: rebalance is in progress
  1041. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks:
  1042. get:
  1043. tags:
  1044. - Kafka Connect
  1045. summary: get connector tasks
  1046. operationId: getConnectorTasks
  1047. parameters:
  1048. - name: clusterName
  1049. in: path
  1050. required: true
  1051. schema:
  1052. type: string
  1053. - name: connectName
  1054. in: path
  1055. required: true
  1056. schema:
  1057. type: string
  1058. - name: connectorName
  1059. in: path
  1060. required: true
  1061. schema:
  1062. type: string
  1063. responses:
  1064. 200:
  1065. description: OK
  1066. content:
  1067. application/json:
  1068. schema:
  1069. type: array
  1070. items:
  1071. $ref: '#/components/schemas/Task'
  1072. /api/clusters/{clusterName}/connects/{connectName}/connectors/{connectorName}/tasks/{taskId}/action/restart:
  1073. post:
  1074. tags:
  1075. - Kafka Connect
  1076. summary: restart connector task
  1077. operationId: restartConnectorTask
  1078. parameters:
  1079. - name: clusterName
  1080. in: path
  1081. required: true
  1082. schema:
  1083. type: string
  1084. - name: connectName
  1085. in: path
  1086. required: true
  1087. schema:
  1088. type: string
  1089. - name: connectorName
  1090. in: path
  1091. required: true
  1092. schema:
  1093. type: string
  1094. - name: taskId
  1095. in: path
  1096. required: true
  1097. schema:
  1098. type: integer
  1099. responses:
  1100. 200:
  1101. description: OK
  1102. /api/clusters/{clusterName}/connects/{connectName}/plugins:
  1103. get:
  1104. tags:
  1105. - Kafka Connect
  1106. summary: get connector plugins
  1107. operationId: getConnectorPlugins
  1108. parameters:
  1109. - name: clusterName
  1110. in: path
  1111. required: true
  1112. schema:
  1113. type: string
  1114. - name: connectName
  1115. in: path
  1116. required: true
  1117. schema:
  1118. type: string
  1119. responses:
  1120. 200:
  1121. description: OK
  1122. content:
  1123. application/json:
  1124. schema:
  1125. type: array
  1126. items:
  1127. $ref: '#/components/schemas/ConnectorPlugin'
  1128. /api/clusters/{clusterName}/connects/{connectName}/plugins/{pluginName}/config/validate:
  1129. put:
  1130. tags:
  1131. - Kafka Connect
  1132. summary: validate connector plugin configuration
  1133. operationId: validateConnectorPluginConfig
  1134. parameters:
  1135. - name: clusterName
  1136. in: path
  1137. required: true
  1138. schema:
  1139. type: string
  1140. - name: connectName
  1141. in: path
  1142. required: true
  1143. schema:
  1144. type: string
  1145. - name: pluginName
  1146. in: path
  1147. required: true
  1148. schema:
  1149. type: string
  1150. requestBody:
  1151. content:
  1152. application/json:
  1153. schema:
  1154. $ref: '#/components/schemas/ConnectorConfig'
  1155. responses:
  1156. 200:
  1157. description: OK
  1158. content:
  1159. application/json:
  1160. schema:
  1161. $ref: '#/components/schemas/ConnectorPluginConfigValidationResponse'
  1162. components:
  1163. schemas:
  1164. ErrorResponse:
  1165. description: Error object that will be returned with 4XX and 5XX HTTP statuses
  1166. type: object
  1167. properties:
  1168. code:
  1169. type: integer
  1170. description: Internal error code (can be used for message formatting & localization on UI)
  1171. message:
  1172. type: string
  1173. description: Error message
  1174. timestamp:
  1175. type: number
  1176. description: Response unix timestamp in ms
  1177. requestId:
  1178. type: string
  1179. description: Unique server-defined request id for convenient debugging
  1180. fieldsErrors:
  1181. type: array
  1182. items:
  1183. $ref: '#/components/schemas/FieldError'
  1184. FieldError:
  1185. type: object
  1186. properties:
  1187. fieldName:
  1188. type: string
  1189. description: Name of field that violated format
  1190. restrictions:
  1191. description: Field format violations description (ex. ["size must be between 0 and 20", "must be a well-formed email address"])
  1192. type: array
  1193. items:
  1194. type: string
  1195. Cluster:
  1196. type: object
  1197. properties:
  1198. name:
  1199. type: string
  1200. defaultCluster:
  1201. type: boolean
  1202. status:
  1203. $ref: '#/components/schemas/ServerStatus'
  1204. brokerCount:
  1205. type: integer
  1206. onlinePartitionCount:
  1207. type: integer
  1208. topicCount:
  1209. type: integer
  1210. bytesInPerSec:
  1211. type: number
  1212. bytesOutPerSec:
  1213. type: number
  1214. readOnly:
  1215. type: boolean
  1216. features:
  1217. type: array
  1218. items:
  1219. type: string
  1220. enum:
  1221. - SCHEMA_REGISTRY
  1222. - KAFKA_CONNECT
  1223. required:
  1224. - id
  1225. - name
  1226. - status
  1227. ServerStatus:
  1228. type: string
  1229. enum:
  1230. - online
  1231. - offline
  1232. ClusterMetrics:
  1233. type: object
  1234. properties:
  1235. items:
  1236. type: array
  1237. items:
  1238. $ref: '#/components/schemas/Metric'
  1239. ClusterStats:
  1240. type: object
  1241. properties:
  1242. brokerCount:
  1243. type: integer
  1244. zooKeeperStatus:
  1245. type: integer
  1246. activeControllers:
  1247. type: integer
  1248. onlinePartitionCount:
  1249. type: integer
  1250. offlinePartitionCount:
  1251. type: integer
  1252. inSyncReplicasCount:
  1253. type: integer
  1254. outOfSyncReplicasCount:
  1255. type: integer
  1256. underReplicatedPartitionCount:
  1257. type: integer
  1258. diskUsage:
  1259. type: array
  1260. items:
  1261. $ref: '#/components/schemas/BrokerDiskUsage'
  1262. BrokerDiskUsage:
  1263. type: object
  1264. properties:
  1265. brokerId:
  1266. type: integer
  1267. segmentSize:
  1268. type: integer
  1269. format: int64
  1270. segmentCount:
  1271. type: integer
  1272. required:
  1273. - brokerId
  1274. BrokerMetrics:
  1275. type: object
  1276. properties:
  1277. segmentSize:
  1278. type: integer
  1279. format: int64
  1280. segmentCount:
  1281. type: integer
  1282. metrics:
  1283. type: array
  1284. items:
  1285. $ref: '#/components/schemas/Metric'
  1286. TopicsResponse:
  1287. type: object
  1288. properties:
  1289. pageCount:
  1290. type: integer
  1291. topics:
  1292. type: array
  1293. items:
  1294. $ref: '#/components/schemas/Topic'
  1295. TopicColumnsToSort:
  1296. type: string
  1297. enum:
  1298. - NAME
  1299. - OUT_OF_SYNC_REPLICAS
  1300. - TOTAL_PARTITIONS
  1301. Topic:
  1302. type: object
  1303. properties:
  1304. name:
  1305. type: string
  1306. internal:
  1307. type: boolean
  1308. partitionCount:
  1309. type: integer
  1310. replicationFactor:
  1311. type: integer
  1312. replicas:
  1313. type: integer
  1314. inSyncReplicas:
  1315. type: integer
  1316. segmentSize:
  1317. type: integer
  1318. format: int64
  1319. segmentCount:
  1320. type: integer
  1321. underReplicatedPartitions:
  1322. type: integer
  1323. partitions:
  1324. type: array
  1325. items:
  1326. $ref: "#/components/schemas/Partition"
  1327. required:
  1328. - name
  1329. Replica:
  1330. type: object
  1331. properties:
  1332. broker:
  1333. type: integer
  1334. leader:
  1335. type: boolean
  1336. inSync:
  1337. type: boolean
  1338. TopicDetails:
  1339. type: object
  1340. properties:
  1341. name:
  1342. type: string
  1343. internal:
  1344. type: boolean
  1345. partitions:
  1346. type: array
  1347. items:
  1348. $ref: "#/components/schemas/Partition"
  1349. partitionCount:
  1350. type: integer
  1351. replicationFactor:
  1352. type: integer
  1353. replicas:
  1354. type: integer
  1355. inSyncReplicas:
  1356. type: integer
  1357. bytesInPerSec:
  1358. type: number
  1359. bytesOutPerSec:
  1360. type: number
  1361. segmentSize:
  1362. type: integer
  1363. segmentCount:
  1364. type: integer
  1365. underReplicatedPartitions:
  1366. type: integer
  1367. required:
  1368. - name
  1369. TopicConfig:
  1370. type: object
  1371. properties:
  1372. name:
  1373. type: string
  1374. value:
  1375. type: string
  1376. defaultValue:
  1377. type: string
  1378. required:
  1379. - name
  1380. TopicCreation:
  1381. type: object
  1382. properties:
  1383. name:
  1384. type: string
  1385. partitions:
  1386. type: integer
  1387. replicationFactor:
  1388. type: integer
  1389. configs:
  1390. type: object
  1391. additionalProperties:
  1392. type: string
  1393. required:
  1394. - name
  1395. - partitions
  1396. - replicationFactor
  1397. TopicUpdate:
  1398. type: object
  1399. properties:
  1400. configs:
  1401. type: object
  1402. additionalProperties:
  1403. type: string
  1404. required:
  1405. - configs
  1406. Broker:
  1407. type: object
  1408. properties:
  1409. id:
  1410. type: integer
  1411. host:
  1412. type: string
  1413. required:
  1414. - id
  1415. ConsumerGroup:
  1416. type: object
  1417. properties:
  1418. clusterId:
  1419. type: string
  1420. consumerGroupId:
  1421. type: string
  1422. numConsumers:
  1423. type: integer
  1424. numTopics:
  1425. type: integer
  1426. simple:
  1427. type: boolean
  1428. partitionAssignor:
  1429. type: string
  1430. state:
  1431. type: string
  1432. coordintor:
  1433. type: string
  1434. required:
  1435. - clusterId
  1436. - consumerGroupId
  1437. CreateTopicMessage:
  1438. type: object
  1439. properties:
  1440. partition:
  1441. type: integer
  1442. key:
  1443. type: string
  1444. headers:
  1445. type: object
  1446. additionalProperties:
  1447. type: string
  1448. content:
  1449. type: object
  1450. required:
  1451. - content
  1452. TopicMessageSchema:
  1453. type: object
  1454. properties:
  1455. key:
  1456. $ref: "#/components/schemas/MessageSchema"
  1457. value:
  1458. $ref: "#/components/schemas/MessageSchema"
  1459. required:
  1460. - key
  1461. - value
  1462. MessageSchema:
  1463. type: object
  1464. properties:
  1465. name:
  1466. type: string
  1467. source:
  1468. type: string
  1469. enum:
  1470. - SOURCE_SCHEMA_REGISTRY
  1471. - SOURCE_PROTO_FILE
  1472. - SOURCE_UNKNOWN
  1473. schema:
  1474. type: string
  1475. required:
  1476. - name
  1477. - source
  1478. - schema
  1479. TopicMessage:
  1480. type: object
  1481. properties:
  1482. partition:
  1483. type: integer
  1484. offset:
  1485. type: integer
  1486. format: int64
  1487. timestamp:
  1488. type: string
  1489. format: date-time
  1490. timestampType:
  1491. type: string
  1492. enum:
  1493. - NO_TIMESTAMP_TYPE
  1494. - CREATE_TIME
  1495. - LOG_APPEND_TIME
  1496. key:
  1497. type: string
  1498. headers:
  1499. type: object
  1500. additionalProperties:
  1501. type: string
  1502. content:
  1503. type: object
  1504. required:
  1505. - partition
  1506. - offset
  1507. - timestamp
  1508. SeekType:
  1509. type: string
  1510. enum:
  1511. - BEGINNING
  1512. - OFFSET
  1513. - TIMESTAMP
  1514. SeekDirection:
  1515. type: string
  1516. enum:
  1517. - FORWARD
  1518. - BACKWARD
  1519. default: FORWARD
  1520. Partition:
  1521. type: object
  1522. properties:
  1523. partition:
  1524. type: integer
  1525. leader:
  1526. type: integer
  1527. replicas:
  1528. type: array
  1529. items:
  1530. $ref: '#/components/schemas/Replica'
  1531. offsetMax:
  1532. type: integer
  1533. format: int64
  1534. offsetMin:
  1535. type: integer
  1536. format: int64
  1537. required:
  1538. - topic
  1539. - partition
  1540. - offsetMax
  1541. - offsetMin
  1542. ConsumerTopicPartitionDetail:
  1543. type: object
  1544. properties:
  1545. groupId:
  1546. type: string
  1547. consumerId:
  1548. type: string
  1549. topic:
  1550. type: string
  1551. host:
  1552. type: string
  1553. partition:
  1554. type: integer
  1555. currentOffset:
  1556. type: integer
  1557. format: int64
  1558. endOffset:
  1559. type: integer
  1560. format: int64
  1561. messagesBehind:
  1562. type: integer
  1563. format: int64
  1564. required:
  1565. - consumerId
  1566. TopicConsumerGroups:
  1567. type: object
  1568. properties:
  1569. consumers:
  1570. type: array
  1571. items:
  1572. $ref: '#/components/schemas/ConsumerTopicPartitionDetail'
  1573. ConsumerGroupDetails:
  1574. type: object
  1575. properties:
  1576. consumerGroupId:
  1577. type: string
  1578. simple:
  1579. type: boolean
  1580. partitionAssignor:
  1581. type: string
  1582. state:
  1583. type: string
  1584. coordintor:
  1585. type: string
  1586. consumers:
  1587. type: array
  1588. items:
  1589. $ref: '#/components/schemas/ConsumerTopicPartitionDetail'
  1590. required:
  1591. - consumerGroupId
  1592. Metric:
  1593. type: object
  1594. properties:
  1595. name:
  1596. type: string
  1597. canonicalName:
  1598. type: string
  1599. params:
  1600. type: string
  1601. additionalProperties:
  1602. type: string
  1603. value:
  1604. type: string
  1605. additionalProperties:
  1606. type: number
  1607. SchemaSubject:
  1608. type: object
  1609. properties:
  1610. subject:
  1611. type: string
  1612. version:
  1613. type: string
  1614. id:
  1615. type: integer
  1616. schema:
  1617. type: string
  1618. compatibilityLevel:
  1619. type: string
  1620. schemaType:
  1621. $ref: '#/components/schemas/SchemaType'
  1622. required:
  1623. - id
  1624. - subject
  1625. - version
  1626. - schema
  1627. - compatibilityLevel
  1628. - schemaType
  1629. NewSchemaSubject:
  1630. type: object
  1631. properties:
  1632. subject:
  1633. type: string
  1634. schema:
  1635. type: string
  1636. schemaType:
  1637. $ref: '#/components/schemas/SchemaType'
  1638. required:
  1639. - subject
  1640. - schema
  1641. - schemaType
  1642. CompatibilityLevel:
  1643. type: object
  1644. properties:
  1645. compatibility:
  1646. type: string
  1647. enum:
  1648. - BACKWARD
  1649. - BACKWARD_TRANSITIVE
  1650. - FORWARD
  1651. - FORWARD_TRANSITIVE
  1652. - FULL
  1653. - FULL_TRANSITIVE
  1654. - NONE
  1655. required:
  1656. - compatibility
  1657. SchemaType:
  1658. type: string
  1659. enum:
  1660. - AVRO
  1661. - JSON
  1662. - PROTOBUF
  1663. CompatibilityCheckResponse:
  1664. type: object
  1665. properties:
  1666. isCompatible:
  1667. type: boolean
  1668. required:
  1669. - isCompatible
  1670. Connect:
  1671. type: object
  1672. properties:
  1673. name:
  1674. type: string
  1675. address:
  1676. type: string
  1677. required:
  1678. - name
  1679. ConnectorConfig:
  1680. type: object
  1681. additionalProperties:
  1682. type: object
  1683. TaskId:
  1684. type: object
  1685. properties:
  1686. connector:
  1687. type: string
  1688. task:
  1689. type: integer
  1690. Task:
  1691. type: object
  1692. properties:
  1693. id:
  1694. $ref: '#/components/schemas/TaskId'
  1695. status:
  1696. $ref: '#/components/schemas/TaskStatus'
  1697. config:
  1698. $ref: '#/components/schemas/ConnectorConfig'
  1699. required:
  1700. - status
  1701. NewConnector:
  1702. type: object
  1703. properties:
  1704. name:
  1705. type: string
  1706. config:
  1707. $ref: '#/components/schemas/ConnectorConfig'
  1708. required:
  1709. - name
  1710. - config
  1711. Connector:
  1712. allOf:
  1713. - $ref: '#/components/schemas/NewConnector'
  1714. - type: object
  1715. properties:
  1716. tasks:
  1717. type: array
  1718. items:
  1719. $ref: '#/components/schemas/TaskId'
  1720. type:
  1721. $ref: '#/components/schemas/ConnectorType'
  1722. status:
  1723. $ref: '#/components/schemas/ConnectorStatus'
  1724. connect:
  1725. type: string
  1726. required:
  1727. - type
  1728. - status
  1729. - connect
  1730. ConnectorType:
  1731. type: string
  1732. enum:
  1733. - SOURCE
  1734. - SINK
  1735. TaskStatus:
  1736. type: object
  1737. properties:
  1738. id:
  1739. type: integer
  1740. state:
  1741. $ref: '#/components/schemas/ConnectorTaskStatus'
  1742. worker_id:
  1743. type: string
  1744. trace:
  1745. type: string
  1746. required:
  1747. - id
  1748. - state
  1749. - worker_id
  1750. ConnectorStatus:
  1751. type: object
  1752. properties:
  1753. state:
  1754. $ref: '#/components/schemas/ConnectorTaskStatus'
  1755. worker_id:
  1756. type: string
  1757. required:
  1758. - state
  1759. ConnectorTaskStatus:
  1760. type: string
  1761. enum:
  1762. - RUNNING
  1763. - FAILED
  1764. - PAUSED
  1765. - UNASSIGNED
  1766. ConnectorAction:
  1767. type: string
  1768. enum:
  1769. - RESTART
  1770. - PAUSE
  1771. - RESUME
  1772. TaskAction:
  1773. type: string
  1774. enum:
  1775. - restart
  1776. ConnectorPlugin:
  1777. type: object
  1778. properties:
  1779. class:
  1780. type: string
  1781. ConnectorPluginConfigDefinition:
  1782. type: object
  1783. properties:
  1784. name:
  1785. type: string
  1786. type:
  1787. type: string
  1788. enum:
  1789. - BOOLEAN
  1790. - CLASS
  1791. - DOUBLE
  1792. - INT
  1793. - LIST
  1794. - LONG
  1795. - PASSWORD
  1796. - SHORT
  1797. - STRING
  1798. required:
  1799. type: boolean
  1800. default_value:
  1801. type: string
  1802. importance:
  1803. type: string
  1804. enum:
  1805. - LOW
  1806. - MEDIUM
  1807. - HIGH
  1808. documentation:
  1809. type: string
  1810. group:
  1811. type: string
  1812. width:
  1813. type: string
  1814. enum:
  1815. - SHORT
  1816. - MEDIUM
  1817. - LONG
  1818. - NONE
  1819. display_name:
  1820. type: string
  1821. dependents:
  1822. type: array
  1823. items:
  1824. type: string
  1825. order:
  1826. type: integer
  1827. ConnectorPluginConfigValue:
  1828. type: object
  1829. properties:
  1830. name:
  1831. type: string
  1832. value:
  1833. type: string
  1834. recommended_values:
  1835. type: array
  1836. items:
  1837. type: string
  1838. errors:
  1839. type: array
  1840. items:
  1841. type: string
  1842. visible:
  1843. type: boolean
  1844. ConnectorPluginConfig:
  1845. type: object
  1846. properties:
  1847. definition:
  1848. $ref: '#/components/schemas/ConnectorPluginConfigDefinition'
  1849. value:
  1850. $ref: '#/components/schemas/ConnectorPluginConfigValue'
  1851. ConnectorPluginConfigValidationResponse:
  1852. type: object
  1853. properties:
  1854. name:
  1855. type: string
  1856. error_count:
  1857. type: integer
  1858. groups:
  1859. type: array
  1860. items:
  1861. type: string
  1862. configs:
  1863. type: array
  1864. items:
  1865. $ref: '#/components/schemas/ConnectorPluginConfig'
  1866. FullConnectorInfo:
  1867. type: object
  1868. properties:
  1869. connect:
  1870. type: string
  1871. name:
  1872. type: string
  1873. connector_class:
  1874. type: string
  1875. type:
  1876. $ref: '#/components/schemas/ConnectorType'
  1877. topics:
  1878. type: array
  1879. items:
  1880. type: string
  1881. status:
  1882. $ref: '#/components/schemas/ConnectorStatus'
  1883. tasks_count:
  1884. type: integer
  1885. failed_tasks_count:
  1886. type: integer
  1887. required:
  1888. - name
  1889. - connect
  1890. - status