OPENAPI.yaml 89 KB

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