OPENAPI.yaml 95 KB

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