OPENAPI.yaml 97 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282
  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: 126
  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/candidate-decisions":
  1646. post:
  1647. tags: [data_development]
  1648. operationId: data_development_decide_candidates_post
  1649. summary: "decide candidates"
  1650. x-source: "app/api/data_development/routes.py"
  1651. requestBody:
  1652. required: false
  1653. content:
  1654. application/json:
  1655. schema:
  1656. type: object
  1657. additionalProperties: true
  1658. responses:
  1659. "200":
  1660. description: "请求已由当前实现处理"
  1661. content:
  1662. application/json:
  1663. schema:
  1664. $ref: '#/components/schemas/ApiEnvelope'
  1665. default:
  1666. description: "错误响应"
  1667. content:
  1668. application/json:
  1669. schema:
  1670. $ref: '#/components/schemas/ApiEnvelope'
  1671. "/api/development/v1/data-elements":
  1672. post:
  1673. tags: [data_development]
  1674. operationId: data_development_create_data_element_post
  1675. summary: "create data element"
  1676. x-source: "app/api/data_development/routes.py"
  1677. requestBody:
  1678. required: false
  1679. content:
  1680. application/json:
  1681. schema:
  1682. type: object
  1683. additionalProperties: true
  1684. responses:
  1685. "200":
  1686. description: "请求已由当前实现处理"
  1687. content:
  1688. application/json:
  1689. schema:
  1690. $ref: '#/components/schemas/ApiEnvelope'
  1691. default:
  1692. description: "错误响应"
  1693. content:
  1694. application/json:
  1695. schema:
  1696. $ref: '#/components/schemas/ApiEnvelope'
  1697. "/api/development/v1/data-elements/{element_uid}/transitions":
  1698. post:
  1699. tags: [data_development]
  1700. operationId: data_development_transition_data_element_post
  1701. summary: "transition data element"
  1702. x-source: "app/api/data_development/routes.py"
  1703. parameters:
  1704. - name: element_uid
  1705. in: path
  1706. required: true
  1707. schema:
  1708. type: string
  1709. requestBody:
  1710. required: false
  1711. content:
  1712. application/json:
  1713. schema:
  1714. type: object
  1715. additionalProperties: true
  1716. responses:
  1717. "200":
  1718. description: "请求已由当前实现处理"
  1719. content:
  1720. application/json:
  1721. schema:
  1722. $ref: '#/components/schemas/ApiEnvelope'
  1723. default:
  1724. description: "错误响应"
  1725. content:
  1726. application/json:
  1727. schema:
  1728. $ref: '#/components/schemas/ApiEnvelope'
  1729. "/api/development/v1/evidence/{evidence_uid}":
  1730. get:
  1731. tags: [data_development]
  1732. operationId: data_development_get_evidence_get
  1733. summary: "get evidence"
  1734. x-source: "app/api/data_development/routes.py"
  1735. parameters:
  1736. - name: evidence_uid
  1737. in: path
  1738. required: true
  1739. schema:
  1740. type: string
  1741. responses:
  1742. "200":
  1743. description: "请求已由当前实现处理"
  1744. content:
  1745. application/json:
  1746. schema:
  1747. $ref: '#/components/schemas/ApiEnvelope'
  1748. default:
  1749. description: "错误响应"
  1750. content:
  1751. application/json:
  1752. schema:
  1753. $ref: '#/components/schemas/ApiEnvelope'
  1754. "/api/development/v1/ingestion-jobs":
  1755. get:
  1756. tags: [data_development]
  1757. operationId: data_development_list_ingestion_jobs_get
  1758. summary: "list ingestion jobs"
  1759. x-source: "app/api/data_development/routes.py"
  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. post:
  1774. tags: [data_development]
  1775. operationId: data_development_create_ingestion_job_post
  1776. summary: "create ingestion job"
  1777. x-source: "app/api/data_development/routes.py"
  1778. requestBody:
  1779. required: false
  1780. content:
  1781. application/json:
  1782. schema:
  1783. type: object
  1784. additionalProperties: true
  1785. responses:
  1786. "200":
  1787. description: "请求已由当前实现处理"
  1788. content:
  1789. application/json:
  1790. schema:
  1791. $ref: '#/components/schemas/ApiEnvelope'
  1792. default:
  1793. description: "错误响应"
  1794. content:
  1795. application/json:
  1796. schema:
  1797. $ref: '#/components/schemas/ApiEnvelope'
  1798. "/api/development/v1/ingestion-jobs/{job_uid}":
  1799. get:
  1800. tags: [data_development]
  1801. operationId: data_development_get_ingestion_job_get
  1802. summary: "get ingestion job"
  1803. x-source: "app/api/data_development/routes.py"
  1804. parameters:
  1805. - name: job_uid
  1806. in: path
  1807. required: true
  1808. schema:
  1809. type: string
  1810. responses:
  1811. "200":
  1812. description: "请求已由当前实现处理"
  1813. content:
  1814. application/json:
  1815. schema:
  1816. $ref: '#/components/schemas/ApiEnvelope'
  1817. default:
  1818. description: "错误响应"
  1819. content:
  1820. application/json:
  1821. schema:
  1822. $ref: '#/components/schemas/ApiEnvelope'
  1823. "/api/development/v1/ingestion-jobs/{job_uid}/cancel":
  1824. post:
  1825. tags: [data_development]
  1826. operationId: data_development_cancel_ingestion_job_post
  1827. summary: "cancel ingestion job"
  1828. x-source: "app/api/data_development/routes.py"
  1829. parameters:
  1830. - name: job_uid
  1831. in: path
  1832. required: true
  1833. schema:
  1834. type: string
  1835. requestBody:
  1836. required: false
  1837. content:
  1838. application/json:
  1839. schema:
  1840. type: object
  1841. additionalProperties: true
  1842. responses:
  1843. "200":
  1844. description: "请求已由当前实现处理"
  1845. content:
  1846. application/json:
  1847. schema:
  1848. $ref: '#/components/schemas/ApiEnvelope'
  1849. default:
  1850. description: "错误响应"
  1851. content:
  1852. application/json:
  1853. schema:
  1854. $ref: '#/components/schemas/ApiEnvelope'
  1855. "/api/development/v1/ingestion-jobs/{job_uid}/retry":
  1856. post:
  1857. tags: [data_development]
  1858. operationId: data_development_retry_ingestion_job_post
  1859. summary: "retry ingestion job"
  1860. x-source: "app/api/data_development/routes.py"
  1861. parameters:
  1862. - name: job_uid
  1863. in: path
  1864. required: true
  1865. schema:
  1866. type: string
  1867. requestBody:
  1868. required: false
  1869. content:
  1870. application/json:
  1871. schema:
  1872. type: object
  1873. additionalProperties: true
  1874. responses:
  1875. "200":
  1876. description: "请求已由当前实现处理"
  1877. content:
  1878. application/json:
  1879. schema:
  1880. $ref: '#/components/schemas/ApiEnvelope'
  1881. default:
  1882. description: "错误响应"
  1883. content:
  1884. application/json:
  1885. schema:
  1886. $ref: '#/components/schemas/ApiEnvelope'
  1887. "/api/development/v1/sources/files":
  1888. post:
  1889. tags: [data_development]
  1890. operationId: data_development_upload_source_file_post
  1891. summary: "upload source file"
  1892. x-source: "app/api/data_development/routes.py"
  1893. requestBody:
  1894. required: false
  1895. content:
  1896. application/json:
  1897. schema:
  1898. type: object
  1899. additionalProperties: true
  1900. responses:
  1901. "200":
  1902. description: "请求已由当前实现处理"
  1903. content:
  1904. application/json:
  1905. schema:
  1906. $ref: '#/components/schemas/ApiEnvelope'
  1907. default:
  1908. description: "错误响应"
  1909. content:
  1910. application/json:
  1911. schema:
  1912. $ref: '#/components/schemas/ApiEnvelope'
  1913. "/api/graph/node/create":
  1914. post:
  1915. tags: [graph]
  1916. operationId: graph_create_node_post
  1917. summary: "创建新节点"
  1918. x-source: "app/api/graph/routes.py"
  1919. requestBody:
  1920. required: false
  1921. content:
  1922. application/json:
  1923. schema:
  1924. type: object
  1925. additionalProperties: true
  1926. responses:
  1927. "200":
  1928. description: "请求已由当前实现处理"
  1929. content:
  1930. application/json:
  1931. schema:
  1932. $ref: '#/components/schemas/ApiEnvelope'
  1933. default:
  1934. description: "错误响应"
  1935. content:
  1936. application/json:
  1937. schema:
  1938. $ref: '#/components/schemas/ApiEnvelope'
  1939. "/api/graph/query":
  1940. post:
  1941. tags: [graph]
  1942. operationId: graph_query_graph_post
  1943. summary: "执行自定义Cypher查询"
  1944. x-source: "app/api/graph/routes.py"
  1945. requestBody:
  1946. required: false
  1947. content:
  1948. application/json:
  1949. schema:
  1950. type: object
  1951. additionalProperties: true
  1952. responses:
  1953. "200":
  1954. description: "请求已由当前实现处理"
  1955. content:
  1956. application/json:
  1957. schema:
  1958. $ref: '#/components/schemas/ApiEnvelope'
  1959. default:
  1960. description: "错误响应"
  1961. content:
  1962. application/json:
  1963. schema:
  1964. $ref: '#/components/schemas/ApiEnvelope'
  1965. "/api/graph/relationship/create":
  1966. post:
  1967. tags: [graph]
  1968. operationId: graph_create_rel_post
  1969. summary: "创建节点间的关系"
  1970. x-source: "app/api/graph/routes.py"
  1971. requestBody:
  1972. required: false
  1973. content:
  1974. application/json:
  1975. schema:
  1976. type: object
  1977. additionalProperties: true
  1978. responses:
  1979. "200":
  1980. description: "请求已由当前实现处理"
  1981. content:
  1982. application/json:
  1983. schema:
  1984. $ref: '#/components/schemas/ApiEnvelope'
  1985. default:
  1986. description: "错误响应"
  1987. content:
  1988. application/json:
  1989. schema:
  1990. $ref: '#/components/schemas/ApiEnvelope'
  1991. "/api/graph/subgraph":
  1992. post:
  1993. tags: [graph]
  1994. operationId: graph_get_graph_data_post
  1995. summary: "获取子图数据"
  1996. x-source: "app/api/graph/routes.py"
  1997. requestBody:
  1998. required: false
  1999. content:
  2000. application/json:
  2001. schema:
  2002. type: object
  2003. additionalProperties: true
  2004. responses:
  2005. "200":
  2006. description: "请求已由当前实现处理"
  2007. content:
  2008. application/json:
  2009. schema:
  2010. $ref: '#/components/schemas/ApiEnvelope'
  2011. default:
  2012. description: "错误响应"
  2013. content:
  2014. application/json:
  2015. schema:
  2016. $ref: '#/components/schemas/ApiEnvelope'
  2017. "/api/interface/data/label/add":
  2018. post:
  2019. tags: [data_interface]
  2020. operationId: data_interface_data_label_add_post
  2021. summary: "data label add"
  2022. x-source: "app/api/data_interface/routes.py"
  2023. requestBody:
  2024. required: false
  2025. content:
  2026. application/json:
  2027. schema:
  2028. type: object
  2029. additionalProperties: true
  2030. responses:
  2031. "200":
  2032. description: "请求已由当前实现处理"
  2033. content:
  2034. application/json:
  2035. schema:
  2036. $ref: '#/components/schemas/ApiEnvelope'
  2037. default:
  2038. description: "错误响应"
  2039. content:
  2040. application/json:
  2041. schema:
  2042. $ref: '#/components/schemas/ApiEnvelope'
  2043. "/api/interface/data/label/delete":
  2044. post:
  2045. tags: [data_interface]
  2046. operationId: data_interface_data_label_delete_post
  2047. summary: "Delete data label node"
  2048. x-source: "app/api/data_interface/routes.py"
  2049. requestBody:
  2050. required: false
  2051. content:
  2052. application/json:
  2053. schema:
  2054. type: object
  2055. additionalProperties: true
  2056. responses:
  2057. "200":
  2058. description: "请求已由当前实现处理"
  2059. content:
  2060. application/json:
  2061. schema:
  2062. $ref: '#/components/schemas/ApiEnvelope'
  2063. default:
  2064. description: "错误响应"
  2065. content:
  2066. application/json:
  2067. schema:
  2068. $ref: '#/components/schemas/ApiEnvelope'
  2069. "/api/interface/data/label/detail":
  2070. post:
  2071. tags: [data_interface]
  2072. operationId: data_interface_data_label_detail_post
  2073. summary: "data label detail"
  2074. x-source: "app/api/data_interface/routes.py"
  2075. requestBody:
  2076. required: false
  2077. content:
  2078. application/json:
  2079. schema:
  2080. type: object
  2081. additionalProperties: true
  2082. responses:
  2083. "200":
  2084. description: "请求已由当前实现处理"
  2085. content:
  2086. application/json:
  2087. schema:
  2088. $ref: '#/components/schemas/ApiEnvelope'
  2089. default:
  2090. description: "错误响应"
  2091. content:
  2092. application/json:
  2093. schema:
  2094. $ref: '#/components/schemas/ApiEnvelope'
  2095. "/api/interface/data/label/dynamic/identify":
  2096. post:
  2097. tags: [data_interface]
  2098. operationId: data_interface_data_label_dynamic_identify_post
  2099. summary: "data label dynamic identify"
  2100. x-source: "app/api/data_interface/routes.py"
  2101. requestBody:
  2102. required: false
  2103. content:
  2104. application/json:
  2105. schema:
  2106. type: object
  2107. additionalProperties: true
  2108. responses:
  2109. "200":
  2110. description: "请求已由当前实现处理"
  2111. content:
  2112. application/json:
  2113. schema:
  2114. $ref: '#/components/schemas/ApiEnvelope'
  2115. default:
  2116. description: "错误响应"
  2117. content:
  2118. application/json:
  2119. schema:
  2120. $ref: '#/components/schemas/ApiEnvelope'
  2121. "/api/interface/data/label/graph/all":
  2122. post:
  2123. tags: [data_interface]
  2124. operationId: data_interface_data_label_graph_post
  2125. summary: "data label graph"
  2126. x-source: "app/api/data_interface/routes.py"
  2127. requestBody:
  2128. required: false
  2129. content:
  2130. application/json:
  2131. schema:
  2132. type: object
  2133. additionalProperties: true
  2134. responses:
  2135. "200":
  2136. description: "请求已由当前实现处理"
  2137. content:
  2138. application/json:
  2139. schema:
  2140. $ref: '#/components/schemas/ApiEnvelope'
  2141. default:
  2142. description: "错误响应"
  2143. content:
  2144. application/json:
  2145. schema:
  2146. $ref: '#/components/schemas/ApiEnvelope'
  2147. "/api/interface/data/label/list":
  2148. post:
  2149. tags: [data_interface]
  2150. operationId: data_interface_data_label_list_post
  2151. summary: "data label list"
  2152. x-source: "app/api/data_interface/routes.py"
  2153. requestBody:
  2154. required: false
  2155. content:
  2156. application/json:
  2157. schema:
  2158. type: object
  2159. additionalProperties: true
  2160. responses:
  2161. "200":
  2162. description: "请求已由当前实现处理"
  2163. content:
  2164. application/json:
  2165. schema:
  2166. $ref: '#/components/schemas/ApiEnvelope'
  2167. default:
  2168. description: "错误响应"
  2169. content:
  2170. application/json:
  2171. schema:
  2172. $ref: '#/components/schemas/ApiEnvelope'
  2173. "/api/interface/data/standard/add":
  2174. post:
  2175. tags: [data_interface]
  2176. operationId: data_interface_data_standard_add_post
  2177. summary: "data standard add"
  2178. x-source: "app/api/data_interface/routes.py"
  2179. requestBody:
  2180. required: false
  2181. content:
  2182. application/json:
  2183. schema:
  2184. type: object
  2185. additionalProperties: true
  2186. responses:
  2187. "200":
  2188. description: "请求已由当前实现处理"
  2189. content:
  2190. application/json:
  2191. schema:
  2192. $ref: '#/components/schemas/ApiEnvelope'
  2193. default:
  2194. description: "错误响应"
  2195. content:
  2196. application/json:
  2197. schema:
  2198. $ref: '#/components/schemas/ApiEnvelope'
  2199. "/api/interface/data/standard/code":
  2200. post:
  2201. tags: [data_interface]
  2202. operationId: data_interface_data_standard_code_post
  2203. summary: "data standard code"
  2204. x-source: "app/api/data_interface/routes.py"
  2205. requestBody:
  2206. required: false
  2207. content:
  2208. application/json:
  2209. schema:
  2210. type: object
  2211. additionalProperties: true
  2212. responses:
  2213. "200":
  2214. description: "请求已由当前实现处理"
  2215. content:
  2216. application/json:
  2217. schema:
  2218. $ref: '#/components/schemas/ApiEnvelope'
  2219. default:
  2220. description: "错误响应"
  2221. content:
  2222. application/json:
  2223. schema:
  2224. $ref: '#/components/schemas/ApiEnvelope'
  2225. "/api/interface/data/standard/detail":
  2226. post:
  2227. tags: [data_interface]
  2228. operationId: data_interface_data_standard_detail_post
  2229. summary: "data standard detail"
  2230. x-source: "app/api/data_interface/routes.py"
  2231. requestBody:
  2232. required: false
  2233. content:
  2234. application/json:
  2235. schema:
  2236. type: object
  2237. additionalProperties: true
  2238. responses:
  2239. "200":
  2240. description: "请求已由当前实现处理"
  2241. content:
  2242. application/json:
  2243. schema:
  2244. $ref: '#/components/schemas/ApiEnvelope'
  2245. default:
  2246. description: "错误响应"
  2247. content:
  2248. application/json:
  2249. schema:
  2250. $ref: '#/components/schemas/ApiEnvelope'
  2251. "/api/interface/data/standard/graph/all":
  2252. post:
  2253. tags: [data_interface]
  2254. operationId: data_interface_data_standard_graph_all_post
  2255. summary: "data standard graph all"
  2256. x-source: "app/api/data_interface/routes.py"
  2257. requestBody:
  2258. required: false
  2259. content:
  2260. application/json:
  2261. schema:
  2262. type: object
  2263. additionalProperties: true
  2264. responses:
  2265. "200":
  2266. description: "请求已由当前实现处理"
  2267. content:
  2268. application/json:
  2269. schema:
  2270. $ref: '#/components/schemas/ApiEnvelope'
  2271. default:
  2272. description: "错误响应"
  2273. content:
  2274. application/json:
  2275. schema:
  2276. $ref: '#/components/schemas/ApiEnvelope'
  2277. "/api/interface/data/standard/list":
  2278. post:
  2279. tags: [data_interface]
  2280. operationId: data_interface_data_standard_list_post
  2281. summary: "data standard list"
  2282. x-source: "app/api/data_interface/routes.py"
  2283. requestBody:
  2284. required: false
  2285. content:
  2286. application/json:
  2287. schema:
  2288. type: object
  2289. additionalProperties: true
  2290. responses:
  2291. "200":
  2292. description: "请求已由当前实现处理"
  2293. content:
  2294. application/json:
  2295. schema:
  2296. $ref: '#/components/schemas/ApiEnvelope'
  2297. default:
  2298. description: "错误响应"
  2299. content:
  2300. application/json:
  2301. schema:
  2302. $ref: '#/components/schemas/ApiEnvelope'
  2303. "/api/interface/data/standard/update":
  2304. post:
  2305. tags: [data_interface]
  2306. operationId: data_interface_data_standard_update_post
  2307. summary: "data standard update"
  2308. x-source: "app/api/data_interface/routes.py"
  2309. requestBody:
  2310. required: false
  2311. content:
  2312. application/json:
  2313. schema:
  2314. type: object
  2315. additionalProperties: true
  2316. responses:
  2317. "200":
  2318. description: "请求已由当前实现处理"
  2319. content:
  2320. application/json:
  2321. schema:
  2322. $ref: '#/components/schemas/ApiEnvelope'
  2323. default:
  2324. description: "错误响应"
  2325. content:
  2326. application/json:
  2327. schema:
  2328. $ref: '#/components/schemas/ApiEnvelope'
  2329. "/api/interface/graphall":
  2330. post:
  2331. tags: [data_interface]
  2332. operationId: data_interface_interface_graph_all_post
  2333. summary: "获取完整关系图谱"
  2334. x-source: "app/api/data_interface/routes.py"
  2335. requestBody:
  2336. required: false
  2337. content:
  2338. application/json:
  2339. schema:
  2340. type: object
  2341. additionalProperties: true
  2342. responses:
  2343. "200":
  2344. description: "请求已由当前实现处理"
  2345. content:
  2346. application/json:
  2347. schema:
  2348. $ref: '#/components/schemas/ApiEnvelope'
  2349. default:
  2350. description: "错误响应"
  2351. content:
  2352. application/json:
  2353. schema:
  2354. $ref: '#/components/schemas/ApiEnvelope'
  2355. "/api/interface/labellist":
  2356. post:
  2357. tags: [data_interface]
  2358. operationId: data_interface_interface_label_list_post
  2359. summary: "获取 DataLabel 列表(支持多条件 category_filter 过滤)"
  2360. x-source: "app/api/data_interface/routes.py"
  2361. requestBody:
  2362. required: false
  2363. content:
  2364. application/json:
  2365. schema:
  2366. type: object
  2367. additionalProperties: true
  2368. responses:
  2369. "200":
  2370. description: "请求已由当前实现处理"
  2371. content:
  2372. application/json:
  2373. schema:
  2374. $ref: '#/components/schemas/ApiEnvelope'
  2375. default:
  2376. description: "错误响应"
  2377. content:
  2378. application/json:
  2379. schema:
  2380. $ref: '#/components/schemas/ApiEnvelope'
  2381. "/api/interface/metric/label/standard/delete":
  2382. post:
  2383. tags: [data_interface]
  2384. operationId: data_interface_metric_label_standard_delete_post
  2385. summary: "metric label standard delete"
  2386. x-source: "app/api/data_interface/routes.py"
  2387. requestBody:
  2388. required: false
  2389. content:
  2390. application/json:
  2391. schema:
  2392. type: object
  2393. additionalProperties: true
  2394. responses:
  2395. "200":
  2396. description: "请求已由当前实现处理"
  2397. content:
  2398. application/json:
  2399. schema:
  2400. $ref: '#/components/schemas/ApiEnvelope'
  2401. default:
  2402. description: "错误响应"
  2403. content:
  2404. application/json:
  2405. schema:
  2406. $ref: '#/components/schemas/ApiEnvelope'
  2407. "/api/meta/check":
  2408. get:
  2409. tags: [meta_data]
  2410. operationId: meta_data_meta_check_get
  2411. summary: "检查元数据中文名是否已存在"
  2412. x-source: "app/api/meta_data/routes.py"
  2413. responses:
  2414. "200":
  2415. description: "请求已由当前实现处理"
  2416. content:
  2417. application/json:
  2418. schema:
  2419. $ref: '#/components/schemas/ApiEnvelope'
  2420. default:
  2421. description: "错误响应"
  2422. content:
  2423. application/json:
  2424. schema:
  2425. $ref: '#/components/schemas/ApiEnvelope'
  2426. "/api/meta/config":
  2427. get:
  2428. tags: [meta_data]
  2429. operationId: meta_data_get_meta_config_get
  2430. summary: "获取元数据配置信息"
  2431. x-source: "app/api/meta_data/routes.py"
  2432. responses:
  2433. "200":
  2434. description: "请求已由当前实现处理"
  2435. content:
  2436. application/json:
  2437. schema:
  2438. $ref: '#/components/schemas/ApiEnvelope'
  2439. default:
  2440. description: "错误响应"
  2441. content:
  2442. application/json:
  2443. schema:
  2444. $ref: '#/components/schemas/ApiEnvelope'
  2445. "/api/meta/full/text/query":
  2446. post:
  2447. tags: [meta_data]
  2448. operationId: meta_data_full_text_query_post
  2449. summary: "full text query"
  2450. x-source: "app/api/meta_data/routes.py"
  2451. requestBody:
  2452. required: false
  2453. content:
  2454. application/json:
  2455. schema:
  2456. type: object
  2457. additionalProperties: true
  2458. responses:
  2459. "200":
  2460. description: "请求已由当前实现处理"
  2461. content:
  2462. application/json:
  2463. schema:
  2464. $ref: '#/components/schemas/ApiEnvelope'
  2465. default:
  2466. description: "错误响应"
  2467. content:
  2468. application/json:
  2469. schema:
  2470. $ref: '#/components/schemas/ApiEnvelope'
  2471. "/api/meta/node/add":
  2472. post:
  2473. tags: [meta_data]
  2474. operationId: meta_data_meta_node_add_post
  2475. summary: "新增元数据节点"
  2476. x-source: "app/api/meta_data/routes.py"
  2477. requestBody:
  2478. required: false
  2479. content:
  2480. application/json:
  2481. schema:
  2482. type: object
  2483. additionalProperties: true
  2484. responses:
  2485. "200":
  2486. description: "请求已由当前实现处理"
  2487. content:
  2488. application/json:
  2489. schema:
  2490. $ref: '#/components/schemas/ApiEnvelope'
  2491. default:
  2492. description: "错误响应"
  2493. content:
  2494. application/json:
  2495. schema:
  2496. $ref: '#/components/schemas/ApiEnvelope'
  2497. "/api/meta/node/delete":
  2498. post:
  2499. tags: [meta_data]
  2500. operationId: meta_data_meta_node_delete_post
  2501. summary: "meta node delete"
  2502. x-source: "app/api/meta_data/routes.py"
  2503. requestBody:
  2504. required: false
  2505. content:
  2506. application/json:
  2507. schema:
  2508. type: object
  2509. additionalProperties: true
  2510. responses:
  2511. "200":
  2512. description: "请求已由当前实现处理"
  2513. content:
  2514. application/json:
  2515. schema:
  2516. $ref: '#/components/schemas/ApiEnvelope'
  2517. default:
  2518. description: "错误响应"
  2519. content:
  2520. application/json:
  2521. schema:
  2522. $ref: '#/components/schemas/ApiEnvelope'
  2523. "/api/meta/node/edit":
  2524. post:
  2525. tags: [meta_data]
  2526. operationId: meta_data_meta_node_edit_post
  2527. summary: "meta node edit"
  2528. x-source: "app/api/meta_data/routes.py"
  2529. requestBody:
  2530. required: false
  2531. content:
  2532. application/json:
  2533. schema:
  2534. type: object
  2535. additionalProperties: true
  2536. responses:
  2537. "200":
  2538. description: "请求已由当前实现处理"
  2539. content:
  2540. application/json:
  2541. schema:
  2542. $ref: '#/components/schemas/ApiEnvelope'
  2543. default:
  2544. description: "错误响应"
  2545. content:
  2546. application/json:
  2547. schema:
  2548. $ref: '#/components/schemas/ApiEnvelope'
  2549. "/api/meta/node/graph":
  2550. post:
  2551. tags: [meta_data]
  2552. operationId: meta_data_meta_node_graph_post
  2553. summary: "meta node graph"
  2554. x-source: "app/api/meta_data/routes.py"
  2555. requestBody:
  2556. required: false
  2557. content:
  2558. application/json:
  2559. schema:
  2560. type: object
  2561. additionalProperties: true
  2562. responses:
  2563. "200":
  2564. description: "请求已由当前实现处理"
  2565. content:
  2566. application/json:
  2567. schema:
  2568. $ref: '#/components/schemas/ApiEnvelope'
  2569. default:
  2570. description: "错误响应"
  2571. content:
  2572. application/json:
  2573. schema:
  2574. $ref: '#/components/schemas/ApiEnvelope'
  2575. "/api/meta/node/list":
  2576. post:
  2577. tags: [meta_data]
  2578. operationId: meta_data_meta_node_list_post
  2579. summary: "meta node list"
  2580. x-source: "app/api/meta_data/routes.py"
  2581. requestBody:
  2582. required: false
  2583. content:
  2584. application/json:
  2585. schema:
  2586. type: object
  2587. additionalProperties: true
  2588. responses:
  2589. "200":
  2590. description: "请求已由当前实现处理"
  2591. content:
  2592. application/json:
  2593. schema:
  2594. $ref: '#/components/schemas/ApiEnvelope'
  2595. default:
  2596. description: "错误响应"
  2597. content:
  2598. application/json:
  2599. schema:
  2600. $ref: '#/components/schemas/ApiEnvelope'
  2601. "/api/meta/node/update":
  2602. post:
  2603. tags: [meta_data]
  2604. operationId: meta_data_meta_node_update_post
  2605. summary: "更新元数据节点"
  2606. x-source: "app/api/meta_data/routes.py"
  2607. requestBody:
  2608. required: false
  2609. content:
  2610. application/json:
  2611. schema:
  2612. type: object
  2613. additionalProperties: true
  2614. responses:
  2615. "200":
  2616. description: "请求已由当前实现处理"
  2617. content:
  2618. application/json:
  2619. schema:
  2620. $ref: '#/components/schemas/ApiEnvelope'
  2621. default:
  2622. description: "错误响应"
  2623. content:
  2624. application/json:
  2625. schema:
  2626. $ref: '#/components/schemas/ApiEnvelope'
  2627. "/api/meta/resource/display":
  2628. post:
  2629. tags: [meta_data]
  2630. operationId: meta_data_upload_file_display_post
  2631. summary: "upload file display"
  2632. x-source: "app/api/meta_data/routes.py"
  2633. requestBody:
  2634. required: false
  2635. content:
  2636. application/json:
  2637. schema:
  2638. type: object
  2639. additionalProperties: true
  2640. responses:
  2641. "200":
  2642. description: "请求已由当前实现处理"
  2643. content:
  2644. application/json:
  2645. schema:
  2646. $ref: '#/components/schemas/ApiEnvelope'
  2647. default:
  2648. description: "错误响应"
  2649. content:
  2650. application/json:
  2651. schema:
  2652. $ref: '#/components/schemas/ApiEnvelope'
  2653. "/api/meta/resource/download":
  2654. get:
  2655. tags: [meta_data]
  2656. operationId: meta_data_download_file_get
  2657. summary: "download file"
  2658. x-source: "app/api/meta_data/routes.py"
  2659. responses:
  2660. "200":
  2661. description: "请求已由当前实现处理"
  2662. content:
  2663. application/json:
  2664. schema:
  2665. $ref: '#/components/schemas/ApiEnvelope'
  2666. default:
  2667. description: "错误响应"
  2668. content:
  2669. application/json:
  2670. schema:
  2671. $ref: '#/components/schemas/ApiEnvelope'
  2672. "/api/meta/resource/node":
  2673. post:
  2674. tags: [meta_data]
  2675. operationId: meta_data_text_resource_node_post
  2676. summary: "text resource node"
  2677. x-source: "app/api/meta_data/routes.py"
  2678. requestBody:
  2679. required: false
  2680. content:
  2681. application/json:
  2682. schema:
  2683. type: object
  2684. additionalProperties: true
  2685. responses:
  2686. "200":
  2687. description: "请求已由当前实现处理"
  2688. content:
  2689. application/json:
  2690. schema:
  2691. $ref: '#/components/schemas/ApiEnvelope'
  2692. default:
  2693. description: "错误响应"
  2694. content:
  2695. application/json:
  2696. schema:
  2697. $ref: '#/components/schemas/ApiEnvelope'
  2698. "/api/meta/resource/translate":
  2699. post:
  2700. tags: [meta_data]
  2701. operationId: meta_data_text_resource_translate_post
  2702. summary: "text resource translate"
  2703. x-source: "app/api/meta_data/routes.py"
  2704. requestBody:
  2705. required: false
  2706. content:
  2707. application/json:
  2708. schema:
  2709. type: object
  2710. additionalProperties: true
  2711. responses:
  2712. "200":
  2713. description: "请求已由当前实现处理"
  2714. content:
  2715. application/json:
  2716. schema:
  2717. $ref: '#/components/schemas/ApiEnvelope'
  2718. default:
  2719. description: "错误响应"
  2720. content:
  2721. application/json:
  2722. schema:
  2723. $ref: '#/components/schemas/ApiEnvelope'
  2724. "/api/meta/resource/upload":
  2725. post:
  2726. tags: [meta_data]
  2727. operationId: meta_data_upload_file_post
  2728. summary: "upload file"
  2729. x-source: "app/api/meta_data/routes.py"
  2730. requestBody:
  2731. required: false
  2732. content:
  2733. application/json:
  2734. schema:
  2735. type: object
  2736. additionalProperties: true
  2737. responses:
  2738. "200":
  2739. description: "请求已由当前实现处理"
  2740. content:
  2741. application/json:
  2742. schema:
  2743. $ref: '#/components/schemas/ApiEnvelope'
  2744. default:
  2745. description: "错误响应"
  2746. content:
  2747. application/json:
  2748. schema:
  2749. $ref: '#/components/schemas/ApiEnvelope'
  2750. "/api/meta/review/create":
  2751. post:
  2752. tags: [meta_data]
  2753. operationId: meta_data_metadata_review_create_post
  2754. summary: "创建元数据审核记录"
  2755. x-source: "app/api/meta_data/routes.py"
  2756. requestBody:
  2757. required: false
  2758. content:
  2759. application/json:
  2760. schema:
  2761. type: object
  2762. additionalProperties: true
  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/meta/review/detail":
  2777. get:
  2778. tags: [meta_data]
  2779. operationId: meta_data_metadata_review_detail_get
  2780. summary: "审核记录详情"
  2781. x-source: "app/api/meta_data/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/meta/review/list":
  2796. post:
  2797. tags: [meta_data]
  2798. operationId: meta_data_metadata_review_list_post
  2799. summary: "审核记录列表:疑似冗余/变动"
  2800. x-source: "app/api/meta_data/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/meta/review/resolve":
  2822. post:
  2823. tags: [meta_data]
  2824. operationId: meta_data_metadata_review_resolve_post
  2825. summary: "处理审核记录"
  2826. x-source: "app/api/meta_data/routes.py"
  2827. requestBody:
  2828. required: false
  2829. content:
  2830. application/json:
  2831. schema:
  2832. type: object
  2833. additionalProperties: true
  2834. responses:
  2835. "200":
  2836. description: "请求已由当前实现处理"
  2837. content:
  2838. application/json:
  2839. schema:
  2840. $ref: '#/components/schemas/ApiEnvelope'
  2841. default:
  2842. description: "错误响应"
  2843. content:
  2844. application/json:
  2845. schema:
  2846. $ref: '#/components/schemas/ApiEnvelope'
  2847. "/api/meta/search":
  2848. get:
  2849. tags: [meta_data]
  2850. operationId: meta_data_search_metadata_route_get
  2851. summary: "search metadata route"
  2852. x-source: "app/api/meta_data/routes.py"
  2853. responses:
  2854. "200":
  2855. description: "请求已由当前实现处理"
  2856. content:
  2857. application/json:
  2858. schema:
  2859. $ref: '#/components/schemas/ApiEnvelope'
  2860. default:
  2861. description: "错误响应"
  2862. content:
  2863. application/json:
  2864. schema:
  2865. $ref: '#/components/schemas/ApiEnvelope'
  2866. "/api/meta/text/graph":
  2867. post:
  2868. tags: [meta_data]
  2869. operationId: meta_data_create_text_graph_post
  2870. summary: "create text graph"
  2871. x-source: "app/api/meta_data/routes.py"
  2872. requestBody:
  2873. required: false
  2874. content:
  2875. application/json:
  2876. schema:
  2877. type: object
  2878. additionalProperties: true
  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/meta/unstructure/text/query":
  2893. post:
  2894. tags: [meta_data]
  2895. operationId: meta_data_unstructure_text_query_post
  2896. summary: "unstructure text query"
  2897. x-source: "app/api/meta_data/routes.py"
  2898. requestBody:
  2899. required: false
  2900. content:
  2901. application/json:
  2902. schema:
  2903. type: object
  2904. additionalProperties: true
  2905. responses:
  2906. "200":
  2907. description: "请求已由当前实现处理"
  2908. content:
  2909. application/json:
  2910. schema:
  2911. $ref: '#/components/schemas/ApiEnvelope'
  2912. default:
  2913. description: "错误响应"
  2914. content:
  2915. application/json:
  2916. schema:
  2917. $ref: '#/components/schemas/ApiEnvelope'
  2918. "/api/meta/unstructured/process":
  2919. post:
  2920. tags: [meta_data]
  2921. operationId: meta_data_processing_unstructured_data_post
  2922. summary: "processing unstructured data"
  2923. x-source: "app/api/meta_data/routes.py"
  2924. requestBody:
  2925. required: false
  2926. content:
  2927. application/json:
  2928. schema:
  2929. type: object
  2930. additionalProperties: true
  2931. responses:
  2932. "200":
  2933. description: "请求已由当前实现处理"
  2934. content:
  2935. application/json:
  2936. schema:
  2937. $ref: '#/components/schemas/ApiEnvelope'
  2938. default:
  2939. description: "错误响应"
  2940. content:
  2941. application/json:
  2942. schema:
  2943. $ref: '#/components/schemas/ApiEnvelope'
  2944. "/api/system/auth/login":
  2945. post:
  2946. tags: [system]
  2947. operationId: system_user_login_post
  2948. summary: "用户登录"
  2949. x-source: "app/api/system/routes.py"
  2950. requestBody:
  2951. required: false
  2952. content:
  2953. application/json:
  2954. schema:
  2955. type: object
  2956. additionalProperties: true
  2957. responses:
  2958. "200":
  2959. description: "请求已由当前实现处理"
  2960. content:
  2961. application/json:
  2962. schema:
  2963. $ref: '#/components/schemas/ApiEnvelope'
  2964. default:
  2965. description: "错误响应"
  2966. content:
  2967. application/json:
  2968. schema:
  2969. $ref: '#/components/schemas/ApiEnvelope'
  2970. "/api/system/auth/me":
  2971. get:
  2972. tags: [system]
  2973. operationId: system_current_user_get
  2974. summary: "current user"
  2975. x-source: "app/api/system/routes.py"
  2976. responses:
  2977. "200":
  2978. description: "请求已由当前实现处理"
  2979. content:
  2980. application/json:
  2981. schema:
  2982. $ref: '#/components/schemas/ApiEnvelope'
  2983. default:
  2984. description: "错误响应"
  2985. content:
  2986. application/json:
  2987. schema:
  2988. $ref: '#/components/schemas/ApiEnvelope'
  2989. "/api/system/config":
  2990. get:
  2991. tags: [system]
  2992. operationId: system_system_config_get
  2993. summary: "获取系统配置信息"
  2994. x-source: "app/api/system/routes.py"
  2995. responses:
  2996. "200":
  2997. description: "请求已由当前实现处理"
  2998. content:
  2999. application/json:
  3000. schema:
  3001. $ref: '#/components/schemas/ApiEnvelope'
  3002. default:
  3003. description: "错误响应"
  3004. content:
  3005. application/json:
  3006. schema:
  3007. $ref: '#/components/schemas/ApiEnvelope'
  3008. "/api/system/config/validate":
  3009. get:
  3010. tags: [system]
  3011. operationId: system_config_validate_get
  3012. summary: "验证系统配置的有效性"
  3013. x-source: "app/api/system/routes.py"
  3014. responses:
  3015. "200":
  3016. description: "请求已由当前实现处理"
  3017. content:
  3018. application/json:
  3019. schema:
  3020. $ref: '#/components/schemas/ApiEnvelope'
  3021. default:
  3022. description: "错误响应"
  3023. content:
  3024. application/json:
  3025. schema:
  3026. $ref: '#/components/schemas/ApiEnvelope'
  3027. "/api/system/health":
  3028. get:
  3029. tags: [system]
  3030. operationId: system_health_check_get
  3031. summary: "系统健康状态检查"
  3032. x-source: "app/api/system/routes.py"
  3033. responses:
  3034. "200":
  3035. description: "请求已由当前实现处理"
  3036. content:
  3037. application/json:
  3038. schema:
  3039. $ref: '#/components/schemas/ApiEnvelope'
  3040. default:
  3041. description: "错误响应"
  3042. content:
  3043. application/json:
  3044. schema:
  3045. $ref: '#/components/schemas/ApiEnvelope'
  3046. "/api/system/info":
  3047. get:
  3048. tags: [system]
  3049. operationId: system_system_info_get
  3050. summary: "获取系统运行环境信息"
  3051. x-source: "app/api/system/routes.py"
  3052. responses:
  3053. "200":
  3054. description: "请求已由当前实现处理"
  3055. content:
  3056. application/json:
  3057. schema:
  3058. $ref: '#/components/schemas/ApiEnvelope'
  3059. default:
  3060. description: "错误响应"
  3061. content:
  3062. application/json:
  3063. schema:
  3064. $ref: '#/components/schemas/ApiEnvelope'
  3065. "/api/system/translate":
  3066. post:
  3067. tags: [system]
  3068. operationId: system_translate_post
  3069. summary: "翻译节点名称"
  3070. x-source: "app/api/system/routes.py"
  3071. requestBody:
  3072. required: false
  3073. content:
  3074. application/json:
  3075. schema:
  3076. type: object
  3077. additionalProperties: true
  3078. responses:
  3079. "200":
  3080. description: "请求已由当前实现处理"
  3081. content:
  3082. application/json:
  3083. schema:
  3084. $ref: '#/components/schemas/ApiEnvelope'
  3085. default:
  3086. description: "错误响应"
  3087. content:
  3088. application/json:
  3089. schema:
  3090. $ref: '#/components/schemas/ApiEnvelope'
  3091. "/api/system/users":
  3092. get:
  3093. tags: [system]
  3094. operationId: system_list_users_get
  3095. summary: "list users"
  3096. x-source: "app/api/system/routes.py"
  3097. responses:
  3098. "200":
  3099. description: "请求已由当前实现处理"
  3100. content:
  3101. application/json:
  3102. schema:
  3103. $ref: '#/components/schemas/ApiEnvelope'
  3104. default:
  3105. description: "错误响应"
  3106. content:
  3107. application/json:
  3108. schema:
  3109. $ref: '#/components/schemas/ApiEnvelope'
  3110. post:
  3111. tags: [system]
  3112. operationId: system_create_user_post
  3113. summary: "create user"
  3114. x-source: "app/api/system/routes.py"
  3115. requestBody:
  3116. required: false
  3117. content:
  3118. application/json:
  3119. schema:
  3120. type: object
  3121. additionalProperties: true
  3122. responses:
  3123. "200":
  3124. description: "请求已由当前实现处理"
  3125. content:
  3126. application/json:
  3127. schema:
  3128. $ref: '#/components/schemas/ApiEnvelope'
  3129. default:
  3130. description: "错误响应"
  3131. content:
  3132. application/json:
  3133. schema:
  3134. $ref: '#/components/schemas/ApiEnvelope'
  3135. "/api/system/users/{user_id}":
  3136. put:
  3137. tags: [system]
  3138. operationId: system_update_user_put
  3139. summary: "update user"
  3140. x-source: "app/api/system/routes.py"
  3141. parameters:
  3142. - name: user_id
  3143. in: path
  3144. required: true
  3145. schema:
  3146. type: string
  3147. requestBody:
  3148. required: false
  3149. content:
  3150. application/json:
  3151. schema:
  3152. type: object
  3153. additionalProperties: true
  3154. responses:
  3155. "200":
  3156. description: "请求已由当前实现处理"
  3157. content:
  3158. application/json:
  3159. schema:
  3160. $ref: '#/components/schemas/ApiEnvelope'
  3161. default:
  3162. description: "错误响应"
  3163. content:
  3164. application/json:
  3165. schema:
  3166. $ref: '#/components/schemas/ApiEnvelope'
  3167. "/api/system/users/{user_id}/roles":
  3168. put:
  3169. tags: [system]
  3170. operationId: system_update_user_roles_put
  3171. summary: "update user roles"
  3172. x-source: "app/api/system/routes.py"
  3173. parameters:
  3174. - name: user_id
  3175. in: path
  3176. required: true
  3177. schema:
  3178. type: string
  3179. requestBody:
  3180. required: false
  3181. content:
  3182. application/json:
  3183. schema:
  3184. type: object
  3185. additionalProperties: true
  3186. responses:
  3187. "200":
  3188. description: "请求已由当前实现处理"
  3189. content:
  3190. application/json:
  3191. schema:
  3192. $ref: '#/components/schemas/ApiEnvelope'
  3193. default:
  3194. description: "错误响应"
  3195. content:
  3196. application/json:
  3197. schema:
  3198. $ref: '#/components/schemas/ApiEnvelope'
  3199. "/api/system/workbench/layout":
  3200. get:
  3201. tags: [system]
  3202. operationId: system_get_workbench_layout_get
  3203. summary: "get workbench layout"
  3204. x-source: "app/api/system/routes.py"
  3205. responses:
  3206. "200":
  3207. description: "请求已由当前实现处理"
  3208. content:
  3209. application/json:
  3210. schema:
  3211. $ref: '#/components/schemas/ApiEnvelope'
  3212. default:
  3213. description: "错误响应"
  3214. content:
  3215. application/json:
  3216. schema:
  3217. $ref: '#/components/schemas/ApiEnvelope'
  3218. put:
  3219. tags: [system]
  3220. operationId: system_put_workbench_layout_put
  3221. summary: "put workbench layout"
  3222. x-source: "app/api/system/routes.py"
  3223. requestBody:
  3224. required: false
  3225. content:
  3226. application/json:
  3227. schema:
  3228. type: object
  3229. additionalProperties: true
  3230. responses:
  3231. "200":
  3232. description: "请求已由当前实现处理"
  3233. content:
  3234. application/json:
  3235. schema:
  3236. $ref: '#/components/schemas/ApiEnvelope'
  3237. default:
  3238. description: "错误响应"
  3239. content:
  3240. application/json:
  3241. schema:
  3242. $ref: '#/components/schemas/ApiEnvelope'
  3243. "/api/system/workbench/registry":
  3244. get:
  3245. tags: [system]
  3246. operationId: system_workbench_registry_get
  3247. summary: "workbench registry"
  3248. x-source: "app/api/system/routes.py"
  3249. responses:
  3250. "200":
  3251. description: "请求已由当前实现处理"
  3252. content:
  3253. application/json:
  3254. schema:
  3255. $ref: '#/components/schemas/ApiEnvelope'
  3256. default:
  3257. description: "错误响应"
  3258. content:
  3259. application/json:
  3260. schema:
  3261. $ref: '#/components/schemas/ApiEnvelope'
  3262. components:
  3263. schemas:
  3264. ApiEnvelope:
  3265. type: object
  3266. additionalProperties: true
  3267. properties:
  3268. success:
  3269. type: boolean
  3270. code:
  3271. type: integer
  3272. message:
  3273. type: string
  3274. data: {}
  3275. timestamp:
  3276. type: integer
  3277. securitySchemes:
  3278. bearerAuth:
  3279. type: http
  3280. scheme: bearer
  3281. bearerFormat: JWT
  3282. description: "下一阶段统一认证方案;当前路由尚未全部接入。"