OPENAPI.yaml 112 KB

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