OPENAPI.yaml 103 KB

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