OPENAPI.yaml 117 KB

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