OPENAPI.yaml 133 KB

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