OPENAPI.yaml 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147
  1. openapi: 3.1.0
  2. info:
  3. title: "DataOps Platform API(当前代码基线)"
  4. version: "2026-07-16"
  5. description: "由 scripts/generate_openapi.py 从 app/api/*/routes.py 生成。请求体与响应细节仍以现有专项 API 文档和代码为准。"
  6. x-route-count: 121
  7. servers:
  8. - url: "http://localhost:15500"
  9. description: "全本地隔离测试后端"
  10. tags:
  11. - name: meta_data
  12. description: "/api/meta"
  13. - name: data_interface
  14. description: "/api/interface"
  15. - name: graph
  16. description: "/api/graph"
  17. - name: system
  18. description: "/api/system"
  19. - name: data_source
  20. description: "/api/datasource"
  21. - name: data_development
  22. description: "/api/development/v1"
  23. - name: data_flow
  24. description: "/api/dataflow"
  25. - name: business_domain
  26. description: "/api/bd"
  27. - name: data_factory
  28. description: "/api/datafactory"
  29. - name: data_service
  30. description: "/api/dataservice"
  31. paths:
  32. "/api/bd/compose":
  33. post:
  34. tags: [business_domain]
  35. operationId: business_domain_bd_compose_post
  36. summary: "从已有业务领域中组合创建新的业务领域"
  37. x-source: "app/api/business_domain/routes.py"
  38. requestBody:
  39. required: false
  40. content:
  41. application/json:
  42. schema:
  43. type: object
  44. additionalProperties: true
  45. responses:
  46. "200":
  47. description: "请求已由当前实现处理"
  48. content:
  49. application/json:
  50. schema:
  51. $ref: '#/components/schemas/ApiEnvelope'
  52. default:
  53. description: "错误响应"
  54. content:
  55. application/json:
  56. schema:
  57. $ref: '#/components/schemas/ApiEnvelope'
  58. "/api/bd/ddlparse":
  59. post:
  60. tags: [business_domain]
  61. operationId: business_domain_bd_ddl_parse_post
  62. summary: "解析文件内容,提取数据表定义信息"
  63. x-source: "app/api/business_domain/routes.py"
  64. requestBody:
  65. required: false
  66. content:
  67. application/json:
  68. schema:
  69. type: object
  70. additionalProperties: true
  71. responses:
  72. "200":
  73. description: "请求已由当前实现处理"
  74. content:
  75. application/json:
  76. schema:
  77. $ref: '#/components/schemas/ApiEnvelope'
  78. default:
  79. description: "错误响应"
  80. content:
  81. application/json:
  82. schema:
  83. $ref: '#/components/schemas/ApiEnvelope'
  84. "/api/bd/delete":
  85. post:
  86. tags: [business_domain]
  87. operationId: business_domain_bd_delete_post
  88. summary: "删除业务领域"
  89. x-source: "app/api/business_domain/routes.py"
  90. requestBody:
  91. required: false
  92. content:
  93. application/json:
  94. schema:
  95. type: object
  96. additionalProperties: true
  97. responses:
  98. "200":
  99. description: "请求已由当前实现处理"
  100. content:
  101. application/json:
  102. schema:
  103. $ref: '#/components/schemas/ApiEnvelope'
  104. default:
  105. description: "错误响应"
  106. content:
  107. application/json:
  108. schema:
  109. $ref: '#/components/schemas/ApiEnvelope'
  110. "/api/bd/detail":
  111. post:
  112. tags: [business_domain]
  113. operationId: business_domain_bd_detail_post
  114. summary: "获取业务领域详情"
  115. x-source: "app/api/business_domain/routes.py"
  116. requestBody:
  117. required: false
  118. content:
  119. application/json:
  120. schema:
  121. type: object
  122. additionalProperties: true
  123. responses:
  124. "200":
  125. description: "请求已由当前实现处理"
  126. content:
  127. application/json:
  128. schema:
  129. $ref: '#/components/schemas/ApiEnvelope'
  130. default:
  131. description: "错误响应"
  132. content:
  133. application/json:
  134. schema:
  135. $ref: '#/components/schemas/ApiEnvelope'
  136. "/api/bd/download":
  137. get:
  138. tags: [business_domain]
  139. operationId: business_domain_bd_download_get
  140. summary: "下载业务领域相关文件"
  141. x-source: "app/api/business_domain/routes.py"
  142. responses:
  143. "200":
  144. description: "请求已由当前实现处理"
  145. content:
  146. application/json:
  147. schema:
  148. $ref: '#/components/schemas/ApiEnvelope'
  149. default:
  150. description: "错误响应"
  151. content:
  152. application/json:
  153. schema:
  154. $ref: '#/components/schemas/ApiEnvelope'
  155. "/api/bd/graphall":
  156. post:
  157. tags: [business_domain]
  158. operationId: business_domain_bd_graph_all_post
  159. summary: "获取业务领域完整关系图谱"
  160. x-source: "app/api/business_domain/routes.py"
  161. requestBody:
  162. required: false
  163. content:
  164. application/json:
  165. schema:
  166. type: object
  167. additionalProperties: true
  168. responses:
  169. "200":
  170. description: "请求已由当前实现处理"
  171. content:
  172. application/json:
  173. schema:
  174. $ref: '#/components/schemas/ApiEnvelope'
  175. default:
  176. description: "错误响应"
  177. content:
  178. application/json:
  179. schema:
  180. $ref: '#/components/schemas/ApiEnvelope'
  181. "/api/bd/labellist":
  182. post:
  183. tags: [business_domain]
  184. operationId: business_domain_bd_label_list_post
  185. summary: "获取数据标签列表(用于业务领域关联)"
  186. x-source: "app/api/business_domain/routes.py"
  187. requestBody:
  188. required: false
  189. content:
  190. application/json:
  191. schema:
  192. type: object
  193. additionalProperties: true
  194. responses:
  195. "200":
  196. description: "请求已由当前实现处理"
  197. content:
  198. application/json:
  199. schema:
  200. $ref: '#/components/schemas/ApiEnvelope'
  201. default:
  202. description: "错误响应"
  203. content:
  204. application/json:
  205. schema:
  206. $ref: '#/components/schemas/ApiEnvelope'
  207. "/api/bd/list":
  208. post:
  209. tags: [business_domain]
  210. operationId: business_domain_bd_list_post
  211. summary: "获取业务领域列表"
  212. x-source: "app/api/business_domain/routes.py"
  213. requestBody:
  214. required: false
  215. content:
  216. application/json:
  217. schema:
  218. type: object
  219. additionalProperties: true
  220. responses:
  221. "200":
  222. description: "请求已由当前实现处理"
  223. content:
  224. application/json:
  225. schema:
  226. $ref: '#/components/schemas/ApiEnvelope'
  227. default:
  228. description: "错误响应"
  229. content:
  230. application/json:
  231. schema:
  232. $ref: '#/components/schemas/ApiEnvelope'
  233. "/api/bd/save":
  234. post:
  235. tags: [business_domain]
  236. operationId: business_domain_bd_save_post
  237. summary: "保存业务领域(新建或更新)"
  238. x-source: "app/api/business_domain/routes.py"
  239. requestBody:
  240. required: false
  241. content:
  242. application/json:
  243. schema:
  244. type: object
  245. additionalProperties: true
  246. responses:
  247. "200":
  248. description: "请求已由当前实现处理"
  249. content:
  250. application/json:
  251. schema:
  252. $ref: '#/components/schemas/ApiEnvelope'
  253. default:
  254. description: "错误响应"
  255. content:
  256. application/json:
  257. schema:
  258. $ref: '#/components/schemas/ApiEnvelope'
  259. "/api/bd/search":
  260. post:
  261. tags: [business_domain]
  262. operationId: business_domain_bd_search_post
  263. summary: "搜索业务领域关联的元数据"
  264. x-source: "app/api/business_domain/routes.py"
  265. requestBody:
  266. required: false
  267. content:
  268. application/json:
  269. schema:
  270. type: object
  271. additionalProperties: true
  272. responses:
  273. "200":
  274. description: "请求已由当前实现处理"
  275. content:
  276. application/json:
  277. schema:
  278. $ref: '#/components/schemas/ApiEnvelope'
  279. default:
  280. description: "错误响应"
  281. content:
  282. application/json:
  283. schema:
  284. $ref: '#/components/schemas/ApiEnvelope'
  285. "/api/bd/update":
  286. post:
  287. tags: [business_domain]
  288. operationId: business_domain_bd_update_post
  289. summary: "更新业务领域"
  290. x-source: "app/api/business_domain/routes.py"
  291. requestBody:
  292. required: false
  293. content:
  294. application/json:
  295. schema:
  296. type: object
  297. additionalProperties: true
  298. responses:
  299. "200":
  300. description: "请求已由当前实现处理"
  301. content:
  302. application/json:
  303. schema:
  304. $ref: '#/components/schemas/ApiEnvelope'
  305. default:
  306. description: "错误响应"
  307. content:
  308. application/json:
  309. schema:
  310. $ref: '#/components/schemas/ApiEnvelope'
  311. "/api/bd/upload":
  312. post:
  313. tags: [business_domain]
  314. operationId: business_domain_bd_upload_post
  315. summary: "上传业务领域相关文件"
  316. x-source: "app/api/business_domain/routes.py"
  317. requestBody:
  318. required: false
  319. content:
  320. application/json:
  321. schema:
  322. type: object
  323. additionalProperties: true
  324. responses:
  325. "200":
  326. description: "请求已由当前实现处理"
  327. content:
  328. application/json:
  329. schema:
  330. $ref: '#/components/schemas/ApiEnvelope'
  331. default:
  332. description: "错误响应"
  333. content:
  334. application/json:
  335. schema:
  336. $ref: '#/components/schemas/ApiEnvelope'
  337. "/api/datafactory/executions":
  338. get:
  339. tags: [data_factory]
  340. operationId: data_factory_get_all_executions_get
  341. summary: "获取所有执行记录列表"
  342. x-source: "app/api/data_factory/routes.py"
  343. responses:
  344. "200":
  345. description: "请求已由当前实现处理"
  346. content:
  347. application/json:
  348. schema:
  349. $ref: '#/components/schemas/ApiEnvelope'
  350. default:
  351. description: "错误响应"
  352. content:
  353. application/json:
  354. schema:
  355. $ref: '#/components/schemas/ApiEnvelope'
  356. "/api/datafactory/executions/{execution_id}":
  357. get:
  358. tags: [data_factory]
  359. operationId: data_factory_get_execution_get
  360. summary: "获取执行详情"
  361. x-source: "app/api/data_factory/routes.py"
  362. parameters:
  363. - name: execution_id
  364. in: path
  365. required: true
  366. schema:
  367. type: string
  368. responses:
  369. "200":
  370. description: "请求已由当前实现处理"
  371. content:
  372. application/json:
  373. schema:
  374. $ref: '#/components/schemas/ApiEnvelope'
  375. default:
  376. description: "错误响应"
  377. content:
  378. application/json:
  379. schema:
  380. $ref: '#/components/schemas/ApiEnvelope'
  381. "/api/datafactory/health":
  382. get:
  383. tags: [data_factory]
  384. operationId: data_factory_health_check_get
  385. summary: "检查 n8n 服务连接状态"
  386. x-source: "app/api/data_factory/routes.py"
  387. responses:
  388. "200":
  389. description: "请求已由当前实现处理"
  390. content:
  391. application/json:
  392. schema:
  393. $ref: '#/components/schemas/ApiEnvelope'
  394. default:
  395. description: "错误响应"
  396. content:
  397. application/json:
  398. schema:
  399. $ref: '#/components/schemas/ApiEnvelope'
  400. "/api/datafactory/workflows":
  401. get:
  402. tags: [data_factory]
  403. operationId: data_factory_get_workflows_get
  404. summary: "获取工作流列表"
  405. x-source: "app/api/data_factory/routes.py"
  406. responses:
  407. "200":
  408. description: "请求已由当前实现处理"
  409. content:
  410. application/json:
  411. schema:
  412. $ref: '#/components/schemas/ApiEnvelope'
  413. default:
  414. description: "错误响应"
  415. content:
  416. application/json:
  417. schema:
  418. $ref: '#/components/schemas/ApiEnvelope'
  419. "/api/datafactory/workflows/{workflow_id}":
  420. get:
  421. tags: [data_factory]
  422. operationId: data_factory_get_workflow_get
  423. summary: "获取工作流详情"
  424. x-source: "app/api/data_factory/routes.py"
  425. parameters:
  426. - name: workflow_id
  427. in: path
  428. required: true
  429. schema:
  430. type: string
  431. responses:
  432. "200":
  433. description: "请求已由当前实现处理"
  434. content:
  435. application/json:
  436. schema:
  437. $ref: '#/components/schemas/ApiEnvelope'
  438. default:
  439. description: "错误响应"
  440. content:
  441. application/json:
  442. schema:
  443. $ref: '#/components/schemas/ApiEnvelope'
  444. "/api/datafactory/workflows/{workflow_id}/activate":
  445. post:
  446. tags: [data_factory]
  447. operationId: data_factory_activate_workflow_post
  448. summary: "激活工作流"
  449. x-source: "app/api/data_factory/routes.py"
  450. parameters:
  451. - name: workflow_id
  452. in: path
  453. required: true
  454. schema:
  455. type: string
  456. requestBody:
  457. required: false
  458. content:
  459. application/json:
  460. schema:
  461. type: object
  462. additionalProperties: true
  463. responses:
  464. "200":
  465. description: "请求已由当前实现处理"
  466. content:
  467. application/json:
  468. schema:
  469. $ref: '#/components/schemas/ApiEnvelope'
  470. default:
  471. description: "错误响应"
  472. content:
  473. application/json:
  474. schema:
  475. $ref: '#/components/schemas/ApiEnvelope'
  476. "/api/datafactory/workflows/{workflow_id}/deactivate":
  477. post:
  478. tags: [data_factory]
  479. operationId: data_factory_deactivate_workflow_post
  480. summary: "停用工作流"
  481. x-source: "app/api/data_factory/routes.py"
  482. parameters:
  483. - name: workflow_id
  484. in: path
  485. required: true
  486. schema:
  487. type: string
  488. requestBody:
  489. required: false
  490. content:
  491. application/json:
  492. schema:
  493. type: object
  494. additionalProperties: true
  495. responses:
  496. "200":
  497. description: "请求已由当前实现处理"
  498. content:
  499. application/json:
  500. schema:
  501. $ref: '#/components/schemas/ApiEnvelope'
  502. default:
  503. description: "错误响应"
  504. content:
  505. application/json:
  506. schema:
  507. $ref: '#/components/schemas/ApiEnvelope'
  508. "/api/datafactory/workflows/{workflow_id}/execute":
  509. post:
  510. tags: [data_factory]
  511. operationId: data_factory_execute_workflow_post
  512. summary: "触发工作流执行"
  513. x-source: "app/api/data_factory/routes.py"
  514. parameters:
  515. - name: workflow_id
  516. in: path
  517. required: true
  518. schema:
  519. type: string
  520. requestBody:
  521. required: false
  522. content:
  523. application/json:
  524. schema:
  525. type: object
  526. additionalProperties: true
  527. responses:
  528. "200":
  529. description: "请求已由当前实现处理"
  530. content:
  531. application/json:
  532. schema:
  533. $ref: '#/components/schemas/ApiEnvelope'
  534. default:
  535. description: "错误响应"
  536. content:
  537. application/json:
  538. schema:
  539. $ref: '#/components/schemas/ApiEnvelope'
  540. "/api/datafactory/workflows/{workflow_id}/executions":
  541. get:
  542. tags: [data_factory]
  543. operationId: data_factory_get_workflow_executions_get
  544. summary: "获取工作流的执行记录列表"
  545. x-source: "app/api/data_factory/routes.py"
  546. parameters:
  547. - name: workflow_id
  548. in: path
  549. required: true
  550. schema:
  551. type: string
  552. responses:
  553. "200":
  554. description: "请求已由当前实现处理"
  555. content:
  556. application/json:
  557. schema:
  558. $ref: '#/components/schemas/ApiEnvelope'
  559. default:
  560. description: "错误响应"
  561. content:
  562. application/json:
  563. schema:
  564. $ref: '#/components/schemas/ApiEnvelope'
  565. "/api/datafactory/workflows/{workflow_id}/status":
  566. get:
  567. tags: [data_factory]
  568. operationId: data_factory_get_workflow_status_get
  569. summary: "获取工作流状态"
  570. x-source: "app/api/data_factory/routes.py"
  571. parameters:
  572. - name: workflow_id
  573. in: path
  574. required: true
  575. schema:
  576. type: string
  577. responses:
  578. "200":
  579. description: "请求已由当前实现处理"
  580. content:
  581. application/json:
  582. schema:
  583. $ref: '#/components/schemas/ApiEnvelope'
  584. default:
  585. description: "错误响应"
  586. content:
  587. application/json:
  588. schema:
  589. $ref: '#/components/schemas/ApiEnvelope'
  590. "/api/dataflow/add-dataflow":
  591. post:
  592. tags: [data_flow]
  593. operationId: data_flow_create_dataflow_post
  594. summary: "创建新的数据流"
  595. x-source: "app/api/data_flow/routes.py"
  596. requestBody:
  597. required: false
  598. content:
  599. application/json:
  600. schema:
  601. type: object
  602. additionalProperties: true
  603. responses:
  604. "200":
  605. description: "请求已由当前实现处理"
  606. content:
  607. application/json:
  608. schema:
  609. $ref: '#/components/schemas/ApiEnvelope'
  610. default:
  611. description: "错误响应"
  612. content:
  613. application/json:
  614. schema:
  615. $ref: '#/components/schemas/ApiEnvelope'
  616. "/api/dataflow/delete-dataflow/{dataflow_id}":
  617. delete:
  618. tags: [data_flow]
  619. operationId: data_flow_delete_dataflow_delete
  620. summary: "删除数据流"
  621. x-source: "app/api/data_flow/routes.py"
  622. parameters:
  623. - name: dataflow_id
  624. in: path
  625. required: true
  626. schema:
  627. type: integer
  628. responses:
  629. "200":
  630. description: "请求已由当前实现处理"
  631. content:
  632. application/json:
  633. schema:
  634. $ref: '#/components/schemas/ApiEnvelope'
  635. default:
  636. description: "错误响应"
  637. content:
  638. application/json:
  639. schema:
  640. $ref: '#/components/schemas/ApiEnvelope'
  641. "/api/dataflow/get-BD-list":
  642. get:
  643. tags: [data_flow]
  644. operationId: data_flow_get_business_domain_list_get
  645. summary: "获取BusinessDomain节点列表"
  646. x-source: "app/api/data_flow/routes.py"
  647. responses:
  648. "200":
  649. description: "请求已由当前实现处理"
  650. content:
  651. application/json:
  652. schema:
  653. $ref: '#/components/schemas/ApiEnvelope'
  654. default:
  655. description: "错误响应"
  656. content:
  657. application/json:
  658. schema:
  659. $ref: '#/components/schemas/ApiEnvelope'
  660. "/api/dataflow/get-dataflow/{dataflow_id}":
  661. get:
  662. tags: [data_flow]
  663. operationId: data_flow_get_dataflow_get
  664. summary: "根据ID获取数据流详情"
  665. x-source: "app/api/data_flow/routes.py"
  666. parameters:
  667. - name: dataflow_id
  668. in: path
  669. required: true
  670. schema:
  671. type: integer
  672. responses:
  673. "200":
  674. description: "请求已由当前实现处理"
  675. content:
  676. application/json:
  677. schema:
  678. $ref: '#/components/schemas/ApiEnvelope'
  679. default:
  680. description: "错误响应"
  681. content:
  682. application/json:
  683. schema:
  684. $ref: '#/components/schemas/ApiEnvelope'
  685. "/api/dataflow/get-dataflows-list":
  686. get:
  687. tags: [data_flow]
  688. operationId: data_flow_get_dataflows_get
  689. summary: "获取数据流列表"
  690. x-source: "app/api/data_flow/routes.py"
  691. responses:
  692. "200":
  693. description: "请求已由当前实现处理"
  694. content:
  695. application/json:
  696. schema:
  697. $ref: '#/components/schemas/ApiEnvelope'
  698. default:
  699. description: "错误响应"
  700. content:
  701. application/json:
  702. schema:
  703. $ref: '#/components/schemas/ApiEnvelope'
  704. "/api/dataflow/get-script/{dataflow_id}":
  705. get:
  706. tags: [data_flow]
  707. operationId: data_flow_get_script_get
  708. summary: "获取 DataFlow 关联的脚本内容"
  709. x-source: "app/api/data_flow/routes.py"
  710. parameters:
  711. - name: dataflow_id
  712. in: path
  713. required: true
  714. schema:
  715. type: integer
  716. responses:
  717. "200":
  718. description: "请求已由当前实现处理"
  719. content:
  720. application/json:
  721. schema:
  722. $ref: '#/components/schemas/ApiEnvelope'
  723. default:
  724. description: "错误响应"
  725. content:
  726. application/json:
  727. schema:
  728. $ref: '#/components/schemas/ApiEnvelope'
  729. "/api/dataflow/update-dataflow/{dataflow_id}":
  730. put:
  731. tags: [data_flow]
  732. operationId: data_flow_update_dataflow_put
  733. summary: "更新数据流"
  734. x-source: "app/api/data_flow/routes.py"
  735. parameters:
  736. - name: dataflow_id
  737. in: path
  738. required: true
  739. schema:
  740. type: integer
  741. requestBody:
  742. required: false
  743. content:
  744. application/json:
  745. schema:
  746. type: object
  747. additionalProperties: true
  748. responses:
  749. "200":
  750. description: "请求已由当前实现处理"
  751. content:
  752. application/json:
  753. schema:
  754. $ref: '#/components/schemas/ApiEnvelope'
  755. default:
  756. description: "错误响应"
  757. content:
  758. application/json:
  759. schema:
  760. $ref: '#/components/schemas/ApiEnvelope'
  761. "/api/dataflow/{dataflow_uid}/workflow-versions":
  762. get:
  763. tags: [data_flow]
  764. operationId: data_flow_get_workflow_versions_get
  765. summary: "get workflow versions"
  766. x-source: "app/api/data_flow/routes.py"
  767. parameters:
  768. - name: dataflow_uid
  769. in: path
  770. required: true
  771. schema:
  772. type: string
  773. responses:
  774. "200":
  775. description: "请求已由当前实现处理"
  776. content:
  777. application/json:
  778. schema:
  779. $ref: '#/components/schemas/ApiEnvelope'
  780. default:
  781. description: "错误响应"
  782. content:
  783. application/json:
  784. schema:
  785. $ref: '#/components/schemas/ApiEnvelope'
  786. post:
  787. tags: [data_flow]
  788. operationId: data_flow_add_workflow_version_post
  789. summary: "add workflow version"
  790. x-source: "app/api/data_flow/routes.py"
  791. parameters:
  792. - name: dataflow_uid
  793. in: path
  794. required: true
  795. schema:
  796. type: string
  797. requestBody:
  798. required: false
  799. content:
  800. application/json:
  801. schema:
  802. type: object
  803. additionalProperties: true
  804. responses:
  805. "200":
  806. description: "请求已由当前实现处理"
  807. content:
  808. application/json:
  809. schema:
  810. $ref: '#/components/schemas/ApiEnvelope'
  811. default:
  812. description: "错误响应"
  813. content:
  814. application/json:
  815. schema:
  816. $ref: '#/components/schemas/ApiEnvelope'
  817. "/api/dataflow/{dataflow_uid}/workflow-versions/{version_id}/activate":
  818. post:
  819. tags: [data_flow]
  820. operationId: data_flow_activate_workflow_version_post
  821. summary: "activate workflow version"
  822. x-source: "app/api/data_flow/routes.py"
  823. parameters:
  824. - name: dataflow_uid
  825. in: path
  826. required: true
  827. schema:
  828. type: string
  829. - name: version_id
  830. in: path
  831. required: true
  832. schema:
  833. type: string
  834. requestBody:
  835. required: false
  836. content:
  837. application/json:
  838. schema:
  839. type: object
  840. additionalProperties: true
  841. responses:
  842. "200":
  843. description: "请求已由当前实现处理"
  844. content:
  845. application/json:
  846. schema:
  847. $ref: '#/components/schemas/ApiEnvelope'
  848. default:
  849. description: "错误响应"
  850. content:
  851. application/json:
  852. schema:
  853. $ref: '#/components/schemas/ApiEnvelope'
  854. "/api/dataservice/neworder":
  855. post:
  856. tags: [data_service]
  857. operationId: data_service_create_order_post
  858. summary: "创建数据订单"
  859. x-source: "app/api/data_service/routes.py"
  860. requestBody:
  861. required: false
  862. content:
  863. application/json:
  864. schema:
  865. type: object
  866. additionalProperties: true
  867. responses:
  868. "200":
  869. description: "请求已由当前实现处理"
  870. content:
  871. application/json:
  872. schema:
  873. $ref: '#/components/schemas/ApiEnvelope'
  874. default:
  875. description: "错误响应"
  876. content:
  877. application/json:
  878. schema:
  879. $ref: '#/components/schemas/ApiEnvelope'
  880. "/api/dataservice/orderlist":
  881. get:
  882. tags: [data_service]
  883. operationId: data_service_get_orders_get
  884. summary: "获取数据订单列表"
  885. x-source: "app/api/data_service/routes.py"
  886. responses:
  887. "200":
  888. description: "请求已由当前实现处理"
  889. content:
  890. application/json:
  891. schema:
  892. $ref: '#/components/schemas/ApiEnvelope'
  893. default:
  894. description: "错误响应"
  895. content:
  896. application/json:
  897. schema:
  898. $ref: '#/components/schemas/ApiEnvelope'
  899. "/api/dataservice/orders/{order_id}/analyze":
  900. post:
  901. tags: [data_service]
  902. operationId: data_service_analyze_order_post
  903. summary: "分析数据订单(提取实体并检测图谱连通性)"
  904. x-source: "app/api/data_service/routes.py"
  905. parameters:
  906. - name: order_id
  907. in: path
  908. required: true
  909. schema:
  910. type: integer
  911. requestBody:
  912. required: false
  913. content:
  914. application/json:
  915. schema:
  916. type: object
  917. additionalProperties: true
  918. responses:
  919. "200":
  920. description: "请求已由当前实现处理"
  921. content:
  922. application/json:
  923. schema:
  924. $ref: '#/components/schemas/ApiEnvelope'
  925. default:
  926. description: "错误响应"
  927. content:
  928. application/json:
  929. schema:
  930. $ref: '#/components/schemas/ApiEnvelope'
  931. "/api/dataservice/orders/{order_id}/approve":
  932. post:
  933. tags: [data_service]
  934. operationId: data_service_approve_order_post
  935. summary: "审批通过数据订单,并自动生成 BusinessDomain 和 DataFlow 资源"
  936. x-source: "app/api/data_service/routes.py"
  937. parameters:
  938. - name: order_id
  939. in: path
  940. required: true
  941. schema:
  942. type: integer
  943. requestBody:
  944. required: false
  945. content:
  946. application/json:
  947. schema:
  948. type: object
  949. additionalProperties: true
  950. responses:
  951. "200":
  952. description: "请求已由当前实现处理"
  953. content:
  954. application/json:
  955. schema:
  956. $ref: '#/components/schemas/ApiEnvelope'
  957. default:
  958. description: "错误响应"
  959. content:
  960. application/json:
  961. schema:
  962. $ref: '#/components/schemas/ApiEnvelope'
  963. "/api/dataservice/orders/{order_id}/complete":
  964. post:
  965. tags: [data_service]
  966. operationId: data_service_complete_order_post
  967. summary: "标记数据订单为最终完成状态"
  968. x-source: "app/api/data_service/routes.py"
  969. parameters:
  970. - name: order_id
  971. in: path
  972. required: true
  973. schema:
  974. type: integer
  975. requestBody:
  976. required: false
  977. content:
  978. application/json:
  979. schema:
  980. type: object
  981. additionalProperties: true
  982. responses:
  983. "200":
  984. description: "请求已由当前实现处理"
  985. content:
  986. application/json:
  987. schema:
  988. $ref: '#/components/schemas/ApiEnvelope'
  989. default:
  990. description: "错误响应"
  991. content:
  992. application/json:
  993. schema:
  994. $ref: '#/components/schemas/ApiEnvelope'
  995. "/api/dataservice/orders/{order_id}/delete":
  996. put:
  997. tags: [data_service]
  998. operationId: data_service_delete_order_put
  999. summary: "删除数据订单(软删除)"
  1000. x-source: "app/api/data_service/routes.py"
  1001. parameters:
  1002. - name: order_id
  1003. in: path
  1004. required: true
  1005. schema:
  1006. type: integer
  1007. requestBody:
  1008. required: false
  1009. content:
  1010. application/json:
  1011. schema:
  1012. type: object
  1013. additionalProperties: true
  1014. responses:
  1015. "200":
  1016. description: "请求已由当前实现处理"
  1017. content:
  1018. application/json:
  1019. schema:
  1020. $ref: '#/components/schemas/ApiEnvelope'
  1021. default:
  1022. description: "错误响应"
  1023. content:
  1024. application/json:
  1025. schema:
  1026. $ref: '#/components/schemas/ApiEnvelope'
  1027. "/api/dataservice/orders/{order_id}/detail":
  1028. get:
  1029. tags: [data_service]
  1030. operationId: data_service_get_order_get
  1031. summary: "获取数据订单详情"
  1032. x-source: "app/api/data_service/routes.py"
  1033. parameters:
  1034. - name: order_id
  1035. in: path
  1036. required: true
  1037. schema:
  1038. type: integer
  1039. responses:
  1040. "200":
  1041. description: "请求已由当前实现处理"
  1042. content:
  1043. application/json:
  1044. schema:
  1045. $ref: '#/components/schemas/ApiEnvelope'
  1046. default:
  1047. description: "错误响应"
  1048. content:
  1049. application/json:
  1050. schema:
  1051. $ref: '#/components/schemas/ApiEnvelope'
  1052. "/api/dataservice/orders/{order_id}/onboard":
  1053. post:
  1054. tags: [data_service]
  1055. operationId: data_service_onboard_order_post
  1056. summary: "数据工厂回调:设置订单为数据产品就绪状态"
  1057. x-source: "app/api/data_service/routes.py"
  1058. parameters:
  1059. - name: order_id
  1060. in: path
  1061. required: true
  1062. schema:
  1063. type: integer
  1064. requestBody:
  1065. required: false
  1066. content:
  1067. application/json:
  1068. schema:
  1069. type: object
  1070. additionalProperties: true
  1071. responses:
  1072. "200":
  1073. description: "请求已由当前实现处理"
  1074. content:
  1075. application/json:
  1076. schema:
  1077. $ref: '#/components/schemas/ApiEnvelope'
  1078. default:
  1079. description: "错误响应"
  1080. content:
  1081. application/json:
  1082. schema:
  1083. $ref: '#/components/schemas/ApiEnvelope'
  1084. "/api/dataservice/orders/{order_id}/reject":
  1085. post:
  1086. tags: [data_service]
  1087. operationId: data_service_reject_order_post
  1088. summary: "驳回数据订单"
  1089. x-source: "app/api/data_service/routes.py"
  1090. parameters:
  1091. - name: order_id
  1092. in: path
  1093. required: true
  1094. schema:
  1095. type: integer
  1096. requestBody:
  1097. required: false
  1098. content:
  1099. application/json:
  1100. schema:
  1101. type: object
  1102. additionalProperties: true
  1103. responses:
  1104. "200":
  1105. description: "请求已由当前实现处理"
  1106. content:
  1107. application/json:
  1108. schema:
  1109. $ref: '#/components/schemas/ApiEnvelope'
  1110. default:
  1111. description: "错误响应"
  1112. content:
  1113. application/json:
  1114. schema:
  1115. $ref: '#/components/schemas/ApiEnvelope'
  1116. "/api/dataservice/orders/{order_id}/update":
  1117. put:
  1118. tags: [data_service]
  1119. operationId: data_service_update_order_put
  1120. summary: "更新数据订单(支持修改描述和提取结果)"
  1121. x-source: "app/api/data_service/routes.py"
  1122. parameters:
  1123. - name: order_id
  1124. in: path
  1125. required: true
  1126. schema:
  1127. type: integer
  1128. requestBody:
  1129. required: false
  1130. content:
  1131. application/json:
  1132. schema:
  1133. type: object
  1134. additionalProperties: true
  1135. responses:
  1136. "200":
  1137. description: "请求已由当前实现处理"
  1138. content:
  1139. application/json:
  1140. schema:
  1141. $ref: '#/components/schemas/ApiEnvelope'
  1142. default:
  1143. description: "错误响应"
  1144. content:
  1145. application/json:
  1146. schema:
  1147. $ref: '#/components/schemas/ApiEnvelope'
  1148. "/api/dataservice/products":
  1149. get:
  1150. tags: [data_service]
  1151. operationId: data_service_get_products_get
  1152. summary: "获取数据产品列表"
  1153. x-source: "app/api/data_service/routes.py"
  1154. responses:
  1155. "200":
  1156. description: "请求已由当前实现处理"
  1157. content:
  1158. application/json:
  1159. schema:
  1160. $ref: '#/components/schemas/ApiEnvelope'
  1161. default:
  1162. description: "错误响应"
  1163. content:
  1164. application/json:
  1165. schema:
  1166. $ref: '#/components/schemas/ApiEnvelope'
  1167. post:
  1168. tags: [data_service]
  1169. operationId: data_service_register_product_post
  1170. summary: "手动注册数据产品"
  1171. x-source: "app/api/data_service/routes.py"
  1172. requestBody:
  1173. required: false
  1174. content:
  1175. application/json:
  1176. schema:
  1177. type: object
  1178. additionalProperties: true
  1179. responses:
  1180. "200":
  1181. description: "请求已由当前实现处理"
  1182. content:
  1183. application/json:
  1184. schema:
  1185. $ref: '#/components/schemas/ApiEnvelope'
  1186. default:
  1187. description: "错误响应"
  1188. content:
  1189. application/json:
  1190. schema:
  1191. $ref: '#/components/schemas/ApiEnvelope'
  1192. "/api/dataservice/products/{product_id}":
  1193. delete:
  1194. tags: [data_service]
  1195. operationId: data_service_delete_product_delete
  1196. summary: "删除数据产品"
  1197. x-source: "app/api/data_service/routes.py"
  1198. parameters:
  1199. - name: product_id
  1200. in: path
  1201. required: true
  1202. schema:
  1203. type: integer
  1204. responses:
  1205. "200":
  1206. description: "请求已由当前实现处理"
  1207. content:
  1208. application/json:
  1209. schema:
  1210. $ref: '#/components/schemas/ApiEnvelope'
  1211. default:
  1212. description: "错误响应"
  1213. content:
  1214. application/json:
  1215. schema:
  1216. $ref: '#/components/schemas/ApiEnvelope'
  1217. get:
  1218. tags: [data_service]
  1219. operationId: data_service_get_product_get
  1220. summary: "获取数据产品详情"
  1221. x-source: "app/api/data_service/routes.py"
  1222. parameters:
  1223. - name: product_id
  1224. in: path
  1225. required: true
  1226. schema:
  1227. type: integer
  1228. responses:
  1229. "200":
  1230. description: "请求已由当前实现处理"
  1231. content:
  1232. application/json:
  1233. schema:
  1234. $ref: '#/components/schemas/ApiEnvelope'
  1235. default:
  1236. description: "错误响应"
  1237. content:
  1238. application/json:
  1239. schema:
  1240. $ref: '#/components/schemas/ApiEnvelope'
  1241. "/api/dataservice/products/{product_id}/download":
  1242. get:
  1243. tags: [data_service]
  1244. operationId: data_service_download_product_excel_get
  1245. summary: "下载数据产品数据为Excel文件"
  1246. x-source: "app/api/data_service/routes.py"
  1247. parameters:
  1248. - name: product_id
  1249. in: path
  1250. required: true
  1251. schema:
  1252. type: integer
  1253. responses:
  1254. "200":
  1255. description: "请求已由当前实现处理"
  1256. content:
  1257. application/json:
  1258. schema:
  1259. $ref: '#/components/schemas/ApiEnvelope'
  1260. default:
  1261. description: "错误响应"
  1262. content:
  1263. application/json:
  1264. schema:
  1265. $ref: '#/components/schemas/ApiEnvelope'
  1266. "/api/dataservice/products/{product_id}/lineage-visualization":
  1267. post:
  1268. tags: [data_service]
  1269. operationId: data_service_get_lineage_visualization_post
  1270. summary: "获取数据产品的血缘可视化数据"
  1271. x-source: "app/api/data_service/routes.py"
  1272. parameters:
  1273. - name: product_id
  1274. in: path
  1275. required: true
  1276. schema:
  1277. type: integer
  1278. requestBody:
  1279. required: false
  1280. content:
  1281. application/json:
  1282. schema:
  1283. type: object
  1284. additionalProperties: true
  1285. responses:
  1286. "200":
  1287. description: "请求已由当前实现处理"
  1288. content:
  1289. application/json:
  1290. schema:
  1291. $ref: '#/components/schemas/ApiEnvelope'
  1292. default:
  1293. description: "错误响应"
  1294. content:
  1295. application/json:
  1296. schema:
  1297. $ref: '#/components/schemas/ApiEnvelope'
  1298. "/api/dataservice/products/{product_id}/preview":
  1299. get:
  1300. tags: [data_service]
  1301. operationId: data_service_get_product_preview_get
  1302. summary: "获取数据产品的数据预览(默认200条)"
  1303. x-source: "app/api/data_service/routes.py"
  1304. parameters:
  1305. - name: product_id
  1306. in: path
  1307. required: true
  1308. schema:
  1309. type: integer
  1310. responses:
  1311. "200":
  1312. description: "请求已由当前实现处理"
  1313. content:
  1314. application/json:
  1315. schema:
  1316. $ref: '#/components/schemas/ApiEnvelope'
  1317. default:
  1318. description: "错误响应"
  1319. content:
  1320. application/json:
  1321. schema:
  1322. $ref: '#/components/schemas/ApiEnvelope'
  1323. "/api/dataservice/products/{product_id}/refresh":
  1324. post:
  1325. tags: [data_service]
  1326. operationId: data_service_refresh_product_stats_post
  1327. summary: "刷新数据产品的统计信息"
  1328. x-source: "app/api/data_service/routes.py"
  1329. parameters:
  1330. - name: product_id
  1331. in: path
  1332. required: true
  1333. schema:
  1334. type: integer
  1335. requestBody:
  1336. required: false
  1337. content:
  1338. application/json:
  1339. schema:
  1340. type: object
  1341. additionalProperties: true
  1342. responses:
  1343. "200":
  1344. description: "请求已由当前实现处理"
  1345. content:
  1346. application/json:
  1347. schema:
  1348. $ref: '#/components/schemas/ApiEnvelope'
  1349. default:
  1350. description: "错误响应"
  1351. content:
  1352. application/json:
  1353. schema:
  1354. $ref: '#/components/schemas/ApiEnvelope'
  1355. "/api/dataservice/products/{product_id}/viewed":
  1356. post:
  1357. tags: [data_service]
  1358. operationId: data_service_mark_product_viewed_post
  1359. summary: "标记数据产品为已查看(消除更新提示)"
  1360. x-source: "app/api/data_service/routes.py"
  1361. parameters:
  1362. - name: product_id
  1363. in: path
  1364. required: true
  1365. schema:
  1366. type: integer
  1367. requestBody:
  1368. required: false
  1369. content:
  1370. application/json:
  1371. schema:
  1372. type: object
  1373. additionalProperties: true
  1374. responses:
  1375. "200":
  1376. description: "请求已由当前实现处理"
  1377. content:
  1378. application/json:
  1379. schema:
  1380. $ref: '#/components/schemas/ApiEnvelope'
  1381. default:
  1382. description: "错误响应"
  1383. content:
  1384. application/json:
  1385. schema:
  1386. $ref: '#/components/schemas/ApiEnvelope'
  1387. "/api/datasource/conntest":
  1388. post:
  1389. tags: [data_source]
  1390. operationId: data_source_data_source_conn_test_post
  1391. summary: "data source conn test"
  1392. x-source: "app/api/data_source/routes.py"
  1393. requestBody:
  1394. required: false
  1395. content:
  1396. application/json:
  1397. schema:
  1398. type: object
  1399. additionalProperties: true
  1400. responses:
  1401. "200":
  1402. description: "请求已由当前实现处理"
  1403. content:
  1404. application/json:
  1405. schema:
  1406. $ref: '#/components/schemas/ApiEnvelope'
  1407. default:
  1408. description: "错误响应"
  1409. content:
  1410. application/json:
  1411. schema:
  1412. $ref: '#/components/schemas/ApiEnvelope'
  1413. "/api/datasource/delete":
  1414. post:
  1415. tags: [data_source]
  1416. operationId: data_source_data_source_delete_post
  1417. summary: "data source delete"
  1418. x-source: "app/api/data_source/routes.py"
  1419. requestBody:
  1420. required: false
  1421. content:
  1422. application/json:
  1423. schema:
  1424. type: object
  1425. additionalProperties: true
  1426. responses:
  1427. "200":
  1428. description: "请求已由当前实现处理"
  1429. content:
  1430. application/json:
  1431. schema:
  1432. $ref: '#/components/schemas/ApiEnvelope'
  1433. default:
  1434. description: "错误响应"
  1435. content:
  1436. application/json:
  1437. schema:
  1438. $ref: '#/components/schemas/ApiEnvelope'
  1439. "/api/datasource/graph":
  1440. post:
  1441. tags: [data_source]
  1442. operationId: data_source_data_source_graph_relationship_post
  1443. summary: "data source graph relationship"
  1444. x-source: "app/api/data_source/routes.py"
  1445. requestBody:
  1446. required: false
  1447. content:
  1448. application/json:
  1449. schema:
  1450. type: object
  1451. additionalProperties: true
  1452. responses:
  1453. "200":
  1454. description: "请求已由当前实现处理"
  1455. content:
  1456. application/json:
  1457. schema:
  1458. $ref: '#/components/schemas/ApiEnvelope'
  1459. default:
  1460. description: "错误响应"
  1461. content:
  1462. application/json:
  1463. schema:
  1464. $ref: '#/components/schemas/ApiEnvelope'
  1465. "/api/datasource/list":
  1466. post:
  1467. tags: [data_source]
  1468. operationId: data_source_data_source_list_post
  1469. summary: "data source list"
  1470. x-source: "app/api/data_source/routes.py"
  1471. requestBody:
  1472. required: false
  1473. content:
  1474. application/json:
  1475. schema:
  1476. type: object
  1477. additionalProperties: true
  1478. responses:
  1479. "200":
  1480. description: "请求已由当前实现处理"
  1481. content:
  1482. application/json:
  1483. schema:
  1484. $ref: '#/components/schemas/ApiEnvelope'
  1485. default:
  1486. description: "错误响应"
  1487. content:
  1488. application/json:
  1489. schema:
  1490. $ref: '#/components/schemas/ApiEnvelope'
  1491. "/api/datasource/parse":
  1492. post:
  1493. tags: [data_source]
  1494. operationId: data_source_data_source_connstr_parse_post
  1495. summary: "data source connstr parse"
  1496. x-source: "app/api/data_source/routes.py"
  1497. requestBody:
  1498. required: false
  1499. content:
  1500. application/json:
  1501. schema:
  1502. type: object
  1503. additionalProperties: true
  1504. responses:
  1505. "200":
  1506. description: "请求已由当前实现处理"
  1507. content:
  1508. application/json:
  1509. schema:
  1510. $ref: '#/components/schemas/ApiEnvelope'
  1511. default:
  1512. description: "错误响应"
  1513. content:
  1514. application/json:
  1515. schema:
  1516. $ref: '#/components/schemas/ApiEnvelope'
  1517. "/api/datasource/pools":
  1518. get:
  1519. tags: [data_source]
  1520. operationId: data_source_data_source_pool_list_get
  1521. summary: "data source pool list"
  1522. x-source: "app/api/data_source/routes.py"
  1523. responses:
  1524. "200":
  1525. description: "请求已由当前实现处理"
  1526. content:
  1527. application/json:
  1528. schema:
  1529. $ref: '#/components/schemas/ApiEnvelope'
  1530. default:
  1531. description: "错误响应"
  1532. content:
  1533. application/json:
  1534. schema:
  1535. $ref: '#/components/schemas/ApiEnvelope'
  1536. "/api/datasource/save":
  1537. post:
  1538. tags: [data_source]
  1539. operationId: data_source_data_source_save_post
  1540. summary: "data source save"
  1541. x-source: "app/api/data_source/routes.py"
  1542. requestBody:
  1543. required: false
  1544. content:
  1545. application/json:
  1546. schema:
  1547. type: object
  1548. additionalProperties: true
  1549. responses:
  1550. "200":
  1551. description: "请求已由当前实现处理"
  1552. content:
  1553. application/json:
  1554. schema:
  1555. $ref: '#/components/schemas/ApiEnvelope'
  1556. default:
  1557. description: "错误响应"
  1558. content:
  1559. application/json:
  1560. schema:
  1561. $ref: '#/components/schemas/ApiEnvelope'
  1562. "/api/datasource/valid":
  1563. post:
  1564. tags: [data_source]
  1565. operationId: data_source_data_source_connstr_valid_post
  1566. summary: "data source connstr valid"
  1567. x-source: "app/api/data_source/routes.py"
  1568. requestBody:
  1569. required: false
  1570. content:
  1571. application/json:
  1572. schema:
  1573. type: object
  1574. additionalProperties: true
  1575. responses:
  1576. "200":
  1577. description: "请求已由当前实现处理"
  1578. content:
  1579. application/json:
  1580. schema:
  1581. $ref: '#/components/schemas/ApiEnvelope'
  1582. default:
  1583. description: "错误响应"
  1584. content:
  1585. application/json:
  1586. schema:
  1587. $ref: '#/components/schemas/ApiEnvelope'
  1588. "/api/datasource/{data_source_uid}/pool":
  1589. get:
  1590. tags: [data_source]
  1591. operationId: data_source_data_source_pool_status_get
  1592. summary: "data source pool status"
  1593. x-source: "app/api/data_source/routes.py"
  1594. parameters:
  1595. - name: data_source_uid
  1596. in: path
  1597. required: true
  1598. schema:
  1599. type: string
  1600. responses:
  1601. "200":
  1602. description: "请求已由当前实现处理"
  1603. content:
  1604. application/json:
  1605. schema:
  1606. $ref: '#/components/schemas/ApiEnvelope'
  1607. default:
  1608. description: "错误响应"
  1609. content:
  1610. application/json:
  1611. schema:
  1612. $ref: '#/components/schemas/ApiEnvelope'
  1613. "/api/datasource/{data_source_uid}/pool/invalidate":
  1614. post:
  1615. tags: [data_source]
  1616. operationId: data_source_data_source_pool_invalidate_post
  1617. summary: "data source pool invalidate"
  1618. x-source: "app/api/data_source/routes.py"
  1619. parameters:
  1620. - name: data_source_uid
  1621. in: path
  1622. required: true
  1623. schema:
  1624. type: string
  1625. requestBody:
  1626. required: false
  1627. content:
  1628. application/json:
  1629. schema:
  1630. type: object
  1631. additionalProperties: true
  1632. responses:
  1633. "200":
  1634. description: "请求已由当前实现处理"
  1635. content:
  1636. application/json:
  1637. schema:
  1638. $ref: '#/components/schemas/ApiEnvelope'
  1639. default:
  1640. description: "错误响应"
  1641. content:
  1642. application/json:
  1643. schema:
  1644. $ref: '#/components/schemas/ApiEnvelope'
  1645. "/api/development/v1/ingestion-jobs":
  1646. get:
  1647. tags: [data_development]
  1648. operationId: data_development_list_ingestion_jobs_get
  1649. summary: "list ingestion jobs"
  1650. x-source: "app/api/data_development/routes.py"
  1651. responses:
  1652. "200":
  1653. description: "请求已由当前实现处理"
  1654. content:
  1655. application/json:
  1656. schema:
  1657. $ref: '#/components/schemas/ApiEnvelope'
  1658. default:
  1659. description: "错误响应"
  1660. content:
  1661. application/json:
  1662. schema:
  1663. $ref: '#/components/schemas/ApiEnvelope'
  1664. post:
  1665. tags: [data_development]
  1666. operationId: data_development_create_ingestion_job_post
  1667. summary: "create ingestion job"
  1668. x-source: "app/api/data_development/routes.py"
  1669. requestBody:
  1670. required: false
  1671. content:
  1672. application/json:
  1673. schema:
  1674. type: object
  1675. additionalProperties: true
  1676. responses:
  1677. "200":
  1678. description: "请求已由当前实现处理"
  1679. content:
  1680. application/json:
  1681. schema:
  1682. $ref: '#/components/schemas/ApiEnvelope'
  1683. default:
  1684. description: "错误响应"
  1685. content:
  1686. application/json:
  1687. schema:
  1688. $ref: '#/components/schemas/ApiEnvelope'
  1689. "/api/development/v1/ingestion-jobs/{job_uid}":
  1690. get:
  1691. tags: [data_development]
  1692. operationId: data_development_get_ingestion_job_get
  1693. summary: "get ingestion job"
  1694. x-source: "app/api/data_development/routes.py"
  1695. parameters:
  1696. - name: job_uid
  1697. in: path
  1698. required: true
  1699. schema:
  1700. type: string
  1701. responses:
  1702. "200":
  1703. description: "请求已由当前实现处理"
  1704. content:
  1705. application/json:
  1706. schema:
  1707. $ref: '#/components/schemas/ApiEnvelope'
  1708. default:
  1709. description: "错误响应"
  1710. content:
  1711. application/json:
  1712. schema:
  1713. $ref: '#/components/schemas/ApiEnvelope'
  1714. "/api/development/v1/ingestion-jobs/{job_uid}/cancel":
  1715. post:
  1716. tags: [data_development]
  1717. operationId: data_development_cancel_ingestion_job_post
  1718. summary: "cancel ingestion job"
  1719. x-source: "app/api/data_development/routes.py"
  1720. parameters:
  1721. - name: job_uid
  1722. in: path
  1723. required: true
  1724. schema:
  1725. type: string
  1726. requestBody:
  1727. required: false
  1728. content:
  1729. application/json:
  1730. schema:
  1731. type: object
  1732. additionalProperties: true
  1733. responses:
  1734. "200":
  1735. description: "请求已由当前实现处理"
  1736. content:
  1737. application/json:
  1738. schema:
  1739. $ref: '#/components/schemas/ApiEnvelope'
  1740. default:
  1741. description: "错误响应"
  1742. content:
  1743. application/json:
  1744. schema:
  1745. $ref: '#/components/schemas/ApiEnvelope'
  1746. "/api/development/v1/ingestion-jobs/{job_uid}/retry":
  1747. post:
  1748. tags: [data_development]
  1749. operationId: data_development_retry_ingestion_job_post
  1750. summary: "retry ingestion job"
  1751. x-source: "app/api/data_development/routes.py"
  1752. parameters:
  1753. - name: job_uid
  1754. in: path
  1755. required: true
  1756. schema:
  1757. type: string
  1758. requestBody:
  1759. required: false
  1760. content:
  1761. application/json:
  1762. schema:
  1763. type: object
  1764. additionalProperties: true
  1765. responses:
  1766. "200":
  1767. description: "请求已由当前实现处理"
  1768. content:
  1769. application/json:
  1770. schema:
  1771. $ref: '#/components/schemas/ApiEnvelope'
  1772. default:
  1773. description: "错误响应"
  1774. content:
  1775. application/json:
  1776. schema:
  1777. $ref: '#/components/schemas/ApiEnvelope'
  1778. "/api/graph/node/create":
  1779. post:
  1780. tags: [graph]
  1781. operationId: graph_create_node_post
  1782. summary: "创建新节点"
  1783. x-source: "app/api/graph/routes.py"
  1784. requestBody:
  1785. required: false
  1786. content:
  1787. application/json:
  1788. schema:
  1789. type: object
  1790. additionalProperties: true
  1791. responses:
  1792. "200":
  1793. description: "请求已由当前实现处理"
  1794. content:
  1795. application/json:
  1796. schema:
  1797. $ref: '#/components/schemas/ApiEnvelope'
  1798. default:
  1799. description: "错误响应"
  1800. content:
  1801. application/json:
  1802. schema:
  1803. $ref: '#/components/schemas/ApiEnvelope'
  1804. "/api/graph/query":
  1805. post:
  1806. tags: [graph]
  1807. operationId: graph_query_graph_post
  1808. summary: "执行自定义Cypher查询"
  1809. x-source: "app/api/graph/routes.py"
  1810. requestBody:
  1811. required: false
  1812. content:
  1813. application/json:
  1814. schema:
  1815. type: object
  1816. additionalProperties: true
  1817. responses:
  1818. "200":
  1819. description: "请求已由当前实现处理"
  1820. content:
  1821. application/json:
  1822. schema:
  1823. $ref: '#/components/schemas/ApiEnvelope'
  1824. default:
  1825. description: "错误响应"
  1826. content:
  1827. application/json:
  1828. schema:
  1829. $ref: '#/components/schemas/ApiEnvelope'
  1830. "/api/graph/relationship/create":
  1831. post:
  1832. tags: [graph]
  1833. operationId: graph_create_rel_post
  1834. summary: "创建节点间的关系"
  1835. x-source: "app/api/graph/routes.py"
  1836. requestBody:
  1837. required: false
  1838. content:
  1839. application/json:
  1840. schema:
  1841. type: object
  1842. additionalProperties: true
  1843. responses:
  1844. "200":
  1845. description: "请求已由当前实现处理"
  1846. content:
  1847. application/json:
  1848. schema:
  1849. $ref: '#/components/schemas/ApiEnvelope'
  1850. default:
  1851. description: "错误响应"
  1852. content:
  1853. application/json:
  1854. schema:
  1855. $ref: '#/components/schemas/ApiEnvelope'
  1856. "/api/graph/subgraph":
  1857. post:
  1858. tags: [graph]
  1859. operationId: graph_get_graph_data_post
  1860. summary: "获取子图数据"
  1861. x-source: "app/api/graph/routes.py"
  1862. requestBody:
  1863. required: false
  1864. content:
  1865. application/json:
  1866. schema:
  1867. type: object
  1868. additionalProperties: true
  1869. responses:
  1870. "200":
  1871. description: "请求已由当前实现处理"
  1872. content:
  1873. application/json:
  1874. schema:
  1875. $ref: '#/components/schemas/ApiEnvelope'
  1876. default:
  1877. description: "错误响应"
  1878. content:
  1879. application/json:
  1880. schema:
  1881. $ref: '#/components/schemas/ApiEnvelope'
  1882. "/api/interface/data/label/add":
  1883. post:
  1884. tags: [data_interface]
  1885. operationId: data_interface_data_label_add_post
  1886. summary: "data label add"
  1887. x-source: "app/api/data_interface/routes.py"
  1888. requestBody:
  1889. required: false
  1890. content:
  1891. application/json:
  1892. schema:
  1893. type: object
  1894. additionalProperties: true
  1895. responses:
  1896. "200":
  1897. description: "请求已由当前实现处理"
  1898. content:
  1899. application/json:
  1900. schema:
  1901. $ref: '#/components/schemas/ApiEnvelope'
  1902. default:
  1903. description: "错误响应"
  1904. content:
  1905. application/json:
  1906. schema:
  1907. $ref: '#/components/schemas/ApiEnvelope'
  1908. "/api/interface/data/label/delete":
  1909. post:
  1910. tags: [data_interface]
  1911. operationId: data_interface_data_label_delete_post
  1912. summary: "Delete data label node"
  1913. x-source: "app/api/data_interface/routes.py"
  1914. requestBody:
  1915. required: false
  1916. content:
  1917. application/json:
  1918. schema:
  1919. type: object
  1920. additionalProperties: true
  1921. responses:
  1922. "200":
  1923. description: "请求已由当前实现处理"
  1924. content:
  1925. application/json:
  1926. schema:
  1927. $ref: '#/components/schemas/ApiEnvelope'
  1928. default:
  1929. description: "错误响应"
  1930. content:
  1931. application/json:
  1932. schema:
  1933. $ref: '#/components/schemas/ApiEnvelope'
  1934. "/api/interface/data/label/detail":
  1935. post:
  1936. tags: [data_interface]
  1937. operationId: data_interface_data_label_detail_post
  1938. summary: "data label detail"
  1939. x-source: "app/api/data_interface/routes.py"
  1940. requestBody:
  1941. required: false
  1942. content:
  1943. application/json:
  1944. schema:
  1945. type: object
  1946. additionalProperties: true
  1947. responses:
  1948. "200":
  1949. description: "请求已由当前实现处理"
  1950. content:
  1951. application/json:
  1952. schema:
  1953. $ref: '#/components/schemas/ApiEnvelope'
  1954. default:
  1955. description: "错误响应"
  1956. content:
  1957. application/json:
  1958. schema:
  1959. $ref: '#/components/schemas/ApiEnvelope'
  1960. "/api/interface/data/label/dynamic/identify":
  1961. post:
  1962. tags: [data_interface]
  1963. operationId: data_interface_data_label_dynamic_identify_post
  1964. summary: "data label dynamic identify"
  1965. x-source: "app/api/data_interface/routes.py"
  1966. requestBody:
  1967. required: false
  1968. content:
  1969. application/json:
  1970. schema:
  1971. type: object
  1972. additionalProperties: true
  1973. responses:
  1974. "200":
  1975. description: "请求已由当前实现处理"
  1976. content:
  1977. application/json:
  1978. schema:
  1979. $ref: '#/components/schemas/ApiEnvelope'
  1980. default:
  1981. description: "错误响应"
  1982. content:
  1983. application/json:
  1984. schema:
  1985. $ref: '#/components/schemas/ApiEnvelope'
  1986. "/api/interface/data/label/graph/all":
  1987. post:
  1988. tags: [data_interface]
  1989. operationId: data_interface_data_label_graph_post
  1990. summary: "data label graph"
  1991. x-source: "app/api/data_interface/routes.py"
  1992. requestBody:
  1993. required: false
  1994. content:
  1995. application/json:
  1996. schema:
  1997. type: object
  1998. additionalProperties: true
  1999. responses:
  2000. "200":
  2001. description: "请求已由当前实现处理"
  2002. content:
  2003. application/json:
  2004. schema:
  2005. $ref: '#/components/schemas/ApiEnvelope'
  2006. default:
  2007. description: "错误响应"
  2008. content:
  2009. application/json:
  2010. schema:
  2011. $ref: '#/components/schemas/ApiEnvelope'
  2012. "/api/interface/data/label/list":
  2013. post:
  2014. tags: [data_interface]
  2015. operationId: data_interface_data_label_list_post
  2016. summary: "data label list"
  2017. x-source: "app/api/data_interface/routes.py"
  2018. requestBody:
  2019. required: false
  2020. content:
  2021. application/json:
  2022. schema:
  2023. type: object
  2024. additionalProperties: true
  2025. responses:
  2026. "200":
  2027. description: "请求已由当前实现处理"
  2028. content:
  2029. application/json:
  2030. schema:
  2031. $ref: '#/components/schemas/ApiEnvelope'
  2032. default:
  2033. description: "错误响应"
  2034. content:
  2035. application/json:
  2036. schema:
  2037. $ref: '#/components/schemas/ApiEnvelope'
  2038. "/api/interface/data/standard/add":
  2039. post:
  2040. tags: [data_interface]
  2041. operationId: data_interface_data_standard_add_post
  2042. summary: "data standard add"
  2043. x-source: "app/api/data_interface/routes.py"
  2044. requestBody:
  2045. required: false
  2046. content:
  2047. application/json:
  2048. schema:
  2049. type: object
  2050. additionalProperties: true
  2051. responses:
  2052. "200":
  2053. description: "请求已由当前实现处理"
  2054. content:
  2055. application/json:
  2056. schema:
  2057. $ref: '#/components/schemas/ApiEnvelope'
  2058. default:
  2059. description: "错误响应"
  2060. content:
  2061. application/json:
  2062. schema:
  2063. $ref: '#/components/schemas/ApiEnvelope'
  2064. "/api/interface/data/standard/code":
  2065. post:
  2066. tags: [data_interface]
  2067. operationId: data_interface_data_standard_code_post
  2068. summary: "data standard code"
  2069. x-source: "app/api/data_interface/routes.py"
  2070. requestBody:
  2071. required: false
  2072. content:
  2073. application/json:
  2074. schema:
  2075. type: object
  2076. additionalProperties: true
  2077. responses:
  2078. "200":
  2079. description: "请求已由当前实现处理"
  2080. content:
  2081. application/json:
  2082. schema:
  2083. $ref: '#/components/schemas/ApiEnvelope'
  2084. default:
  2085. description: "错误响应"
  2086. content:
  2087. application/json:
  2088. schema:
  2089. $ref: '#/components/schemas/ApiEnvelope'
  2090. "/api/interface/data/standard/detail":
  2091. post:
  2092. tags: [data_interface]
  2093. operationId: data_interface_data_standard_detail_post
  2094. summary: "data standard detail"
  2095. x-source: "app/api/data_interface/routes.py"
  2096. requestBody:
  2097. required: false
  2098. content:
  2099. application/json:
  2100. schema:
  2101. type: object
  2102. additionalProperties: true
  2103. responses:
  2104. "200":
  2105. description: "请求已由当前实现处理"
  2106. content:
  2107. application/json:
  2108. schema:
  2109. $ref: '#/components/schemas/ApiEnvelope'
  2110. default:
  2111. description: "错误响应"
  2112. content:
  2113. application/json:
  2114. schema:
  2115. $ref: '#/components/schemas/ApiEnvelope'
  2116. "/api/interface/data/standard/graph/all":
  2117. post:
  2118. tags: [data_interface]
  2119. operationId: data_interface_data_standard_graph_all_post
  2120. summary: "data standard graph all"
  2121. x-source: "app/api/data_interface/routes.py"
  2122. requestBody:
  2123. required: false
  2124. content:
  2125. application/json:
  2126. schema:
  2127. type: object
  2128. additionalProperties: true
  2129. responses:
  2130. "200":
  2131. description: "请求已由当前实现处理"
  2132. content:
  2133. application/json:
  2134. schema:
  2135. $ref: '#/components/schemas/ApiEnvelope'
  2136. default:
  2137. description: "错误响应"
  2138. content:
  2139. application/json:
  2140. schema:
  2141. $ref: '#/components/schemas/ApiEnvelope'
  2142. "/api/interface/data/standard/list":
  2143. post:
  2144. tags: [data_interface]
  2145. operationId: data_interface_data_standard_list_post
  2146. summary: "data standard list"
  2147. x-source: "app/api/data_interface/routes.py"
  2148. requestBody:
  2149. required: false
  2150. content:
  2151. application/json:
  2152. schema:
  2153. type: object
  2154. additionalProperties: true
  2155. responses:
  2156. "200":
  2157. description: "请求已由当前实现处理"
  2158. content:
  2159. application/json:
  2160. schema:
  2161. $ref: '#/components/schemas/ApiEnvelope'
  2162. default:
  2163. description: "错误响应"
  2164. content:
  2165. application/json:
  2166. schema:
  2167. $ref: '#/components/schemas/ApiEnvelope'
  2168. "/api/interface/data/standard/update":
  2169. post:
  2170. tags: [data_interface]
  2171. operationId: data_interface_data_standard_update_post
  2172. summary: "data standard update"
  2173. x-source: "app/api/data_interface/routes.py"
  2174. requestBody:
  2175. required: false
  2176. content:
  2177. application/json:
  2178. schema:
  2179. type: object
  2180. additionalProperties: true
  2181. responses:
  2182. "200":
  2183. description: "请求已由当前实现处理"
  2184. content:
  2185. application/json:
  2186. schema:
  2187. $ref: '#/components/schemas/ApiEnvelope'
  2188. default:
  2189. description: "错误响应"
  2190. content:
  2191. application/json:
  2192. schema:
  2193. $ref: '#/components/schemas/ApiEnvelope'
  2194. "/api/interface/graphall":
  2195. post:
  2196. tags: [data_interface]
  2197. operationId: data_interface_interface_graph_all_post
  2198. summary: "获取完整关系图谱"
  2199. x-source: "app/api/data_interface/routes.py"
  2200. requestBody:
  2201. required: false
  2202. content:
  2203. application/json:
  2204. schema:
  2205. type: object
  2206. additionalProperties: true
  2207. responses:
  2208. "200":
  2209. description: "请求已由当前实现处理"
  2210. content:
  2211. application/json:
  2212. schema:
  2213. $ref: '#/components/schemas/ApiEnvelope'
  2214. default:
  2215. description: "错误响应"
  2216. content:
  2217. application/json:
  2218. schema:
  2219. $ref: '#/components/schemas/ApiEnvelope'
  2220. "/api/interface/labellist":
  2221. post:
  2222. tags: [data_interface]
  2223. operationId: data_interface_interface_label_list_post
  2224. summary: "获取 DataLabel 列表(支持多条件 category_filter 过滤)"
  2225. x-source: "app/api/data_interface/routes.py"
  2226. requestBody:
  2227. required: false
  2228. content:
  2229. application/json:
  2230. schema:
  2231. type: object
  2232. additionalProperties: true
  2233. responses:
  2234. "200":
  2235. description: "请求已由当前实现处理"
  2236. content:
  2237. application/json:
  2238. schema:
  2239. $ref: '#/components/schemas/ApiEnvelope'
  2240. default:
  2241. description: "错误响应"
  2242. content:
  2243. application/json:
  2244. schema:
  2245. $ref: '#/components/schemas/ApiEnvelope'
  2246. "/api/interface/metric/label/standard/delete":
  2247. post:
  2248. tags: [data_interface]
  2249. operationId: data_interface_metric_label_standard_delete_post
  2250. summary: "metric label standard delete"
  2251. x-source: "app/api/data_interface/routes.py"
  2252. requestBody:
  2253. required: false
  2254. content:
  2255. application/json:
  2256. schema:
  2257. type: object
  2258. additionalProperties: true
  2259. responses:
  2260. "200":
  2261. description: "请求已由当前实现处理"
  2262. content:
  2263. application/json:
  2264. schema:
  2265. $ref: '#/components/schemas/ApiEnvelope'
  2266. default:
  2267. description: "错误响应"
  2268. content:
  2269. application/json:
  2270. schema:
  2271. $ref: '#/components/schemas/ApiEnvelope'
  2272. "/api/meta/check":
  2273. get:
  2274. tags: [meta_data]
  2275. operationId: meta_data_meta_check_get
  2276. summary: "检查元数据中文名是否已存在"
  2277. x-source: "app/api/meta_data/routes.py"
  2278. responses:
  2279. "200":
  2280. description: "请求已由当前实现处理"
  2281. content:
  2282. application/json:
  2283. schema:
  2284. $ref: '#/components/schemas/ApiEnvelope'
  2285. default:
  2286. description: "错误响应"
  2287. content:
  2288. application/json:
  2289. schema:
  2290. $ref: '#/components/schemas/ApiEnvelope'
  2291. "/api/meta/config":
  2292. get:
  2293. tags: [meta_data]
  2294. operationId: meta_data_get_meta_config_get
  2295. summary: "获取元数据配置信息"
  2296. x-source: "app/api/meta_data/routes.py"
  2297. responses:
  2298. "200":
  2299. description: "请求已由当前实现处理"
  2300. content:
  2301. application/json:
  2302. schema:
  2303. $ref: '#/components/schemas/ApiEnvelope'
  2304. default:
  2305. description: "错误响应"
  2306. content:
  2307. application/json:
  2308. schema:
  2309. $ref: '#/components/schemas/ApiEnvelope'
  2310. "/api/meta/full/text/query":
  2311. post:
  2312. tags: [meta_data]
  2313. operationId: meta_data_full_text_query_post
  2314. summary: "full text query"
  2315. x-source: "app/api/meta_data/routes.py"
  2316. requestBody:
  2317. required: false
  2318. content:
  2319. application/json:
  2320. schema:
  2321. type: object
  2322. additionalProperties: true
  2323. responses:
  2324. "200":
  2325. description: "请求已由当前实现处理"
  2326. content:
  2327. application/json:
  2328. schema:
  2329. $ref: '#/components/schemas/ApiEnvelope'
  2330. default:
  2331. description: "错误响应"
  2332. content:
  2333. application/json:
  2334. schema:
  2335. $ref: '#/components/schemas/ApiEnvelope'
  2336. "/api/meta/node/add":
  2337. post:
  2338. tags: [meta_data]
  2339. operationId: meta_data_meta_node_add_post
  2340. summary: "新增元数据节点"
  2341. x-source: "app/api/meta_data/routes.py"
  2342. requestBody:
  2343. required: false
  2344. content:
  2345. application/json:
  2346. schema:
  2347. type: object
  2348. additionalProperties: true
  2349. responses:
  2350. "200":
  2351. description: "请求已由当前实现处理"
  2352. content:
  2353. application/json:
  2354. schema:
  2355. $ref: '#/components/schemas/ApiEnvelope'
  2356. default:
  2357. description: "错误响应"
  2358. content:
  2359. application/json:
  2360. schema:
  2361. $ref: '#/components/schemas/ApiEnvelope'
  2362. "/api/meta/node/delete":
  2363. post:
  2364. tags: [meta_data]
  2365. operationId: meta_data_meta_node_delete_post
  2366. summary: "meta node delete"
  2367. x-source: "app/api/meta_data/routes.py"
  2368. requestBody:
  2369. required: false
  2370. content:
  2371. application/json:
  2372. schema:
  2373. type: object
  2374. additionalProperties: true
  2375. responses:
  2376. "200":
  2377. description: "请求已由当前实现处理"
  2378. content:
  2379. application/json:
  2380. schema:
  2381. $ref: '#/components/schemas/ApiEnvelope'
  2382. default:
  2383. description: "错误响应"
  2384. content:
  2385. application/json:
  2386. schema:
  2387. $ref: '#/components/schemas/ApiEnvelope'
  2388. "/api/meta/node/edit":
  2389. post:
  2390. tags: [meta_data]
  2391. operationId: meta_data_meta_node_edit_post
  2392. summary: "meta node edit"
  2393. x-source: "app/api/meta_data/routes.py"
  2394. requestBody:
  2395. required: false
  2396. content:
  2397. application/json:
  2398. schema:
  2399. type: object
  2400. additionalProperties: true
  2401. responses:
  2402. "200":
  2403. description: "请求已由当前实现处理"
  2404. content:
  2405. application/json:
  2406. schema:
  2407. $ref: '#/components/schemas/ApiEnvelope'
  2408. default:
  2409. description: "错误响应"
  2410. content:
  2411. application/json:
  2412. schema:
  2413. $ref: '#/components/schemas/ApiEnvelope'
  2414. "/api/meta/node/graph":
  2415. post:
  2416. tags: [meta_data]
  2417. operationId: meta_data_meta_node_graph_post
  2418. summary: "meta node graph"
  2419. x-source: "app/api/meta_data/routes.py"
  2420. requestBody:
  2421. required: false
  2422. content:
  2423. application/json:
  2424. schema:
  2425. type: object
  2426. additionalProperties: true
  2427. responses:
  2428. "200":
  2429. description: "请求已由当前实现处理"
  2430. content:
  2431. application/json:
  2432. schema:
  2433. $ref: '#/components/schemas/ApiEnvelope'
  2434. default:
  2435. description: "错误响应"
  2436. content:
  2437. application/json:
  2438. schema:
  2439. $ref: '#/components/schemas/ApiEnvelope'
  2440. "/api/meta/node/list":
  2441. post:
  2442. tags: [meta_data]
  2443. operationId: meta_data_meta_node_list_post
  2444. summary: "meta node list"
  2445. x-source: "app/api/meta_data/routes.py"
  2446. requestBody:
  2447. required: false
  2448. content:
  2449. application/json:
  2450. schema:
  2451. type: object
  2452. additionalProperties: true
  2453. responses:
  2454. "200":
  2455. description: "请求已由当前实现处理"
  2456. content:
  2457. application/json:
  2458. schema:
  2459. $ref: '#/components/schemas/ApiEnvelope'
  2460. default:
  2461. description: "错误响应"
  2462. content:
  2463. application/json:
  2464. schema:
  2465. $ref: '#/components/schemas/ApiEnvelope'
  2466. "/api/meta/node/update":
  2467. post:
  2468. tags: [meta_data]
  2469. operationId: meta_data_meta_node_update_post
  2470. summary: "更新元数据节点"
  2471. x-source: "app/api/meta_data/routes.py"
  2472. requestBody:
  2473. required: false
  2474. content:
  2475. application/json:
  2476. schema:
  2477. type: object
  2478. additionalProperties: true
  2479. responses:
  2480. "200":
  2481. description: "请求已由当前实现处理"
  2482. content:
  2483. application/json:
  2484. schema:
  2485. $ref: '#/components/schemas/ApiEnvelope'
  2486. default:
  2487. description: "错误响应"
  2488. content:
  2489. application/json:
  2490. schema:
  2491. $ref: '#/components/schemas/ApiEnvelope'
  2492. "/api/meta/resource/display":
  2493. post:
  2494. tags: [meta_data]
  2495. operationId: meta_data_upload_file_display_post
  2496. summary: "upload file display"
  2497. x-source: "app/api/meta_data/routes.py"
  2498. requestBody:
  2499. required: false
  2500. content:
  2501. application/json:
  2502. schema:
  2503. type: object
  2504. additionalProperties: true
  2505. responses:
  2506. "200":
  2507. description: "请求已由当前实现处理"
  2508. content:
  2509. application/json:
  2510. schema:
  2511. $ref: '#/components/schemas/ApiEnvelope'
  2512. default:
  2513. description: "错误响应"
  2514. content:
  2515. application/json:
  2516. schema:
  2517. $ref: '#/components/schemas/ApiEnvelope'
  2518. "/api/meta/resource/download":
  2519. get:
  2520. tags: [meta_data]
  2521. operationId: meta_data_download_file_get
  2522. summary: "download file"
  2523. x-source: "app/api/meta_data/routes.py"
  2524. responses:
  2525. "200":
  2526. description: "请求已由当前实现处理"
  2527. content:
  2528. application/json:
  2529. schema:
  2530. $ref: '#/components/schemas/ApiEnvelope'
  2531. default:
  2532. description: "错误响应"
  2533. content:
  2534. application/json:
  2535. schema:
  2536. $ref: '#/components/schemas/ApiEnvelope'
  2537. "/api/meta/resource/node":
  2538. post:
  2539. tags: [meta_data]
  2540. operationId: meta_data_text_resource_node_post
  2541. summary: "text resource node"
  2542. x-source: "app/api/meta_data/routes.py"
  2543. requestBody:
  2544. required: false
  2545. content:
  2546. application/json:
  2547. schema:
  2548. type: object
  2549. additionalProperties: true
  2550. responses:
  2551. "200":
  2552. description: "请求已由当前实现处理"
  2553. content:
  2554. application/json:
  2555. schema:
  2556. $ref: '#/components/schemas/ApiEnvelope'
  2557. default:
  2558. description: "错误响应"
  2559. content:
  2560. application/json:
  2561. schema:
  2562. $ref: '#/components/schemas/ApiEnvelope'
  2563. "/api/meta/resource/translate":
  2564. post:
  2565. tags: [meta_data]
  2566. operationId: meta_data_text_resource_translate_post
  2567. summary: "text resource translate"
  2568. x-source: "app/api/meta_data/routes.py"
  2569. requestBody:
  2570. required: false
  2571. content:
  2572. application/json:
  2573. schema:
  2574. type: object
  2575. additionalProperties: true
  2576. responses:
  2577. "200":
  2578. description: "请求已由当前实现处理"
  2579. content:
  2580. application/json:
  2581. schema:
  2582. $ref: '#/components/schemas/ApiEnvelope'
  2583. default:
  2584. description: "错误响应"
  2585. content:
  2586. application/json:
  2587. schema:
  2588. $ref: '#/components/schemas/ApiEnvelope'
  2589. "/api/meta/resource/upload":
  2590. post:
  2591. tags: [meta_data]
  2592. operationId: meta_data_upload_file_post
  2593. summary: "upload file"
  2594. x-source: "app/api/meta_data/routes.py"
  2595. requestBody:
  2596. required: false
  2597. content:
  2598. application/json:
  2599. schema:
  2600. type: object
  2601. additionalProperties: true
  2602. responses:
  2603. "200":
  2604. description: "请求已由当前实现处理"
  2605. content:
  2606. application/json:
  2607. schema:
  2608. $ref: '#/components/schemas/ApiEnvelope'
  2609. default:
  2610. description: "错误响应"
  2611. content:
  2612. application/json:
  2613. schema:
  2614. $ref: '#/components/schemas/ApiEnvelope'
  2615. "/api/meta/review/create":
  2616. post:
  2617. tags: [meta_data]
  2618. operationId: meta_data_metadata_review_create_post
  2619. summary: "创建元数据审核记录"
  2620. x-source: "app/api/meta_data/routes.py"
  2621. requestBody:
  2622. required: false
  2623. content:
  2624. application/json:
  2625. schema:
  2626. type: object
  2627. additionalProperties: true
  2628. responses:
  2629. "200":
  2630. description: "请求已由当前实现处理"
  2631. content:
  2632. application/json:
  2633. schema:
  2634. $ref: '#/components/schemas/ApiEnvelope'
  2635. default:
  2636. description: "错误响应"
  2637. content:
  2638. application/json:
  2639. schema:
  2640. $ref: '#/components/schemas/ApiEnvelope'
  2641. "/api/meta/review/detail":
  2642. get:
  2643. tags: [meta_data]
  2644. operationId: meta_data_metadata_review_detail_get
  2645. summary: "审核记录详情"
  2646. x-source: "app/api/meta_data/routes.py"
  2647. responses:
  2648. "200":
  2649. description: "请求已由当前实现处理"
  2650. content:
  2651. application/json:
  2652. schema:
  2653. $ref: '#/components/schemas/ApiEnvelope'
  2654. default:
  2655. description: "错误响应"
  2656. content:
  2657. application/json:
  2658. schema:
  2659. $ref: '#/components/schemas/ApiEnvelope'
  2660. "/api/meta/review/list":
  2661. post:
  2662. tags: [meta_data]
  2663. operationId: meta_data_metadata_review_list_post
  2664. summary: "审核记录列表:疑似冗余/变动"
  2665. x-source: "app/api/meta_data/routes.py"
  2666. requestBody:
  2667. required: false
  2668. content:
  2669. application/json:
  2670. schema:
  2671. type: object
  2672. additionalProperties: true
  2673. responses:
  2674. "200":
  2675. description: "请求已由当前实现处理"
  2676. content:
  2677. application/json:
  2678. schema:
  2679. $ref: '#/components/schemas/ApiEnvelope'
  2680. default:
  2681. description: "错误响应"
  2682. content:
  2683. application/json:
  2684. schema:
  2685. $ref: '#/components/schemas/ApiEnvelope'
  2686. "/api/meta/review/resolve":
  2687. post:
  2688. tags: [meta_data]
  2689. operationId: meta_data_metadata_review_resolve_post
  2690. summary: "处理审核记录"
  2691. x-source: "app/api/meta_data/routes.py"
  2692. requestBody:
  2693. required: false
  2694. content:
  2695. application/json:
  2696. schema:
  2697. type: object
  2698. additionalProperties: true
  2699. responses:
  2700. "200":
  2701. description: "请求已由当前实现处理"
  2702. content:
  2703. application/json:
  2704. schema:
  2705. $ref: '#/components/schemas/ApiEnvelope'
  2706. default:
  2707. description: "错误响应"
  2708. content:
  2709. application/json:
  2710. schema:
  2711. $ref: '#/components/schemas/ApiEnvelope'
  2712. "/api/meta/search":
  2713. get:
  2714. tags: [meta_data]
  2715. operationId: meta_data_search_metadata_route_get
  2716. summary: "search metadata route"
  2717. x-source: "app/api/meta_data/routes.py"
  2718. responses:
  2719. "200":
  2720. description: "请求已由当前实现处理"
  2721. content:
  2722. application/json:
  2723. schema:
  2724. $ref: '#/components/schemas/ApiEnvelope'
  2725. default:
  2726. description: "错误响应"
  2727. content:
  2728. application/json:
  2729. schema:
  2730. $ref: '#/components/schemas/ApiEnvelope'
  2731. "/api/meta/text/graph":
  2732. post:
  2733. tags: [meta_data]
  2734. operationId: meta_data_create_text_graph_post
  2735. summary: "create text graph"
  2736. x-source: "app/api/meta_data/routes.py"
  2737. requestBody:
  2738. required: false
  2739. content:
  2740. application/json:
  2741. schema:
  2742. type: object
  2743. additionalProperties: true
  2744. responses:
  2745. "200":
  2746. description: "请求已由当前实现处理"
  2747. content:
  2748. application/json:
  2749. schema:
  2750. $ref: '#/components/schemas/ApiEnvelope'
  2751. default:
  2752. description: "错误响应"
  2753. content:
  2754. application/json:
  2755. schema:
  2756. $ref: '#/components/schemas/ApiEnvelope'
  2757. "/api/meta/unstructure/text/query":
  2758. post:
  2759. tags: [meta_data]
  2760. operationId: meta_data_unstructure_text_query_post
  2761. summary: "unstructure text query"
  2762. x-source: "app/api/meta_data/routes.py"
  2763. requestBody:
  2764. required: false
  2765. content:
  2766. application/json:
  2767. schema:
  2768. type: object
  2769. additionalProperties: true
  2770. responses:
  2771. "200":
  2772. description: "请求已由当前实现处理"
  2773. content:
  2774. application/json:
  2775. schema:
  2776. $ref: '#/components/schemas/ApiEnvelope'
  2777. default:
  2778. description: "错误响应"
  2779. content:
  2780. application/json:
  2781. schema:
  2782. $ref: '#/components/schemas/ApiEnvelope'
  2783. "/api/meta/unstructured/process":
  2784. post:
  2785. tags: [meta_data]
  2786. operationId: meta_data_processing_unstructured_data_post
  2787. summary: "processing unstructured data"
  2788. x-source: "app/api/meta_data/routes.py"
  2789. requestBody:
  2790. required: false
  2791. content:
  2792. application/json:
  2793. schema:
  2794. type: object
  2795. additionalProperties: true
  2796. responses:
  2797. "200":
  2798. description: "请求已由当前实现处理"
  2799. content:
  2800. application/json:
  2801. schema:
  2802. $ref: '#/components/schemas/ApiEnvelope'
  2803. default:
  2804. description: "错误响应"
  2805. content:
  2806. application/json:
  2807. schema:
  2808. $ref: '#/components/schemas/ApiEnvelope'
  2809. "/api/system/auth/login":
  2810. post:
  2811. tags: [system]
  2812. operationId: system_user_login_post
  2813. summary: "用户登录"
  2814. x-source: "app/api/system/routes.py"
  2815. requestBody:
  2816. required: false
  2817. content:
  2818. application/json:
  2819. schema:
  2820. type: object
  2821. additionalProperties: true
  2822. responses:
  2823. "200":
  2824. description: "请求已由当前实现处理"
  2825. content:
  2826. application/json:
  2827. schema:
  2828. $ref: '#/components/schemas/ApiEnvelope'
  2829. default:
  2830. description: "错误响应"
  2831. content:
  2832. application/json:
  2833. schema:
  2834. $ref: '#/components/schemas/ApiEnvelope'
  2835. "/api/system/auth/me":
  2836. get:
  2837. tags: [system]
  2838. operationId: system_current_user_get
  2839. summary: "current user"
  2840. x-source: "app/api/system/routes.py"
  2841. responses:
  2842. "200":
  2843. description: "请求已由当前实现处理"
  2844. content:
  2845. application/json:
  2846. schema:
  2847. $ref: '#/components/schemas/ApiEnvelope'
  2848. default:
  2849. description: "错误响应"
  2850. content:
  2851. application/json:
  2852. schema:
  2853. $ref: '#/components/schemas/ApiEnvelope'
  2854. "/api/system/config":
  2855. get:
  2856. tags: [system]
  2857. operationId: system_system_config_get
  2858. summary: "获取系统配置信息"
  2859. x-source: "app/api/system/routes.py"
  2860. responses:
  2861. "200":
  2862. description: "请求已由当前实现处理"
  2863. content:
  2864. application/json:
  2865. schema:
  2866. $ref: '#/components/schemas/ApiEnvelope'
  2867. default:
  2868. description: "错误响应"
  2869. content:
  2870. application/json:
  2871. schema:
  2872. $ref: '#/components/schemas/ApiEnvelope'
  2873. "/api/system/config/validate":
  2874. get:
  2875. tags: [system]
  2876. operationId: system_config_validate_get
  2877. summary: "验证系统配置的有效性"
  2878. x-source: "app/api/system/routes.py"
  2879. responses:
  2880. "200":
  2881. description: "请求已由当前实现处理"
  2882. content:
  2883. application/json:
  2884. schema:
  2885. $ref: '#/components/schemas/ApiEnvelope'
  2886. default:
  2887. description: "错误响应"
  2888. content:
  2889. application/json:
  2890. schema:
  2891. $ref: '#/components/schemas/ApiEnvelope'
  2892. "/api/system/health":
  2893. get:
  2894. tags: [system]
  2895. operationId: system_health_check_get
  2896. summary: "系统健康状态检查"
  2897. x-source: "app/api/system/routes.py"
  2898. responses:
  2899. "200":
  2900. description: "请求已由当前实现处理"
  2901. content:
  2902. application/json:
  2903. schema:
  2904. $ref: '#/components/schemas/ApiEnvelope'
  2905. default:
  2906. description: "错误响应"
  2907. content:
  2908. application/json:
  2909. schema:
  2910. $ref: '#/components/schemas/ApiEnvelope'
  2911. "/api/system/info":
  2912. get:
  2913. tags: [system]
  2914. operationId: system_system_info_get
  2915. summary: "获取系统运行环境信息"
  2916. x-source: "app/api/system/routes.py"
  2917. responses:
  2918. "200":
  2919. description: "请求已由当前实现处理"
  2920. content:
  2921. application/json:
  2922. schema:
  2923. $ref: '#/components/schemas/ApiEnvelope'
  2924. default:
  2925. description: "错误响应"
  2926. content:
  2927. application/json:
  2928. schema:
  2929. $ref: '#/components/schemas/ApiEnvelope'
  2930. "/api/system/translate":
  2931. post:
  2932. tags: [system]
  2933. operationId: system_translate_post
  2934. summary: "翻译节点名称"
  2935. x-source: "app/api/system/routes.py"
  2936. requestBody:
  2937. required: false
  2938. content:
  2939. application/json:
  2940. schema:
  2941. type: object
  2942. additionalProperties: true
  2943. responses:
  2944. "200":
  2945. description: "请求已由当前实现处理"
  2946. content:
  2947. application/json:
  2948. schema:
  2949. $ref: '#/components/schemas/ApiEnvelope'
  2950. default:
  2951. description: "错误响应"
  2952. content:
  2953. application/json:
  2954. schema:
  2955. $ref: '#/components/schemas/ApiEnvelope'
  2956. "/api/system/users":
  2957. get:
  2958. tags: [system]
  2959. operationId: system_list_users_get
  2960. summary: "list users"
  2961. x-source: "app/api/system/routes.py"
  2962. responses:
  2963. "200":
  2964. description: "请求已由当前实现处理"
  2965. content:
  2966. application/json:
  2967. schema:
  2968. $ref: '#/components/schemas/ApiEnvelope'
  2969. default:
  2970. description: "错误响应"
  2971. content:
  2972. application/json:
  2973. schema:
  2974. $ref: '#/components/schemas/ApiEnvelope'
  2975. post:
  2976. tags: [system]
  2977. operationId: system_create_user_post
  2978. summary: "create user"
  2979. x-source: "app/api/system/routes.py"
  2980. requestBody:
  2981. required: false
  2982. content:
  2983. application/json:
  2984. schema:
  2985. type: object
  2986. additionalProperties: true
  2987. responses:
  2988. "200":
  2989. description: "请求已由当前实现处理"
  2990. content:
  2991. application/json:
  2992. schema:
  2993. $ref: '#/components/schemas/ApiEnvelope'
  2994. default:
  2995. description: "错误响应"
  2996. content:
  2997. application/json:
  2998. schema:
  2999. $ref: '#/components/schemas/ApiEnvelope'
  3000. "/api/system/users/{user_id}":
  3001. put:
  3002. tags: [system]
  3003. operationId: system_update_user_put
  3004. summary: "update user"
  3005. x-source: "app/api/system/routes.py"
  3006. parameters:
  3007. - name: user_id
  3008. in: path
  3009. required: true
  3010. schema:
  3011. type: string
  3012. requestBody:
  3013. required: false
  3014. content:
  3015. application/json:
  3016. schema:
  3017. type: object
  3018. additionalProperties: true
  3019. responses:
  3020. "200":
  3021. description: "请求已由当前实现处理"
  3022. content:
  3023. application/json:
  3024. schema:
  3025. $ref: '#/components/schemas/ApiEnvelope'
  3026. default:
  3027. description: "错误响应"
  3028. content:
  3029. application/json:
  3030. schema:
  3031. $ref: '#/components/schemas/ApiEnvelope'
  3032. "/api/system/users/{user_id}/roles":
  3033. put:
  3034. tags: [system]
  3035. operationId: system_update_user_roles_put
  3036. summary: "update user roles"
  3037. x-source: "app/api/system/routes.py"
  3038. parameters:
  3039. - name: user_id
  3040. in: path
  3041. required: true
  3042. schema:
  3043. type: string
  3044. requestBody:
  3045. required: false
  3046. content:
  3047. application/json:
  3048. schema:
  3049. type: object
  3050. additionalProperties: true
  3051. responses:
  3052. "200":
  3053. description: "请求已由当前实现处理"
  3054. content:
  3055. application/json:
  3056. schema:
  3057. $ref: '#/components/schemas/ApiEnvelope'
  3058. default:
  3059. description: "错误响应"
  3060. content:
  3061. application/json:
  3062. schema:
  3063. $ref: '#/components/schemas/ApiEnvelope'
  3064. "/api/system/workbench/layout":
  3065. get:
  3066. tags: [system]
  3067. operationId: system_get_workbench_layout_get
  3068. summary: "get workbench layout"
  3069. x-source: "app/api/system/routes.py"
  3070. responses:
  3071. "200":
  3072. description: "请求已由当前实现处理"
  3073. content:
  3074. application/json:
  3075. schema:
  3076. $ref: '#/components/schemas/ApiEnvelope'
  3077. default:
  3078. description: "错误响应"
  3079. content:
  3080. application/json:
  3081. schema:
  3082. $ref: '#/components/schemas/ApiEnvelope'
  3083. put:
  3084. tags: [system]
  3085. operationId: system_put_workbench_layout_put
  3086. summary: "put workbench layout"
  3087. x-source: "app/api/system/routes.py"
  3088. requestBody:
  3089. required: false
  3090. content:
  3091. application/json:
  3092. schema:
  3093. type: object
  3094. additionalProperties: true
  3095. responses:
  3096. "200":
  3097. description: "请求已由当前实现处理"
  3098. content:
  3099. application/json:
  3100. schema:
  3101. $ref: '#/components/schemas/ApiEnvelope'
  3102. default:
  3103. description: "错误响应"
  3104. content:
  3105. application/json:
  3106. schema:
  3107. $ref: '#/components/schemas/ApiEnvelope'
  3108. "/api/system/workbench/registry":
  3109. get:
  3110. tags: [system]
  3111. operationId: system_workbench_registry_get
  3112. summary: "workbench registry"
  3113. x-source: "app/api/system/routes.py"
  3114. responses:
  3115. "200":
  3116. description: "请求已由当前实现处理"
  3117. content:
  3118. application/json:
  3119. schema:
  3120. $ref: '#/components/schemas/ApiEnvelope'
  3121. default:
  3122. description: "错误响应"
  3123. content:
  3124. application/json:
  3125. schema:
  3126. $ref: '#/components/schemas/ApiEnvelope'
  3127. components:
  3128. schemas:
  3129. ApiEnvelope:
  3130. type: object
  3131. additionalProperties: true
  3132. properties:
  3133. success:
  3134. type: boolean
  3135. code:
  3136. type: integer
  3137. message:
  3138. type: string
  3139. data: {}
  3140. timestamp:
  3141. type: integer
  3142. securitySchemes:
  3143. bearerAuth:
  3144. type: http
  3145. scheme: bearer
  3146. bearerFormat: JWT
  3147. description: "下一阶段统一认证方案;当前路由尚未全部接入。"