OPENAPI.yaml 114 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864
  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: 147
  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. get:
  1673. tags: [data_development]
  1674. operationId: data_development_list_data_elements_get
  1675. summary: "list data elements"
  1676. x-source: "app/api/data_development/routes.py"
  1677. responses:
  1678. "200":
  1679. description: "请求已由当前实现处理"
  1680. content:
  1681. application/json:
  1682. schema:
  1683. $ref: '#/components/schemas/ApiEnvelope'
  1684. default:
  1685. description: "错误响应"
  1686. content:
  1687. application/json:
  1688. schema:
  1689. $ref: '#/components/schemas/ApiEnvelope'
  1690. post:
  1691. tags: [data_development]
  1692. operationId: data_development_create_data_element_post
  1693. summary: "create data element"
  1694. x-source: "app/api/data_development/routes.py"
  1695. requestBody:
  1696. required: false
  1697. content:
  1698. application/json:
  1699. schema:
  1700. type: object
  1701. additionalProperties: true
  1702. responses:
  1703. "200":
  1704. description: "请求已由当前实现处理"
  1705. content:
  1706. application/json:
  1707. schema:
  1708. $ref: '#/components/schemas/ApiEnvelope'
  1709. default:
  1710. description: "错误响应"
  1711. content:
  1712. application/json:
  1713. schema:
  1714. $ref: '#/components/schemas/ApiEnvelope'
  1715. "/api/development/v1/data-elements/{element_uid}/transitions":
  1716. post:
  1717. tags: [data_development]
  1718. operationId: data_development_transition_data_element_post
  1719. summary: "transition data element"
  1720. x-source: "app/api/data_development/routes.py"
  1721. parameters:
  1722. - name: element_uid
  1723. in: path
  1724. required: true
  1725. schema:
  1726. type: string
  1727. requestBody:
  1728. required: false
  1729. content:
  1730. application/json:
  1731. schema:
  1732. type: object
  1733. additionalProperties: true
  1734. responses:
  1735. "200":
  1736. description: "请求已由当前实现处理"
  1737. content:
  1738. application/json:
  1739. schema:
  1740. $ref: '#/components/schemas/ApiEnvelope'
  1741. default:
  1742. description: "错误响应"
  1743. content:
  1744. application/json:
  1745. schema:
  1746. $ref: '#/components/schemas/ApiEnvelope'
  1747. "/api/development/v1/evidence/{evidence_uid}":
  1748. get:
  1749. tags: [data_development]
  1750. operationId: data_development_get_evidence_get
  1751. summary: "get evidence"
  1752. x-source: "app/api/data_development/routes.py"
  1753. parameters:
  1754. - name: evidence_uid
  1755. in: path
  1756. required: true
  1757. schema:
  1758. type: string
  1759. responses:
  1760. "200":
  1761. description: "请求已由当前实现处理"
  1762. content:
  1763. application/json:
  1764. schema:
  1765. $ref: '#/components/schemas/ApiEnvelope'
  1766. default:
  1767. description: "错误响应"
  1768. content:
  1769. application/json:
  1770. schema:
  1771. $ref: '#/components/schemas/ApiEnvelope'
  1772. "/api/development/v1/ingestion-jobs":
  1773. get:
  1774. tags: [data_development]
  1775. operationId: data_development_list_ingestion_jobs_get
  1776. summary: "list ingestion jobs"
  1777. x-source: "app/api/data_development/routes.py"
  1778. responses:
  1779. "200":
  1780. description: "请求已由当前实现处理"
  1781. content:
  1782. application/json:
  1783. schema:
  1784. $ref: '#/components/schemas/ApiEnvelope'
  1785. default:
  1786. description: "错误响应"
  1787. content:
  1788. application/json:
  1789. schema:
  1790. $ref: '#/components/schemas/ApiEnvelope'
  1791. post:
  1792. tags: [data_development]
  1793. operationId: data_development_create_ingestion_job_post
  1794. summary: "create ingestion job"
  1795. x-source: "app/api/data_development/routes.py"
  1796. requestBody:
  1797. required: false
  1798. content:
  1799. application/json:
  1800. schema:
  1801. type: object
  1802. additionalProperties: true
  1803. responses:
  1804. "200":
  1805. description: "请求已由当前实现处理"
  1806. content:
  1807. application/json:
  1808. schema:
  1809. $ref: '#/components/schemas/ApiEnvelope'
  1810. default:
  1811. description: "错误响应"
  1812. content:
  1813. application/json:
  1814. schema:
  1815. $ref: '#/components/schemas/ApiEnvelope'
  1816. "/api/development/v1/ingestion-jobs/{job_uid}":
  1817. get:
  1818. tags: [data_development]
  1819. operationId: data_development_get_ingestion_job_get
  1820. summary: "get ingestion job"
  1821. x-source: "app/api/data_development/routes.py"
  1822. parameters:
  1823. - name: job_uid
  1824. in: path
  1825. required: true
  1826. schema:
  1827. type: string
  1828. responses:
  1829. "200":
  1830. description: "请求已由当前实现处理"
  1831. content:
  1832. application/json:
  1833. schema:
  1834. $ref: '#/components/schemas/ApiEnvelope'
  1835. default:
  1836. description: "错误响应"
  1837. content:
  1838. application/json:
  1839. schema:
  1840. $ref: '#/components/schemas/ApiEnvelope'
  1841. "/api/development/v1/ingestion-jobs/{job_uid}/cancel":
  1842. post:
  1843. tags: [data_development]
  1844. operationId: data_development_cancel_ingestion_job_post
  1845. summary: "cancel ingestion job"
  1846. x-source: "app/api/data_development/routes.py"
  1847. parameters:
  1848. - name: job_uid
  1849. in: path
  1850. required: true
  1851. schema:
  1852. type: string
  1853. requestBody:
  1854. required: false
  1855. content:
  1856. application/json:
  1857. schema:
  1858. type: object
  1859. additionalProperties: true
  1860. responses:
  1861. "200":
  1862. description: "请求已由当前实现处理"
  1863. content:
  1864. application/json:
  1865. schema:
  1866. $ref: '#/components/schemas/ApiEnvelope'
  1867. default:
  1868. description: "错误响应"
  1869. content:
  1870. application/json:
  1871. schema:
  1872. $ref: '#/components/schemas/ApiEnvelope'
  1873. "/api/development/v1/ingestion-jobs/{job_uid}/catalog-snapshots":
  1874. get:
  1875. tags: [data_development]
  1876. operationId: data_development_list_catalog_snapshots_get
  1877. summary: "list catalog snapshots"
  1878. x-source: "app/api/data_development/routes.py"
  1879. parameters:
  1880. - name: job_uid
  1881. in: path
  1882. required: true
  1883. schema:
  1884. type: string
  1885. responses:
  1886. "200":
  1887. description: "请求已由当前实现处理"
  1888. content:
  1889. application/json:
  1890. schema:
  1891. $ref: '#/components/schemas/ApiEnvelope'
  1892. default:
  1893. description: "错误响应"
  1894. content:
  1895. application/json:
  1896. schema:
  1897. $ref: '#/components/schemas/ApiEnvelope'
  1898. "/api/development/v1/ingestion-jobs/{job_uid}/evidence":
  1899. get:
  1900. tags: [data_development]
  1901. operationId: data_development_list_ingestion_job_evidence_get
  1902. summary: "list ingestion job evidence"
  1903. x-source: "app/api/data_development/routes.py"
  1904. parameters:
  1905. - name: job_uid
  1906. in: path
  1907. required: true
  1908. schema:
  1909. type: string
  1910. responses:
  1911. "200":
  1912. description: "请求已由当前实现处理"
  1913. content:
  1914. application/json:
  1915. schema:
  1916. $ref: '#/components/schemas/ApiEnvelope'
  1917. default:
  1918. description: "错误响应"
  1919. content:
  1920. application/json:
  1921. schema:
  1922. $ref: '#/components/schemas/ApiEnvelope'
  1923. "/api/development/v1/ingestion-jobs/{job_uid}/execute":
  1924. post:
  1925. tags: [data_development]
  1926. operationId: data_development_execute_ingestion_job_post
  1927. summary: "execute ingestion job"
  1928. x-source: "app/api/data_development/routes.py"
  1929. parameters:
  1930. - name: job_uid
  1931. in: path
  1932. required: true
  1933. schema:
  1934. type: string
  1935. requestBody:
  1936. required: false
  1937. content:
  1938. application/json:
  1939. schema:
  1940. type: object
  1941. additionalProperties: true
  1942. responses:
  1943. "200":
  1944. description: "请求已由当前实现处理"
  1945. content:
  1946. application/json:
  1947. schema:
  1948. $ref: '#/components/schemas/ApiEnvelope'
  1949. default:
  1950. description: "错误响应"
  1951. content:
  1952. application/json:
  1953. schema:
  1954. $ref: '#/components/schemas/ApiEnvelope'
  1955. "/api/development/v1/ingestion-jobs/{job_uid}/retry":
  1956. post:
  1957. tags: [data_development]
  1958. operationId: data_development_retry_ingestion_job_post
  1959. summary: "retry ingestion job"
  1960. x-source: "app/api/data_development/routes.py"
  1961. parameters:
  1962. - name: job_uid
  1963. in: path
  1964. required: true
  1965. schema:
  1966. type: string
  1967. requestBody:
  1968. required: false
  1969. content:
  1970. application/json:
  1971. schema:
  1972. type: object
  1973. additionalProperties: true
  1974. responses:
  1975. "200":
  1976. description: "请求已由当前实现处理"
  1977. content:
  1978. application/json:
  1979. schema:
  1980. $ref: '#/components/schemas/ApiEnvelope'
  1981. default:
  1982. description: "错误响应"
  1983. content:
  1984. application/json:
  1985. schema:
  1986. $ref: '#/components/schemas/ApiEnvelope'
  1987. "/api/development/v1/ontologies":
  1988. get:
  1989. tags: [data_development]
  1990. operationId: data_development_list_ontologies_get
  1991. summary: "list ontologies"
  1992. x-source: "app/api/data_development/routes.py"
  1993. responses:
  1994. "200":
  1995. description: "请求已由当前实现处理"
  1996. content:
  1997. application/json:
  1998. schema:
  1999. $ref: '#/components/schemas/ApiEnvelope'
  2000. default:
  2001. description: "错误响应"
  2002. content:
  2003. application/json:
  2004. schema:
  2005. $ref: '#/components/schemas/ApiEnvelope'
  2006. post:
  2007. tags: [data_development]
  2008. operationId: data_development_create_ontology_post
  2009. summary: "create ontology"
  2010. x-source: "app/api/data_development/routes.py"
  2011. requestBody:
  2012. required: false
  2013. content:
  2014. application/json:
  2015. schema:
  2016. type: object
  2017. additionalProperties: true
  2018. responses:
  2019. "200":
  2020. description: "请求已由当前实现处理"
  2021. content:
  2022. application/json:
  2023. schema:
  2024. $ref: '#/components/schemas/ApiEnvelope'
  2025. default:
  2026. description: "错误响应"
  2027. content:
  2028. application/json:
  2029. schema:
  2030. $ref: '#/components/schemas/ApiEnvelope'
  2031. "/api/development/v1/ontologies/import":
  2032. post:
  2033. tags: [data_development]
  2034. operationId: data_development_import_ontology_post
  2035. summary: "import ontology"
  2036. x-source: "app/api/data_development/routes.py"
  2037. requestBody:
  2038. required: false
  2039. content:
  2040. application/json:
  2041. schema:
  2042. type: object
  2043. additionalProperties: true
  2044. responses:
  2045. "200":
  2046. description: "请求已由当前实现处理"
  2047. content:
  2048. application/json:
  2049. schema:
  2050. $ref: '#/components/schemas/ApiEnvelope'
  2051. default:
  2052. description: "错误响应"
  2053. content:
  2054. application/json:
  2055. schema:
  2056. $ref: '#/components/schemas/ApiEnvelope'
  2057. "/api/development/v1/ontologies/{ontology_uid}":
  2058. get:
  2059. tags: [data_development]
  2060. operationId: data_development_get_ontology_get
  2061. summary: "get ontology"
  2062. x-source: "app/api/data_development/routes.py"
  2063. parameters:
  2064. - name: ontology_uid
  2065. in: path
  2066. required: true
  2067. schema:
  2068. type: string
  2069. responses:
  2070. "200":
  2071. description: "请求已由当前实现处理"
  2072. content:
  2073. application/json:
  2074. schema:
  2075. $ref: '#/components/schemas/ApiEnvelope'
  2076. default:
  2077. description: "错误响应"
  2078. content:
  2079. application/json:
  2080. schema:
  2081. $ref: '#/components/schemas/ApiEnvelope'
  2082. "/api/development/v1/ontologies/{ontology_uid}/change-sets/{change_set_uid}/decisions":
  2083. post:
  2084. tags: [data_development]
  2085. operationId: data_development_decide_ontology_change_set_post
  2086. summary: "decide ontology change set"
  2087. x-source: "app/api/data_development/routes.py"
  2088. parameters:
  2089. - name: ontology_uid
  2090. in: path
  2091. required: true
  2092. schema:
  2093. type: string
  2094. - name: change_set_uid
  2095. in: path
  2096. required: true
  2097. schema:
  2098. type: string
  2099. requestBody:
  2100. required: false
  2101. content:
  2102. application/json:
  2103. schema:
  2104. type: object
  2105. additionalProperties: true
  2106. responses:
  2107. "200":
  2108. description: "请求已由当前实现处理"
  2109. content:
  2110. application/json:
  2111. schema:
  2112. $ref: '#/components/schemas/ApiEnvelope'
  2113. default:
  2114. description: "错误响应"
  2115. content:
  2116. application/json:
  2117. schema:
  2118. $ref: '#/components/schemas/ApiEnvelope'
  2119. "/api/development/v1/ontologies/{ontology_uid}/diff":
  2120. get:
  2121. tags: [data_development]
  2122. operationId: data_development_diff_ontology_get
  2123. summary: "diff ontology"
  2124. x-source: "app/api/data_development/routes.py"
  2125. parameters:
  2126. - name: ontology_uid
  2127. in: path
  2128. required: true
  2129. schema:
  2130. type: string
  2131. responses:
  2132. "200":
  2133. description: "请求已由当前实现处理"
  2134. content:
  2135. application/json:
  2136. schema:
  2137. $ref: '#/components/schemas/ApiEnvelope'
  2138. default:
  2139. description: "错误响应"
  2140. content:
  2141. application/json:
  2142. schema:
  2143. $ref: '#/components/schemas/ApiEnvelope'
  2144. "/api/development/v1/ontologies/{ontology_uid}/export":
  2145. get:
  2146. tags: [data_development]
  2147. operationId: data_development_export_ontology_get
  2148. summary: "export ontology"
  2149. x-source: "app/api/data_development/routes.py"
  2150. parameters:
  2151. - name: ontology_uid
  2152. in: path
  2153. required: true
  2154. schema:
  2155. type: string
  2156. responses:
  2157. "200":
  2158. description: "请求已由当前实现处理"
  2159. content:
  2160. application/json:
  2161. schema:
  2162. $ref: '#/components/schemas/ApiEnvelope'
  2163. default:
  2164. description: "错误响应"
  2165. content:
  2166. application/json:
  2167. schema:
  2168. $ref: '#/components/schemas/ApiEnvelope'
  2169. "/api/development/v1/ontologies/{ontology_uid}/graph":
  2170. get:
  2171. tags: [data_development]
  2172. operationId: data_development_get_ontology_graph_get
  2173. summary: "get ontology graph"
  2174. x-source: "app/api/data_development/routes.py"
  2175. parameters:
  2176. - name: ontology_uid
  2177. in: path
  2178. required: true
  2179. schema:
  2180. type: string
  2181. responses:
  2182. "200":
  2183. description: "请求已由当前实现处理"
  2184. content:
  2185. application/json:
  2186. schema:
  2187. $ref: '#/components/schemas/ApiEnvelope'
  2188. default:
  2189. description: "错误响应"
  2190. content:
  2191. application/json:
  2192. schema:
  2193. $ref: '#/components/schemas/ApiEnvelope'
  2194. patch:
  2195. tags: [data_development]
  2196. operationId: data_development_save_ontology_graph_patch
  2197. summary: "save ontology graph"
  2198. x-source: "app/api/data_development/routes.py"
  2199. parameters:
  2200. - name: ontology_uid
  2201. in: path
  2202. required: true
  2203. schema:
  2204. type: string
  2205. requestBody:
  2206. required: false
  2207. content:
  2208. application/json:
  2209. schema:
  2210. type: object
  2211. additionalProperties: true
  2212. responses:
  2213. "200":
  2214. description: "请求已由当前实现处理"
  2215. content:
  2216. application/json:
  2217. schema:
  2218. $ref: '#/components/schemas/ApiEnvelope'
  2219. default:
  2220. description: "错误响应"
  2221. content:
  2222. application/json:
  2223. schema:
  2224. $ref: '#/components/schemas/ApiEnvelope'
  2225. "/api/development/v1/ontologies/{ontology_uid}/publish":
  2226. post:
  2227. tags: [data_development]
  2228. operationId: data_development_publish_ontology_post
  2229. summary: "publish ontology"
  2230. x-source: "app/api/data_development/routes.py"
  2231. parameters:
  2232. - name: ontology_uid
  2233. in: path
  2234. required: true
  2235. schema:
  2236. type: string
  2237. requestBody:
  2238. required: false
  2239. content:
  2240. application/json:
  2241. schema:
  2242. type: object
  2243. additionalProperties: true
  2244. responses:
  2245. "200":
  2246. description: "请求已由当前实现处理"
  2247. content:
  2248. application/json:
  2249. schema:
  2250. $ref: '#/components/schemas/ApiEnvelope'
  2251. default:
  2252. description: "错误响应"
  2253. content:
  2254. application/json:
  2255. schema:
  2256. $ref: '#/components/schemas/ApiEnvelope'
  2257. "/api/development/v1/ontologies/{ontology_uid}/rollback":
  2258. post:
  2259. tags: [data_development]
  2260. operationId: data_development_rollback_ontology_post
  2261. summary: "rollback ontology"
  2262. x-source: "app/api/data_development/routes.py"
  2263. parameters:
  2264. - name: ontology_uid
  2265. in: path
  2266. required: true
  2267. schema:
  2268. type: string
  2269. requestBody:
  2270. required: false
  2271. content:
  2272. application/json:
  2273. schema:
  2274. type: object
  2275. additionalProperties: true
  2276. responses:
  2277. "200":
  2278. description: "请求已由当前实现处理"
  2279. content:
  2280. application/json:
  2281. schema:
  2282. $ref: '#/components/schemas/ApiEnvelope'
  2283. default:
  2284. description: "错误响应"
  2285. content:
  2286. application/json:
  2287. schema:
  2288. $ref: '#/components/schemas/ApiEnvelope'
  2289. "/api/development/v1/ontologies/{ontology_uid}/suggestions":
  2290. post:
  2291. tags: [data_development]
  2292. operationId: data_development_generate_ontology_suggestions_post
  2293. summary: "generate ontology suggestions"
  2294. x-source: "app/api/data_development/routes.py"
  2295. parameters:
  2296. - name: ontology_uid
  2297. in: path
  2298. required: true
  2299. schema:
  2300. type: string
  2301. requestBody:
  2302. required: false
  2303. content:
  2304. application/json:
  2305. schema:
  2306. type: object
  2307. additionalProperties: true
  2308. responses:
  2309. "200":
  2310. description: "请求已由当前实现处理"
  2311. content:
  2312. application/json:
  2313. schema:
  2314. $ref: '#/components/schemas/ApiEnvelope'
  2315. default:
  2316. description: "错误响应"
  2317. content:
  2318. application/json:
  2319. schema:
  2320. $ref: '#/components/schemas/ApiEnvelope'
  2321. "/api/development/v1/ontologies/{ontology_uid}/validate":
  2322. post:
  2323. tags: [data_development]
  2324. operationId: data_development_validate_ontology_post
  2325. summary: "validate ontology"
  2326. x-source: "app/api/data_development/routes.py"
  2327. parameters:
  2328. - name: ontology_uid
  2329. in: path
  2330. required: true
  2331. schema:
  2332. type: string
  2333. requestBody:
  2334. required: false
  2335. content:
  2336. application/json:
  2337. schema:
  2338. type: object
  2339. additionalProperties: true
  2340. responses:
  2341. "200":
  2342. description: "请求已由当前实现处理"
  2343. content:
  2344. application/json:
  2345. schema:
  2346. $ref: '#/components/schemas/ApiEnvelope'
  2347. default:
  2348. description: "错误响应"
  2349. content:
  2350. application/json:
  2351. schema:
  2352. $ref: '#/components/schemas/ApiEnvelope'
  2353. "/api/development/v1/ontologies/{ontology_uid}/versions":
  2354. get:
  2355. tags: [data_development]
  2356. operationId: data_development_list_ontology_versions_get
  2357. summary: "list ontology versions"
  2358. x-source: "app/api/data_development/routes.py"
  2359. parameters:
  2360. - name: ontology_uid
  2361. in: path
  2362. required: true
  2363. schema:
  2364. type: string
  2365. responses:
  2366. "200":
  2367. description: "请求已由当前实现处理"
  2368. content:
  2369. application/json:
  2370. schema:
  2371. $ref: '#/components/schemas/ApiEnvelope'
  2372. default:
  2373. description: "错误响应"
  2374. content:
  2375. application/json:
  2376. schema:
  2377. $ref: '#/components/schemas/ApiEnvelope'
  2378. "/api/development/v1/semantic/properties/{property_uid}":
  2379. get:
  2380. tags: [data_development]
  2381. operationId: data_development_query_semantic_property_get
  2382. summary: "query semantic property"
  2383. x-source: "app/api/data_development/routes.py"
  2384. parameters:
  2385. - name: property_uid
  2386. in: path
  2387. required: true
  2388. schema:
  2389. type: string
  2390. responses:
  2391. "200":
  2392. description: "请求已由当前实现处理"
  2393. content:
  2394. application/json:
  2395. schema:
  2396. $ref: '#/components/schemas/ApiEnvelope'
  2397. default:
  2398. description: "错误响应"
  2399. content:
  2400. application/json:
  2401. schema:
  2402. $ref: '#/components/schemas/ApiEnvelope'
  2403. "/api/development/v1/sources/files":
  2404. post:
  2405. tags: [data_development]
  2406. operationId: data_development_upload_source_file_post
  2407. summary: "upload source file"
  2408. x-source: "app/api/data_development/routes.py"
  2409. requestBody:
  2410. required: false
  2411. content:
  2412. application/json:
  2413. schema:
  2414. type: object
  2415. additionalProperties: true
  2416. responses:
  2417. "200":
  2418. description: "请求已由当前实现处理"
  2419. content:
  2420. application/json:
  2421. schema:
  2422. $ref: '#/components/schemas/ApiEnvelope'
  2423. default:
  2424. description: "错误响应"
  2425. content:
  2426. application/json:
  2427. schema:
  2428. $ref: '#/components/schemas/ApiEnvelope'
  2429. "/api/graph/node/create":
  2430. post:
  2431. tags: [graph]
  2432. operationId: graph_create_node_post
  2433. summary: "创建新节点"
  2434. x-source: "app/api/graph/routes.py"
  2435. requestBody:
  2436. required: false
  2437. content:
  2438. application/json:
  2439. schema:
  2440. type: object
  2441. additionalProperties: true
  2442. responses:
  2443. "200":
  2444. description: "请求已由当前实现处理"
  2445. content:
  2446. application/json:
  2447. schema:
  2448. $ref: '#/components/schemas/ApiEnvelope'
  2449. default:
  2450. description: "错误响应"
  2451. content:
  2452. application/json:
  2453. schema:
  2454. $ref: '#/components/schemas/ApiEnvelope'
  2455. "/api/graph/query":
  2456. post:
  2457. tags: [graph]
  2458. operationId: graph_query_graph_post
  2459. summary: "执行自定义Cypher查询"
  2460. x-source: "app/api/graph/routes.py"
  2461. requestBody:
  2462. required: false
  2463. content:
  2464. application/json:
  2465. schema:
  2466. type: object
  2467. additionalProperties: true
  2468. responses:
  2469. "200":
  2470. description: "请求已由当前实现处理"
  2471. content:
  2472. application/json:
  2473. schema:
  2474. $ref: '#/components/schemas/ApiEnvelope'
  2475. default:
  2476. description: "错误响应"
  2477. content:
  2478. application/json:
  2479. schema:
  2480. $ref: '#/components/schemas/ApiEnvelope'
  2481. "/api/graph/relationship/create":
  2482. post:
  2483. tags: [graph]
  2484. operationId: graph_create_rel_post
  2485. summary: "创建节点间的关系"
  2486. x-source: "app/api/graph/routes.py"
  2487. requestBody:
  2488. required: false
  2489. content:
  2490. application/json:
  2491. schema:
  2492. type: object
  2493. additionalProperties: true
  2494. responses:
  2495. "200":
  2496. description: "请求已由当前实现处理"
  2497. content:
  2498. application/json:
  2499. schema:
  2500. $ref: '#/components/schemas/ApiEnvelope'
  2501. default:
  2502. description: "错误响应"
  2503. content:
  2504. application/json:
  2505. schema:
  2506. $ref: '#/components/schemas/ApiEnvelope'
  2507. "/api/graph/subgraph":
  2508. post:
  2509. tags: [graph]
  2510. operationId: graph_get_graph_data_post
  2511. summary: "获取子图数据"
  2512. x-source: "app/api/graph/routes.py"
  2513. requestBody:
  2514. required: false
  2515. content:
  2516. application/json:
  2517. schema:
  2518. type: object
  2519. additionalProperties: true
  2520. responses:
  2521. "200":
  2522. description: "请求已由当前实现处理"
  2523. content:
  2524. application/json:
  2525. schema:
  2526. $ref: '#/components/schemas/ApiEnvelope'
  2527. default:
  2528. description: "错误响应"
  2529. content:
  2530. application/json:
  2531. schema:
  2532. $ref: '#/components/schemas/ApiEnvelope'
  2533. "/api/interface/data/label/add":
  2534. post:
  2535. tags: [data_interface]
  2536. operationId: data_interface_data_label_add_post
  2537. summary: "data label add"
  2538. x-source: "app/api/data_interface/routes.py"
  2539. requestBody:
  2540. required: false
  2541. content:
  2542. application/json:
  2543. schema:
  2544. type: object
  2545. additionalProperties: true
  2546. responses:
  2547. "200":
  2548. description: "请求已由当前实现处理"
  2549. content:
  2550. application/json:
  2551. schema:
  2552. $ref: '#/components/schemas/ApiEnvelope'
  2553. default:
  2554. description: "错误响应"
  2555. content:
  2556. application/json:
  2557. schema:
  2558. $ref: '#/components/schemas/ApiEnvelope'
  2559. "/api/interface/data/label/delete":
  2560. post:
  2561. tags: [data_interface]
  2562. operationId: data_interface_data_label_delete_post
  2563. summary: "Delete data label node"
  2564. x-source: "app/api/data_interface/routes.py"
  2565. requestBody:
  2566. required: false
  2567. content:
  2568. application/json:
  2569. schema:
  2570. type: object
  2571. additionalProperties: true
  2572. responses:
  2573. "200":
  2574. description: "请求已由当前实现处理"
  2575. content:
  2576. application/json:
  2577. schema:
  2578. $ref: '#/components/schemas/ApiEnvelope'
  2579. default:
  2580. description: "错误响应"
  2581. content:
  2582. application/json:
  2583. schema:
  2584. $ref: '#/components/schemas/ApiEnvelope'
  2585. "/api/interface/data/label/detail":
  2586. post:
  2587. tags: [data_interface]
  2588. operationId: data_interface_data_label_detail_post
  2589. summary: "data label detail"
  2590. x-source: "app/api/data_interface/routes.py"
  2591. requestBody:
  2592. required: false
  2593. content:
  2594. application/json:
  2595. schema:
  2596. type: object
  2597. additionalProperties: true
  2598. responses:
  2599. "200":
  2600. description: "请求已由当前实现处理"
  2601. content:
  2602. application/json:
  2603. schema:
  2604. $ref: '#/components/schemas/ApiEnvelope'
  2605. default:
  2606. description: "错误响应"
  2607. content:
  2608. application/json:
  2609. schema:
  2610. $ref: '#/components/schemas/ApiEnvelope'
  2611. "/api/interface/data/label/dynamic/identify":
  2612. post:
  2613. tags: [data_interface]
  2614. operationId: data_interface_data_label_dynamic_identify_post
  2615. summary: "data label dynamic identify"
  2616. x-source: "app/api/data_interface/routes.py"
  2617. requestBody:
  2618. required: false
  2619. content:
  2620. application/json:
  2621. schema:
  2622. type: object
  2623. additionalProperties: true
  2624. responses:
  2625. "200":
  2626. description: "请求已由当前实现处理"
  2627. content:
  2628. application/json:
  2629. schema:
  2630. $ref: '#/components/schemas/ApiEnvelope'
  2631. default:
  2632. description: "错误响应"
  2633. content:
  2634. application/json:
  2635. schema:
  2636. $ref: '#/components/schemas/ApiEnvelope'
  2637. "/api/interface/data/label/graph/all":
  2638. post:
  2639. tags: [data_interface]
  2640. operationId: data_interface_data_label_graph_post
  2641. summary: "data label graph"
  2642. x-source: "app/api/data_interface/routes.py"
  2643. requestBody:
  2644. required: false
  2645. content:
  2646. application/json:
  2647. schema:
  2648. type: object
  2649. additionalProperties: true
  2650. responses:
  2651. "200":
  2652. description: "请求已由当前实现处理"
  2653. content:
  2654. application/json:
  2655. schema:
  2656. $ref: '#/components/schemas/ApiEnvelope'
  2657. default:
  2658. description: "错误响应"
  2659. content:
  2660. application/json:
  2661. schema:
  2662. $ref: '#/components/schemas/ApiEnvelope'
  2663. "/api/interface/data/label/list":
  2664. post:
  2665. tags: [data_interface]
  2666. operationId: data_interface_data_label_list_post
  2667. summary: "data label list"
  2668. x-source: "app/api/data_interface/routes.py"
  2669. requestBody:
  2670. required: false
  2671. content:
  2672. application/json:
  2673. schema:
  2674. type: object
  2675. additionalProperties: true
  2676. responses:
  2677. "200":
  2678. description: "请求已由当前实现处理"
  2679. content:
  2680. application/json:
  2681. schema:
  2682. $ref: '#/components/schemas/ApiEnvelope'
  2683. default:
  2684. description: "错误响应"
  2685. content:
  2686. application/json:
  2687. schema:
  2688. $ref: '#/components/schemas/ApiEnvelope'
  2689. "/api/interface/data/standard/add":
  2690. post:
  2691. tags: [data_interface]
  2692. operationId: data_interface_data_standard_add_post
  2693. summary: "data standard add"
  2694. x-source: "app/api/data_interface/routes.py"
  2695. requestBody:
  2696. required: false
  2697. content:
  2698. application/json:
  2699. schema:
  2700. type: object
  2701. additionalProperties: true
  2702. responses:
  2703. "200":
  2704. description: "请求已由当前实现处理"
  2705. content:
  2706. application/json:
  2707. schema:
  2708. $ref: '#/components/schemas/ApiEnvelope'
  2709. default:
  2710. description: "错误响应"
  2711. content:
  2712. application/json:
  2713. schema:
  2714. $ref: '#/components/schemas/ApiEnvelope'
  2715. "/api/interface/data/standard/code":
  2716. post:
  2717. tags: [data_interface]
  2718. operationId: data_interface_data_standard_code_post
  2719. summary: "data standard code"
  2720. x-source: "app/api/data_interface/routes.py"
  2721. requestBody:
  2722. required: false
  2723. content:
  2724. application/json:
  2725. schema:
  2726. type: object
  2727. additionalProperties: true
  2728. responses:
  2729. "200":
  2730. description: "请求已由当前实现处理"
  2731. content:
  2732. application/json:
  2733. schema:
  2734. $ref: '#/components/schemas/ApiEnvelope'
  2735. default:
  2736. description: "错误响应"
  2737. content:
  2738. application/json:
  2739. schema:
  2740. $ref: '#/components/schemas/ApiEnvelope'
  2741. "/api/interface/data/standard/detail":
  2742. post:
  2743. tags: [data_interface]
  2744. operationId: data_interface_data_standard_detail_post
  2745. summary: "data standard detail"
  2746. x-source: "app/api/data_interface/routes.py"
  2747. requestBody:
  2748. required: false
  2749. content:
  2750. application/json:
  2751. schema:
  2752. type: object
  2753. additionalProperties: true
  2754. responses:
  2755. "200":
  2756. description: "请求已由当前实现处理"
  2757. content:
  2758. application/json:
  2759. schema:
  2760. $ref: '#/components/schemas/ApiEnvelope'
  2761. default:
  2762. description: "错误响应"
  2763. content:
  2764. application/json:
  2765. schema:
  2766. $ref: '#/components/schemas/ApiEnvelope'
  2767. "/api/interface/data/standard/graph/all":
  2768. post:
  2769. tags: [data_interface]
  2770. operationId: data_interface_data_standard_graph_all_post
  2771. summary: "data standard graph all"
  2772. x-source: "app/api/data_interface/routes.py"
  2773. requestBody:
  2774. required: false
  2775. content:
  2776. application/json:
  2777. schema:
  2778. type: object
  2779. additionalProperties: true
  2780. responses:
  2781. "200":
  2782. description: "请求已由当前实现处理"
  2783. content:
  2784. application/json:
  2785. schema:
  2786. $ref: '#/components/schemas/ApiEnvelope'
  2787. default:
  2788. description: "错误响应"
  2789. content:
  2790. application/json:
  2791. schema:
  2792. $ref: '#/components/schemas/ApiEnvelope'
  2793. "/api/interface/data/standard/list":
  2794. post:
  2795. tags: [data_interface]
  2796. operationId: data_interface_data_standard_list_post
  2797. summary: "data standard list"
  2798. x-source: "app/api/data_interface/routes.py"
  2799. requestBody:
  2800. required: false
  2801. content:
  2802. application/json:
  2803. schema:
  2804. type: object
  2805. additionalProperties: true
  2806. responses:
  2807. "200":
  2808. description: "请求已由当前实现处理"
  2809. content:
  2810. application/json:
  2811. schema:
  2812. $ref: '#/components/schemas/ApiEnvelope'
  2813. default:
  2814. description: "错误响应"
  2815. content:
  2816. application/json:
  2817. schema:
  2818. $ref: '#/components/schemas/ApiEnvelope'
  2819. "/api/interface/data/standard/update":
  2820. post:
  2821. tags: [data_interface]
  2822. operationId: data_interface_data_standard_update_post
  2823. summary: "data standard update"
  2824. x-source: "app/api/data_interface/routes.py"
  2825. requestBody:
  2826. required: false
  2827. content:
  2828. application/json:
  2829. schema:
  2830. type: object
  2831. additionalProperties: true
  2832. responses:
  2833. "200":
  2834. description: "请求已由当前实现处理"
  2835. content:
  2836. application/json:
  2837. schema:
  2838. $ref: '#/components/schemas/ApiEnvelope'
  2839. default:
  2840. description: "错误响应"
  2841. content:
  2842. application/json:
  2843. schema:
  2844. $ref: '#/components/schemas/ApiEnvelope'
  2845. "/api/interface/graphall":
  2846. post:
  2847. tags: [data_interface]
  2848. operationId: data_interface_interface_graph_all_post
  2849. summary: "获取完整关系图谱"
  2850. x-source: "app/api/data_interface/routes.py"
  2851. requestBody:
  2852. required: false
  2853. content:
  2854. application/json:
  2855. schema:
  2856. type: object
  2857. additionalProperties: true
  2858. responses:
  2859. "200":
  2860. description: "请求已由当前实现处理"
  2861. content:
  2862. application/json:
  2863. schema:
  2864. $ref: '#/components/schemas/ApiEnvelope'
  2865. default:
  2866. description: "错误响应"
  2867. content:
  2868. application/json:
  2869. schema:
  2870. $ref: '#/components/schemas/ApiEnvelope'
  2871. "/api/interface/labellist":
  2872. post:
  2873. tags: [data_interface]
  2874. operationId: data_interface_interface_label_list_post
  2875. summary: "获取 DataLabel 列表(支持多条件 category_filter 过滤)"
  2876. x-source: "app/api/data_interface/routes.py"
  2877. requestBody:
  2878. required: false
  2879. content:
  2880. application/json:
  2881. schema:
  2882. type: object
  2883. additionalProperties: true
  2884. responses:
  2885. "200":
  2886. description: "请求已由当前实现处理"
  2887. content:
  2888. application/json:
  2889. schema:
  2890. $ref: '#/components/schemas/ApiEnvelope'
  2891. default:
  2892. description: "错误响应"
  2893. content:
  2894. application/json:
  2895. schema:
  2896. $ref: '#/components/schemas/ApiEnvelope'
  2897. "/api/interface/metric/label/standard/delete":
  2898. post:
  2899. tags: [data_interface]
  2900. operationId: data_interface_metric_label_standard_delete_post
  2901. summary: "metric label standard delete"
  2902. x-source: "app/api/data_interface/routes.py"
  2903. requestBody:
  2904. required: false
  2905. content:
  2906. application/json:
  2907. schema:
  2908. type: object
  2909. additionalProperties: true
  2910. responses:
  2911. "200":
  2912. description: "请求已由当前实现处理"
  2913. content:
  2914. application/json:
  2915. schema:
  2916. $ref: '#/components/schemas/ApiEnvelope'
  2917. default:
  2918. description: "错误响应"
  2919. content:
  2920. application/json:
  2921. schema:
  2922. $ref: '#/components/schemas/ApiEnvelope'
  2923. "/api/meta/check":
  2924. get:
  2925. tags: [meta_data]
  2926. operationId: meta_data_meta_check_get
  2927. summary: "检查元数据中文名是否已存在"
  2928. x-source: "app/api/meta_data/routes.py"
  2929. responses:
  2930. "200":
  2931. description: "请求已由当前实现处理"
  2932. content:
  2933. application/json:
  2934. schema:
  2935. $ref: '#/components/schemas/ApiEnvelope'
  2936. default:
  2937. description: "错误响应"
  2938. content:
  2939. application/json:
  2940. schema:
  2941. $ref: '#/components/schemas/ApiEnvelope'
  2942. "/api/meta/config":
  2943. get:
  2944. tags: [meta_data]
  2945. operationId: meta_data_get_meta_config_get
  2946. summary: "获取元数据配置信息"
  2947. x-source: "app/api/meta_data/routes.py"
  2948. responses:
  2949. "200":
  2950. description: "请求已由当前实现处理"
  2951. content:
  2952. application/json:
  2953. schema:
  2954. $ref: '#/components/schemas/ApiEnvelope'
  2955. default:
  2956. description: "错误响应"
  2957. content:
  2958. application/json:
  2959. schema:
  2960. $ref: '#/components/schemas/ApiEnvelope'
  2961. "/api/meta/full/text/query":
  2962. post:
  2963. tags: [meta_data]
  2964. operationId: meta_data_full_text_query_post
  2965. summary: "full text query"
  2966. x-source: "app/api/meta_data/routes.py"
  2967. requestBody:
  2968. required: false
  2969. content:
  2970. application/json:
  2971. schema:
  2972. type: object
  2973. additionalProperties: true
  2974. responses:
  2975. "200":
  2976. description: "请求已由当前实现处理"
  2977. content:
  2978. application/json:
  2979. schema:
  2980. $ref: '#/components/schemas/ApiEnvelope'
  2981. default:
  2982. description: "错误响应"
  2983. content:
  2984. application/json:
  2985. schema:
  2986. $ref: '#/components/schemas/ApiEnvelope'
  2987. "/api/meta/node/add":
  2988. post:
  2989. tags: [meta_data]
  2990. operationId: meta_data_meta_node_add_post
  2991. summary: "新增元数据节点"
  2992. x-source: "app/api/meta_data/routes.py"
  2993. requestBody:
  2994. required: false
  2995. content:
  2996. application/json:
  2997. schema:
  2998. type: object
  2999. additionalProperties: true
  3000. responses:
  3001. "200":
  3002. description: "请求已由当前实现处理"
  3003. content:
  3004. application/json:
  3005. schema:
  3006. $ref: '#/components/schemas/ApiEnvelope'
  3007. default:
  3008. description: "错误响应"
  3009. content:
  3010. application/json:
  3011. schema:
  3012. $ref: '#/components/schemas/ApiEnvelope'
  3013. "/api/meta/node/delete":
  3014. post:
  3015. tags: [meta_data]
  3016. operationId: meta_data_meta_node_delete_post
  3017. summary: "meta node delete"
  3018. x-source: "app/api/meta_data/routes.py"
  3019. requestBody:
  3020. required: false
  3021. content:
  3022. application/json:
  3023. schema:
  3024. type: object
  3025. additionalProperties: true
  3026. responses:
  3027. "200":
  3028. description: "请求已由当前实现处理"
  3029. content:
  3030. application/json:
  3031. schema:
  3032. $ref: '#/components/schemas/ApiEnvelope'
  3033. default:
  3034. description: "错误响应"
  3035. content:
  3036. application/json:
  3037. schema:
  3038. $ref: '#/components/schemas/ApiEnvelope'
  3039. "/api/meta/node/edit":
  3040. post:
  3041. tags: [meta_data]
  3042. operationId: meta_data_meta_node_edit_post
  3043. summary: "meta node edit"
  3044. x-source: "app/api/meta_data/routes.py"
  3045. requestBody:
  3046. required: false
  3047. content:
  3048. application/json:
  3049. schema:
  3050. type: object
  3051. additionalProperties: true
  3052. responses:
  3053. "200":
  3054. description: "请求已由当前实现处理"
  3055. content:
  3056. application/json:
  3057. schema:
  3058. $ref: '#/components/schemas/ApiEnvelope'
  3059. default:
  3060. description: "错误响应"
  3061. content:
  3062. application/json:
  3063. schema:
  3064. $ref: '#/components/schemas/ApiEnvelope'
  3065. "/api/meta/node/graph":
  3066. post:
  3067. tags: [meta_data]
  3068. operationId: meta_data_meta_node_graph_post
  3069. summary: "meta node graph"
  3070. x-source: "app/api/meta_data/routes.py"
  3071. requestBody:
  3072. required: false
  3073. content:
  3074. application/json:
  3075. schema:
  3076. type: object
  3077. additionalProperties: true
  3078. responses:
  3079. "200":
  3080. description: "请求已由当前实现处理"
  3081. content:
  3082. application/json:
  3083. schema:
  3084. $ref: '#/components/schemas/ApiEnvelope'
  3085. default:
  3086. description: "错误响应"
  3087. content:
  3088. application/json:
  3089. schema:
  3090. $ref: '#/components/schemas/ApiEnvelope'
  3091. "/api/meta/node/list":
  3092. post:
  3093. tags: [meta_data]
  3094. operationId: meta_data_meta_node_list_post
  3095. summary: "meta node list"
  3096. x-source: "app/api/meta_data/routes.py"
  3097. requestBody:
  3098. required: false
  3099. content:
  3100. application/json:
  3101. schema:
  3102. type: object
  3103. additionalProperties: true
  3104. responses:
  3105. "200":
  3106. description: "请求已由当前实现处理"
  3107. content:
  3108. application/json:
  3109. schema:
  3110. $ref: '#/components/schemas/ApiEnvelope'
  3111. default:
  3112. description: "错误响应"
  3113. content:
  3114. application/json:
  3115. schema:
  3116. $ref: '#/components/schemas/ApiEnvelope'
  3117. "/api/meta/node/update":
  3118. post:
  3119. tags: [meta_data]
  3120. operationId: meta_data_meta_node_update_post
  3121. summary: "更新元数据节点"
  3122. x-source: "app/api/meta_data/routes.py"
  3123. requestBody:
  3124. required: false
  3125. content:
  3126. application/json:
  3127. schema:
  3128. type: object
  3129. additionalProperties: true
  3130. responses:
  3131. "200":
  3132. description: "请求已由当前实现处理"
  3133. content:
  3134. application/json:
  3135. schema:
  3136. $ref: '#/components/schemas/ApiEnvelope'
  3137. default:
  3138. description: "错误响应"
  3139. content:
  3140. application/json:
  3141. schema:
  3142. $ref: '#/components/schemas/ApiEnvelope'
  3143. "/api/meta/resource/display":
  3144. post:
  3145. tags: [meta_data]
  3146. operationId: meta_data_upload_file_display_post
  3147. summary: "upload file display"
  3148. x-source: "app/api/meta_data/routes.py"
  3149. requestBody:
  3150. required: false
  3151. content:
  3152. application/json:
  3153. schema:
  3154. type: object
  3155. additionalProperties: true
  3156. responses:
  3157. "200":
  3158. description: "请求已由当前实现处理"
  3159. content:
  3160. application/json:
  3161. schema:
  3162. $ref: '#/components/schemas/ApiEnvelope'
  3163. default:
  3164. description: "错误响应"
  3165. content:
  3166. application/json:
  3167. schema:
  3168. $ref: '#/components/schemas/ApiEnvelope'
  3169. "/api/meta/resource/download":
  3170. get:
  3171. tags: [meta_data]
  3172. operationId: meta_data_download_file_get
  3173. summary: "download file"
  3174. x-source: "app/api/meta_data/routes.py"
  3175. responses:
  3176. "200":
  3177. description: "请求已由当前实现处理"
  3178. content:
  3179. application/json:
  3180. schema:
  3181. $ref: '#/components/schemas/ApiEnvelope'
  3182. default:
  3183. description: "错误响应"
  3184. content:
  3185. application/json:
  3186. schema:
  3187. $ref: '#/components/schemas/ApiEnvelope'
  3188. "/api/meta/resource/node":
  3189. post:
  3190. tags: [meta_data]
  3191. operationId: meta_data_text_resource_node_post
  3192. summary: "text resource node"
  3193. x-source: "app/api/meta_data/routes.py"
  3194. requestBody:
  3195. required: false
  3196. content:
  3197. application/json:
  3198. schema:
  3199. type: object
  3200. additionalProperties: true
  3201. responses:
  3202. "200":
  3203. description: "请求已由当前实现处理"
  3204. content:
  3205. application/json:
  3206. schema:
  3207. $ref: '#/components/schemas/ApiEnvelope'
  3208. default:
  3209. description: "错误响应"
  3210. content:
  3211. application/json:
  3212. schema:
  3213. $ref: '#/components/schemas/ApiEnvelope'
  3214. "/api/meta/resource/translate":
  3215. post:
  3216. tags: [meta_data]
  3217. operationId: meta_data_text_resource_translate_post
  3218. summary: "text resource translate"
  3219. x-source: "app/api/meta_data/routes.py"
  3220. requestBody:
  3221. required: false
  3222. content:
  3223. application/json:
  3224. schema:
  3225. type: object
  3226. additionalProperties: true
  3227. responses:
  3228. "200":
  3229. description: "请求已由当前实现处理"
  3230. content:
  3231. application/json:
  3232. schema:
  3233. $ref: '#/components/schemas/ApiEnvelope'
  3234. default:
  3235. description: "错误响应"
  3236. content:
  3237. application/json:
  3238. schema:
  3239. $ref: '#/components/schemas/ApiEnvelope'
  3240. "/api/meta/resource/upload":
  3241. post:
  3242. tags: [meta_data]
  3243. operationId: meta_data_upload_file_post
  3244. summary: "upload file"
  3245. x-source: "app/api/meta_data/routes.py"
  3246. requestBody:
  3247. required: false
  3248. content:
  3249. application/json:
  3250. schema:
  3251. type: object
  3252. additionalProperties: true
  3253. responses:
  3254. "200":
  3255. description: "请求已由当前实现处理"
  3256. content:
  3257. application/json:
  3258. schema:
  3259. $ref: '#/components/schemas/ApiEnvelope'
  3260. default:
  3261. description: "错误响应"
  3262. content:
  3263. application/json:
  3264. schema:
  3265. $ref: '#/components/schemas/ApiEnvelope'
  3266. "/api/meta/review/create":
  3267. post:
  3268. tags: [meta_data]
  3269. operationId: meta_data_metadata_review_create_post
  3270. summary: "创建元数据审核记录"
  3271. x-source: "app/api/meta_data/routes.py"
  3272. requestBody:
  3273. required: false
  3274. content:
  3275. application/json:
  3276. schema:
  3277. type: object
  3278. additionalProperties: true
  3279. responses:
  3280. "200":
  3281. description: "请求已由当前实现处理"
  3282. content:
  3283. application/json:
  3284. schema:
  3285. $ref: '#/components/schemas/ApiEnvelope'
  3286. default:
  3287. description: "错误响应"
  3288. content:
  3289. application/json:
  3290. schema:
  3291. $ref: '#/components/schemas/ApiEnvelope'
  3292. "/api/meta/review/detail":
  3293. get:
  3294. tags: [meta_data]
  3295. operationId: meta_data_metadata_review_detail_get
  3296. summary: "审核记录详情"
  3297. x-source: "app/api/meta_data/routes.py"
  3298. responses:
  3299. "200":
  3300. description: "请求已由当前实现处理"
  3301. content:
  3302. application/json:
  3303. schema:
  3304. $ref: '#/components/schemas/ApiEnvelope'
  3305. default:
  3306. description: "错误响应"
  3307. content:
  3308. application/json:
  3309. schema:
  3310. $ref: '#/components/schemas/ApiEnvelope'
  3311. "/api/meta/review/list":
  3312. post:
  3313. tags: [meta_data]
  3314. operationId: meta_data_metadata_review_list_post
  3315. summary: "审核记录列表:疑似冗余/变动"
  3316. x-source: "app/api/meta_data/routes.py"
  3317. requestBody:
  3318. required: false
  3319. content:
  3320. application/json:
  3321. schema:
  3322. type: object
  3323. additionalProperties: true
  3324. responses:
  3325. "200":
  3326. description: "请求已由当前实现处理"
  3327. content:
  3328. application/json:
  3329. schema:
  3330. $ref: '#/components/schemas/ApiEnvelope'
  3331. default:
  3332. description: "错误响应"
  3333. content:
  3334. application/json:
  3335. schema:
  3336. $ref: '#/components/schemas/ApiEnvelope'
  3337. "/api/meta/review/resolve":
  3338. post:
  3339. tags: [meta_data]
  3340. operationId: meta_data_metadata_review_resolve_post
  3341. summary: "处理审核记录"
  3342. x-source: "app/api/meta_data/routes.py"
  3343. requestBody:
  3344. required: false
  3345. content:
  3346. application/json:
  3347. schema:
  3348. type: object
  3349. additionalProperties: true
  3350. responses:
  3351. "200":
  3352. description: "请求已由当前实现处理"
  3353. content:
  3354. application/json:
  3355. schema:
  3356. $ref: '#/components/schemas/ApiEnvelope'
  3357. default:
  3358. description: "错误响应"
  3359. content:
  3360. application/json:
  3361. schema:
  3362. $ref: '#/components/schemas/ApiEnvelope'
  3363. "/api/meta/search":
  3364. get:
  3365. tags: [meta_data]
  3366. operationId: meta_data_search_metadata_route_get
  3367. summary: "search metadata route"
  3368. x-source: "app/api/meta_data/routes.py"
  3369. responses:
  3370. "200":
  3371. description: "请求已由当前实现处理"
  3372. content:
  3373. application/json:
  3374. schema:
  3375. $ref: '#/components/schemas/ApiEnvelope'
  3376. default:
  3377. description: "错误响应"
  3378. content:
  3379. application/json:
  3380. schema:
  3381. $ref: '#/components/schemas/ApiEnvelope'
  3382. "/api/meta/text/graph":
  3383. post:
  3384. tags: [meta_data]
  3385. operationId: meta_data_create_text_graph_post
  3386. summary: "create text graph"
  3387. x-source: "app/api/meta_data/routes.py"
  3388. requestBody:
  3389. required: false
  3390. content:
  3391. application/json:
  3392. schema:
  3393. type: object
  3394. additionalProperties: true
  3395. responses:
  3396. "200":
  3397. description: "请求已由当前实现处理"
  3398. content:
  3399. application/json:
  3400. schema:
  3401. $ref: '#/components/schemas/ApiEnvelope'
  3402. default:
  3403. description: "错误响应"
  3404. content:
  3405. application/json:
  3406. schema:
  3407. $ref: '#/components/schemas/ApiEnvelope'
  3408. "/api/meta/unstructure/text/query":
  3409. post:
  3410. tags: [meta_data]
  3411. operationId: meta_data_unstructure_text_query_post
  3412. summary: "unstructure text query"
  3413. x-source: "app/api/meta_data/routes.py"
  3414. requestBody:
  3415. required: false
  3416. content:
  3417. application/json:
  3418. schema:
  3419. type: object
  3420. additionalProperties: true
  3421. responses:
  3422. "200":
  3423. description: "请求已由当前实现处理"
  3424. content:
  3425. application/json:
  3426. schema:
  3427. $ref: '#/components/schemas/ApiEnvelope'
  3428. default:
  3429. description: "错误响应"
  3430. content:
  3431. application/json:
  3432. schema:
  3433. $ref: '#/components/schemas/ApiEnvelope'
  3434. "/api/meta/unstructured/process":
  3435. post:
  3436. tags: [meta_data]
  3437. operationId: meta_data_processing_unstructured_data_post
  3438. summary: "processing unstructured data"
  3439. x-source: "app/api/meta_data/routes.py"
  3440. requestBody:
  3441. required: false
  3442. content:
  3443. application/json:
  3444. schema:
  3445. type: object
  3446. additionalProperties: true
  3447. responses:
  3448. "200":
  3449. description: "请求已由当前实现处理"
  3450. content:
  3451. application/json:
  3452. schema:
  3453. $ref: '#/components/schemas/ApiEnvelope'
  3454. default:
  3455. description: "错误响应"
  3456. content:
  3457. application/json:
  3458. schema:
  3459. $ref: '#/components/schemas/ApiEnvelope'
  3460. "/api/system/auth/login":
  3461. post:
  3462. tags: [system]
  3463. operationId: system_user_login_post
  3464. summary: "用户登录"
  3465. x-source: "app/api/system/routes.py"
  3466. requestBody:
  3467. required: false
  3468. content:
  3469. application/json:
  3470. schema:
  3471. type: object
  3472. additionalProperties: true
  3473. responses:
  3474. "200":
  3475. description: "请求已由当前实现处理"
  3476. content:
  3477. application/json:
  3478. schema:
  3479. $ref: '#/components/schemas/ApiEnvelope'
  3480. default:
  3481. description: "错误响应"
  3482. content:
  3483. application/json:
  3484. schema:
  3485. $ref: '#/components/schemas/ApiEnvelope'
  3486. "/api/system/auth/me":
  3487. get:
  3488. tags: [system]
  3489. operationId: system_current_user_get
  3490. summary: "current user"
  3491. x-source: "app/api/system/routes.py"
  3492. responses:
  3493. "200":
  3494. description: "请求已由当前实现处理"
  3495. content:
  3496. application/json:
  3497. schema:
  3498. $ref: '#/components/schemas/ApiEnvelope'
  3499. default:
  3500. description: "错误响应"
  3501. content:
  3502. application/json:
  3503. schema:
  3504. $ref: '#/components/schemas/ApiEnvelope'
  3505. "/api/system/config":
  3506. get:
  3507. tags: [system]
  3508. operationId: system_system_config_get
  3509. summary: "获取系统配置信息"
  3510. x-source: "app/api/system/routes.py"
  3511. responses:
  3512. "200":
  3513. description: "请求已由当前实现处理"
  3514. content:
  3515. application/json:
  3516. schema:
  3517. $ref: '#/components/schemas/ApiEnvelope'
  3518. default:
  3519. description: "错误响应"
  3520. content:
  3521. application/json:
  3522. schema:
  3523. $ref: '#/components/schemas/ApiEnvelope'
  3524. "/api/system/config/validate":
  3525. get:
  3526. tags: [system]
  3527. operationId: system_config_validate_get
  3528. summary: "验证系统配置的有效性"
  3529. x-source: "app/api/system/routes.py"
  3530. responses:
  3531. "200":
  3532. description: "请求已由当前实现处理"
  3533. content:
  3534. application/json:
  3535. schema:
  3536. $ref: '#/components/schemas/ApiEnvelope'
  3537. default:
  3538. description: "错误响应"
  3539. content:
  3540. application/json:
  3541. schema:
  3542. $ref: '#/components/schemas/ApiEnvelope'
  3543. "/api/system/health":
  3544. get:
  3545. tags: [system]
  3546. operationId: system_health_check_get
  3547. summary: "系统健康状态检查"
  3548. x-source: "app/api/system/routes.py"
  3549. responses:
  3550. "200":
  3551. description: "请求已由当前实现处理"
  3552. content:
  3553. application/json:
  3554. schema:
  3555. $ref: '#/components/schemas/ApiEnvelope'
  3556. default:
  3557. description: "错误响应"
  3558. content:
  3559. application/json:
  3560. schema:
  3561. $ref: '#/components/schemas/ApiEnvelope'
  3562. "/api/system/info":
  3563. get:
  3564. tags: [system]
  3565. operationId: system_system_info_get
  3566. summary: "获取系统运行环境信息"
  3567. x-source: "app/api/system/routes.py"
  3568. responses:
  3569. "200":
  3570. description: "请求已由当前实现处理"
  3571. content:
  3572. application/json:
  3573. schema:
  3574. $ref: '#/components/schemas/ApiEnvelope'
  3575. default:
  3576. description: "错误响应"
  3577. content:
  3578. application/json:
  3579. schema:
  3580. $ref: '#/components/schemas/ApiEnvelope'
  3581. "/api/system/responsibilities/{resource_type}/{resource_uid}":
  3582. get:
  3583. tags: [system]
  3584. operationId: system_get_responsibility_matrix_get
  3585. summary: "get responsibility matrix"
  3586. x-source: "app/api/system/routes.py"
  3587. parameters:
  3588. - name: resource_type
  3589. in: path
  3590. required: true
  3591. schema:
  3592. type: string
  3593. - name: resource_uid
  3594. in: path
  3595. required: true
  3596. schema:
  3597. type: string
  3598. responses:
  3599. "200":
  3600. description: "请求已由当前实现处理"
  3601. content:
  3602. application/json:
  3603. schema:
  3604. $ref: '#/components/schemas/ApiEnvelope'
  3605. default:
  3606. description: "错误响应"
  3607. content:
  3608. application/json:
  3609. schema:
  3610. $ref: '#/components/schemas/ApiEnvelope'
  3611. put:
  3612. tags: [system]
  3613. operationId: system_replace_responsibility_matrix_put
  3614. summary: "replace responsibility matrix"
  3615. x-source: "app/api/system/routes.py"
  3616. parameters:
  3617. - name: resource_type
  3618. in: path
  3619. required: true
  3620. schema:
  3621. type: string
  3622. - name: resource_uid
  3623. in: path
  3624. required: true
  3625. schema:
  3626. type: string
  3627. requestBody:
  3628. required: false
  3629. content:
  3630. application/json:
  3631. schema:
  3632. type: object
  3633. additionalProperties: true
  3634. responses:
  3635. "200":
  3636. description: "请求已由当前实现处理"
  3637. content:
  3638. application/json:
  3639. schema:
  3640. $ref: '#/components/schemas/ApiEnvelope'
  3641. default:
  3642. description: "错误响应"
  3643. content:
  3644. application/json:
  3645. schema:
  3646. $ref: '#/components/schemas/ApiEnvelope'
  3647. "/api/system/translate":
  3648. post:
  3649. tags: [system]
  3650. operationId: system_translate_post
  3651. summary: "翻译节点名称"
  3652. x-source: "app/api/system/routes.py"
  3653. requestBody:
  3654. required: false
  3655. content:
  3656. application/json:
  3657. schema:
  3658. type: object
  3659. additionalProperties: true
  3660. responses:
  3661. "200":
  3662. description: "请求已由当前实现处理"
  3663. content:
  3664. application/json:
  3665. schema:
  3666. $ref: '#/components/schemas/ApiEnvelope'
  3667. default:
  3668. description: "错误响应"
  3669. content:
  3670. application/json:
  3671. schema:
  3672. $ref: '#/components/schemas/ApiEnvelope'
  3673. "/api/system/users":
  3674. get:
  3675. tags: [system]
  3676. operationId: system_list_users_get
  3677. summary: "list users"
  3678. x-source: "app/api/system/routes.py"
  3679. responses:
  3680. "200":
  3681. description: "请求已由当前实现处理"
  3682. content:
  3683. application/json:
  3684. schema:
  3685. $ref: '#/components/schemas/ApiEnvelope'
  3686. default:
  3687. description: "错误响应"
  3688. content:
  3689. application/json:
  3690. schema:
  3691. $ref: '#/components/schemas/ApiEnvelope'
  3692. post:
  3693. tags: [system]
  3694. operationId: system_create_user_post
  3695. summary: "create user"
  3696. x-source: "app/api/system/routes.py"
  3697. requestBody:
  3698. required: false
  3699. content:
  3700. application/json:
  3701. schema:
  3702. type: object
  3703. additionalProperties: true
  3704. responses:
  3705. "200":
  3706. description: "请求已由当前实现处理"
  3707. content:
  3708. application/json:
  3709. schema:
  3710. $ref: '#/components/schemas/ApiEnvelope'
  3711. default:
  3712. description: "错误响应"
  3713. content:
  3714. application/json:
  3715. schema:
  3716. $ref: '#/components/schemas/ApiEnvelope'
  3717. "/api/system/users/{user_id}":
  3718. put:
  3719. tags: [system]
  3720. operationId: system_update_user_put
  3721. summary: "update user"
  3722. x-source: "app/api/system/routes.py"
  3723. parameters:
  3724. - name: user_id
  3725. in: path
  3726. required: true
  3727. schema:
  3728. type: string
  3729. requestBody:
  3730. required: false
  3731. content:
  3732. application/json:
  3733. schema:
  3734. type: object
  3735. additionalProperties: true
  3736. responses:
  3737. "200":
  3738. description: "请求已由当前实现处理"
  3739. content:
  3740. application/json:
  3741. schema:
  3742. $ref: '#/components/schemas/ApiEnvelope'
  3743. default:
  3744. description: "错误响应"
  3745. content:
  3746. application/json:
  3747. schema:
  3748. $ref: '#/components/schemas/ApiEnvelope'
  3749. "/api/system/users/{user_id}/roles":
  3750. put:
  3751. tags: [system]
  3752. operationId: system_update_user_roles_put
  3753. summary: "update user roles"
  3754. x-source: "app/api/system/routes.py"
  3755. parameters:
  3756. - name: user_id
  3757. in: path
  3758. required: true
  3759. schema:
  3760. type: string
  3761. requestBody:
  3762. required: false
  3763. content:
  3764. application/json:
  3765. schema:
  3766. type: object
  3767. additionalProperties: true
  3768. responses:
  3769. "200":
  3770. description: "请求已由当前实现处理"
  3771. content:
  3772. application/json:
  3773. schema:
  3774. $ref: '#/components/schemas/ApiEnvelope'
  3775. default:
  3776. description: "错误响应"
  3777. content:
  3778. application/json:
  3779. schema:
  3780. $ref: '#/components/schemas/ApiEnvelope'
  3781. "/api/system/workbench/layout":
  3782. get:
  3783. tags: [system]
  3784. operationId: system_get_workbench_layout_get
  3785. summary: "get workbench layout"
  3786. x-source: "app/api/system/routes.py"
  3787. responses:
  3788. "200":
  3789. description: "请求已由当前实现处理"
  3790. content:
  3791. application/json:
  3792. schema:
  3793. $ref: '#/components/schemas/ApiEnvelope'
  3794. default:
  3795. description: "错误响应"
  3796. content:
  3797. application/json:
  3798. schema:
  3799. $ref: '#/components/schemas/ApiEnvelope'
  3800. put:
  3801. tags: [system]
  3802. operationId: system_put_workbench_layout_put
  3803. summary: "put workbench layout"
  3804. x-source: "app/api/system/routes.py"
  3805. requestBody:
  3806. required: false
  3807. content:
  3808. application/json:
  3809. schema:
  3810. type: object
  3811. additionalProperties: true
  3812. responses:
  3813. "200":
  3814. description: "请求已由当前实现处理"
  3815. content:
  3816. application/json:
  3817. schema:
  3818. $ref: '#/components/schemas/ApiEnvelope'
  3819. default:
  3820. description: "错误响应"
  3821. content:
  3822. application/json:
  3823. schema:
  3824. $ref: '#/components/schemas/ApiEnvelope'
  3825. "/api/system/workbench/registry":
  3826. get:
  3827. tags: [system]
  3828. operationId: system_workbench_registry_get
  3829. summary: "workbench registry"
  3830. x-source: "app/api/system/routes.py"
  3831. responses:
  3832. "200":
  3833. description: "请求已由当前实现处理"
  3834. content:
  3835. application/json:
  3836. schema:
  3837. $ref: '#/components/schemas/ApiEnvelope'
  3838. default:
  3839. description: "错误响应"
  3840. content:
  3841. application/json:
  3842. schema:
  3843. $ref: '#/components/schemas/ApiEnvelope'
  3844. components:
  3845. schemas:
  3846. ApiEnvelope:
  3847. type: object
  3848. additionalProperties: true
  3849. properties:
  3850. success:
  3851. type: boolean
  3852. code:
  3853. type: integer
  3854. message:
  3855. type: string
  3856. data: {}
  3857. timestamp:
  3858. type: integer
  3859. securitySchemes:
  3860. bearerAuth:
  3861. type: http
  3862. scheme: bearer
  3863. bearerFormat: JWT
  3864. description: "下一阶段统一认证方案;当前路由尚未全部接入。"