OPENAPI.yaml 107 KB

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