OPENAPI.yaml 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693
  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: 180
  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-quality/bootstrap":
  2077. post:
  2078. tags: [data_development]
  2079. operationId: data_development_bootstrap_device_quality_post
  2080. summary: "bootstrap device quality"
  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-quality/profile":
  2103. get:
  2104. tags: [data_development]
  2105. operationId: data_development_get_device_quality_profile_get
  2106. summary: "get device quality profile"
  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. "/api/development/v1/device-quality/profile/versions":
  2122. get:
  2123. tags: [data_development]
  2124. operationId: data_development_list_device_quality_versions_get
  2125. summary: "list device quality versions"
  2126. x-source: "app/api/data_development/routes.py"
  2127. responses:
  2128. "200":
  2129. description: "请求已由当前实现处理"
  2130. content:
  2131. application/json:
  2132. schema:
  2133. $ref: '#/components/schemas/ApiEnvelope'
  2134. default:
  2135. description: "错误响应"
  2136. content:
  2137. application/json:
  2138. schema:
  2139. $ref: '#/components/schemas/ApiEnvelope'
  2140. post:
  2141. tags: [data_development]
  2142. operationId: data_development_revise_device_quality_profile_post
  2143. summary: "revise device quality profile"
  2144. x-source: "app/api/data_development/routes.py"
  2145. requestBody:
  2146. required: false
  2147. content:
  2148. application/json:
  2149. schema:
  2150. type: object
  2151. additionalProperties: true
  2152. responses:
  2153. "200":
  2154. description: "请求已由当前实现处理"
  2155. content:
  2156. application/json:
  2157. schema:
  2158. $ref: '#/components/schemas/ApiEnvelope'
  2159. default:
  2160. description: "错误响应"
  2161. content:
  2162. application/json:
  2163. schema:
  2164. $ref: '#/components/schemas/ApiEnvelope'
  2165. "/api/development/v1/device-quality/profile/versions/{version_uid}/publish":
  2166. post:
  2167. tags: [data_development]
  2168. operationId: data_development_publish_device_quality_version_post
  2169. summary: "publish device quality version"
  2170. x-source: "app/api/data_development/routes.py"
  2171. parameters:
  2172. - name: version_uid
  2173. in: path
  2174. required: true
  2175. schema:
  2176. type: string
  2177. requestBody:
  2178. required: false
  2179. content:
  2180. application/json:
  2181. schema:
  2182. type: object
  2183. additionalProperties: true
  2184. responses:
  2185. "200":
  2186. description: "请求已由当前实现处理"
  2187. content:
  2188. application/json:
  2189. schema:
  2190. $ref: '#/components/schemas/ApiEnvelope'
  2191. default:
  2192. description: "错误响应"
  2193. content:
  2194. application/json:
  2195. schema:
  2196. $ref: '#/components/schemas/ApiEnvelope'
  2197. "/api/development/v1/device-quality/runs":
  2198. get:
  2199. tags: [data_development]
  2200. operationId: data_development_list_device_quality_runs_get
  2201. summary: "list device quality runs"
  2202. x-source: "app/api/data_development/routes.py"
  2203. responses:
  2204. "200":
  2205. description: "请求已由当前实现处理"
  2206. content:
  2207. application/json:
  2208. schema:
  2209. $ref: '#/components/schemas/ApiEnvelope'
  2210. default:
  2211. description: "错误响应"
  2212. content:
  2213. application/json:
  2214. schema:
  2215. $ref: '#/components/schemas/ApiEnvelope'
  2216. post:
  2217. tags: [data_development]
  2218. operationId: data_development_run_device_quality_post
  2219. summary: "run device quality"
  2220. x-source: "app/api/data_development/routes.py"
  2221. requestBody:
  2222. required: false
  2223. content:
  2224. application/json:
  2225. schema:
  2226. type: object
  2227. additionalProperties: true
  2228. responses:
  2229. "200":
  2230. description: "请求已由当前实现处理"
  2231. content:
  2232. application/json:
  2233. schema:
  2234. $ref: '#/components/schemas/ApiEnvelope'
  2235. default:
  2236. description: "错误响应"
  2237. content:
  2238. application/json:
  2239. schema:
  2240. $ref: '#/components/schemas/ApiEnvelope'
  2241. "/api/development/v1/device-quality/runs/{run_uid}":
  2242. get:
  2243. tags: [data_development]
  2244. operationId: data_development_get_device_quality_run_get
  2245. summary: "get device quality run"
  2246. x-source: "app/api/data_development/routes.py"
  2247. parameters:
  2248. - name: run_uid
  2249. in: path
  2250. required: true
  2251. schema:
  2252. type: string
  2253. responses:
  2254. "200":
  2255. description: "请求已由当前实现处理"
  2256. content:
  2257. application/json:
  2258. schema:
  2259. $ref: '#/components/schemas/ApiEnvelope'
  2260. default:
  2261. description: "错误响应"
  2262. content:
  2263. application/json:
  2264. schema:
  2265. $ref: '#/components/schemas/ApiEnvelope'
  2266. "/api/development/v1/device-quality/runs/{run_uid}/asset-scores":
  2267. get:
  2268. tags: [data_development]
  2269. operationId: data_development_list_device_quality_asset_scores_get
  2270. summary: "list device quality asset scores"
  2271. x-source: "app/api/data_development/routes.py"
  2272. parameters:
  2273. - name: run_uid
  2274. in: path
  2275. required: true
  2276. schema:
  2277. type: string
  2278. responses:
  2279. "200":
  2280. description: "请求已由当前实现处理"
  2281. content:
  2282. application/json:
  2283. schema:
  2284. $ref: '#/components/schemas/ApiEnvelope'
  2285. default:
  2286. description: "错误响应"
  2287. content:
  2288. application/json:
  2289. schema:
  2290. $ref: '#/components/schemas/ApiEnvelope'
  2291. "/api/development/v1/device-quality/runs/{run_uid}/violations":
  2292. get:
  2293. tags: [data_development]
  2294. operationId: data_development_list_device_quality_violations_get
  2295. summary: "list device quality violations"
  2296. x-source: "app/api/data_development/routes.py"
  2297. parameters:
  2298. - name: run_uid
  2299. in: path
  2300. required: true
  2301. schema:
  2302. type: string
  2303. responses:
  2304. "200":
  2305. description: "请求已由当前实现处理"
  2306. content:
  2307. application/json:
  2308. schema:
  2309. $ref: '#/components/schemas/ApiEnvelope'
  2310. default:
  2311. description: "错误响应"
  2312. content:
  2313. application/json:
  2314. schema:
  2315. $ref: '#/components/schemas/ApiEnvelope'
  2316. "/api/development/v1/device-semantics/bootstrap":
  2317. post:
  2318. tags: [data_development]
  2319. operationId: data_development_bootstrap_device_semantics_post
  2320. summary: "bootstrap device semantics"
  2321. x-source: "app/api/data_development/routes.py"
  2322. requestBody:
  2323. required: false
  2324. content:
  2325. application/json:
  2326. schema:
  2327. type: object
  2328. additionalProperties: true
  2329. responses:
  2330. "200":
  2331. description: "请求已由当前实现处理"
  2332. content:
  2333. application/json:
  2334. schema:
  2335. $ref: '#/components/schemas/ApiEnvelope'
  2336. default:
  2337. description: "错误响应"
  2338. content:
  2339. application/json:
  2340. schema:
  2341. $ref: '#/components/schemas/ApiEnvelope'
  2342. "/api/development/v1/device-semantics/codes":
  2343. get:
  2344. tags: [data_development]
  2345. operationId: data_development_list_device_semantic_codes_get
  2346. summary: "list device semantic codes"
  2347. x-source: "app/api/data_development/routes.py"
  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. post:
  2362. tags: [data_development]
  2363. operationId: data_development_create_device_semantic_code_post
  2364. summary: "create device semantic code"
  2365. x-source: "app/api/data_development/routes.py"
  2366. requestBody:
  2367. required: false
  2368. content:
  2369. application/json:
  2370. schema:
  2371. type: object
  2372. additionalProperties: true
  2373. responses:
  2374. "200":
  2375. description: "请求已由当前实现处理"
  2376. content:
  2377. application/json:
  2378. schema:
  2379. $ref: '#/components/schemas/ApiEnvelope'
  2380. default:
  2381. description: "错误响应"
  2382. content:
  2383. application/json:
  2384. schema:
  2385. $ref: '#/components/schemas/ApiEnvelope'
  2386. "/api/development/v1/device-semantics/codes/{code_uid}":
  2387. get:
  2388. tags: [data_development]
  2389. operationId: data_development_get_device_semantic_code_get
  2390. summary: "get device semantic code"
  2391. x-source: "app/api/data_development/routes.py"
  2392. parameters:
  2393. - name: code_uid
  2394. in: path
  2395. required: true
  2396. schema:
  2397. type: string
  2398. responses:
  2399. "200":
  2400. description: "请求已由当前实现处理"
  2401. content:
  2402. application/json:
  2403. schema:
  2404. $ref: '#/components/schemas/ApiEnvelope'
  2405. default:
  2406. description: "错误响应"
  2407. content:
  2408. application/json:
  2409. schema:
  2410. $ref: '#/components/schemas/ApiEnvelope'
  2411. "/api/development/v1/device-semantics/codes/{code_uid}/review":
  2412. post:
  2413. tags: [data_development]
  2414. operationId: data_development_review_device_semantic_code_post
  2415. summary: "review device semantic code"
  2416. x-source: "app/api/data_development/routes.py"
  2417. parameters:
  2418. - name: code_uid
  2419. in: path
  2420. required: true
  2421. schema:
  2422. type: string
  2423. requestBody:
  2424. required: false
  2425. content:
  2426. application/json:
  2427. schema:
  2428. type: object
  2429. additionalProperties: true
  2430. responses:
  2431. "200":
  2432. description: "请求已由当前实现处理"
  2433. content:
  2434. application/json:
  2435. schema:
  2436. $ref: '#/components/schemas/ApiEnvelope'
  2437. default:
  2438. description: "错误响应"
  2439. content:
  2440. application/json:
  2441. schema:
  2442. $ref: '#/components/schemas/ApiEnvelope'
  2443. "/api/development/v1/device-semantics/codes/{code_uid}/reviews":
  2444. get:
  2445. tags: [data_development]
  2446. operationId: data_development_list_device_semantic_code_reviews_get
  2447. summary: "list device semantic code reviews"
  2448. x-source: "app/api/data_development/routes.py"
  2449. parameters:
  2450. - name: code_uid
  2451. in: path
  2452. required: true
  2453. schema:
  2454. type: string
  2455. responses:
  2456. "200":
  2457. description: "请求已由当前实现处理"
  2458. content:
  2459. application/json:
  2460. schema:
  2461. $ref: '#/components/schemas/ApiEnvelope'
  2462. default:
  2463. description: "错误响应"
  2464. content:
  2465. application/json:
  2466. schema:
  2467. $ref: '#/components/schemas/ApiEnvelope'
  2468. "/api/development/v1/device-semantics/codes/{code_uid}/revisions":
  2469. post:
  2470. tags: [data_development]
  2471. operationId: data_development_revise_device_semantic_code_post
  2472. summary: "revise device semantic code"
  2473. x-source: "app/api/data_development/routes.py"
  2474. parameters:
  2475. - name: code_uid
  2476. in: path
  2477. required: true
  2478. schema:
  2479. type: string
  2480. requestBody:
  2481. required: false
  2482. content:
  2483. application/json:
  2484. schema:
  2485. type: object
  2486. additionalProperties: true
  2487. responses:
  2488. "200":
  2489. description: "请求已由当前实现处理"
  2490. content:
  2491. application/json:
  2492. schema:
  2493. $ref: '#/components/schemas/ApiEnvelope'
  2494. default:
  2495. description: "错误响应"
  2496. content:
  2497. application/json:
  2498. schema:
  2499. $ref: '#/components/schemas/ApiEnvelope'
  2500. "/api/development/v1/device-semantics/codes/{code_uid}/submit":
  2501. post:
  2502. tags: [data_development]
  2503. operationId: data_development_submit_device_semantic_code_post
  2504. summary: "submit device semantic code"
  2505. x-source: "app/api/data_development/routes.py"
  2506. parameters:
  2507. - name: code_uid
  2508. in: path
  2509. required: true
  2510. schema:
  2511. type: string
  2512. requestBody:
  2513. required: false
  2514. content:
  2515. application/json:
  2516. schema:
  2517. type: object
  2518. additionalProperties: true
  2519. responses:
  2520. "200":
  2521. description: "请求已由当前实现处理"
  2522. content:
  2523. application/json:
  2524. schema:
  2525. $ref: '#/components/schemas/ApiEnvelope'
  2526. default:
  2527. description: "错误响应"
  2528. content:
  2529. application/json:
  2530. schema:
  2531. $ref: '#/components/schemas/ApiEnvelope'
  2532. "/api/development/v1/device-semantics/codes/{code_uid}/versions":
  2533. get:
  2534. tags: [data_development]
  2535. operationId: data_development_list_device_semantic_code_versions_get
  2536. summary: "list device semantic code versions"
  2537. x-source: "app/api/data_development/routes.py"
  2538. parameters:
  2539. - name: code_uid
  2540. in: path
  2541. required: true
  2542. schema:
  2543. type: string
  2544. responses:
  2545. "200":
  2546. description: "请求已由当前实现处理"
  2547. content:
  2548. application/json:
  2549. schema:
  2550. $ref: '#/components/schemas/ApiEnvelope'
  2551. default:
  2552. description: "错误响应"
  2553. content:
  2554. application/json:
  2555. schema:
  2556. $ref: '#/components/schemas/ApiEnvelope'
  2557. "/api/development/v1/device-semantics/profile":
  2558. get:
  2559. tags: [data_development]
  2560. operationId: data_development_get_device_semantic_profile_get
  2561. summary: "get device semantic profile"
  2562. x-source: "app/api/data_development/routes.py"
  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/evidence/{evidence_uid}":
  2577. get:
  2578. tags: [data_development]
  2579. operationId: data_development_get_evidence_get
  2580. summary: "get evidence"
  2581. x-source: "app/api/data_development/routes.py"
  2582. parameters:
  2583. - name: evidence_uid
  2584. in: path
  2585. required: true
  2586. schema:
  2587. type: string
  2588. responses:
  2589. "200":
  2590. description: "请求已由当前实现处理"
  2591. content:
  2592. application/json:
  2593. schema:
  2594. $ref: '#/components/schemas/ApiEnvelope'
  2595. default:
  2596. description: "错误响应"
  2597. content:
  2598. application/json:
  2599. schema:
  2600. $ref: '#/components/schemas/ApiEnvelope'
  2601. "/api/development/v1/ingestion-jobs":
  2602. get:
  2603. tags: [data_development]
  2604. operationId: data_development_list_ingestion_jobs_get
  2605. summary: "list ingestion jobs"
  2606. x-source: "app/api/data_development/routes.py"
  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. post:
  2621. tags: [data_development]
  2622. operationId: data_development_create_ingestion_job_post
  2623. summary: "create ingestion job"
  2624. x-source: "app/api/data_development/routes.py"
  2625. requestBody:
  2626. required: false
  2627. content:
  2628. application/json:
  2629. schema:
  2630. type: object
  2631. additionalProperties: true
  2632. responses:
  2633. "200":
  2634. description: "请求已由当前实现处理"
  2635. content:
  2636. application/json:
  2637. schema:
  2638. $ref: '#/components/schemas/ApiEnvelope'
  2639. default:
  2640. description: "错误响应"
  2641. content:
  2642. application/json:
  2643. schema:
  2644. $ref: '#/components/schemas/ApiEnvelope'
  2645. "/api/development/v1/ingestion-jobs/{job_uid}":
  2646. get:
  2647. tags: [data_development]
  2648. operationId: data_development_get_ingestion_job_get
  2649. summary: "get ingestion job"
  2650. x-source: "app/api/data_development/routes.py"
  2651. parameters:
  2652. - name: job_uid
  2653. in: path
  2654. required: true
  2655. schema:
  2656. type: string
  2657. responses:
  2658. "200":
  2659. description: "请求已由当前实现处理"
  2660. content:
  2661. application/json:
  2662. schema:
  2663. $ref: '#/components/schemas/ApiEnvelope'
  2664. default:
  2665. description: "错误响应"
  2666. content:
  2667. application/json:
  2668. schema:
  2669. $ref: '#/components/schemas/ApiEnvelope'
  2670. "/api/development/v1/ingestion-jobs/{job_uid}/cancel":
  2671. post:
  2672. tags: [data_development]
  2673. operationId: data_development_cancel_ingestion_job_post
  2674. summary: "cancel ingestion job"
  2675. x-source: "app/api/data_development/routes.py"
  2676. parameters:
  2677. - name: job_uid
  2678. in: path
  2679. required: true
  2680. schema:
  2681. type: string
  2682. requestBody:
  2683. required: false
  2684. content:
  2685. application/json:
  2686. schema:
  2687. type: object
  2688. additionalProperties: true
  2689. responses:
  2690. "200":
  2691. description: "请求已由当前实现处理"
  2692. content:
  2693. application/json:
  2694. schema:
  2695. $ref: '#/components/schemas/ApiEnvelope'
  2696. default:
  2697. description: "错误响应"
  2698. content:
  2699. application/json:
  2700. schema:
  2701. $ref: '#/components/schemas/ApiEnvelope'
  2702. "/api/development/v1/ingestion-jobs/{job_uid}/catalog-snapshots":
  2703. get:
  2704. tags: [data_development]
  2705. operationId: data_development_list_catalog_snapshots_get
  2706. summary: "list catalog snapshots"
  2707. x-source: "app/api/data_development/routes.py"
  2708. parameters:
  2709. - name: job_uid
  2710. in: path
  2711. required: true
  2712. schema:
  2713. type: string
  2714. responses:
  2715. "200":
  2716. description: "请求已由当前实现处理"
  2717. content:
  2718. application/json:
  2719. schema:
  2720. $ref: '#/components/schemas/ApiEnvelope'
  2721. default:
  2722. description: "错误响应"
  2723. content:
  2724. application/json:
  2725. schema:
  2726. $ref: '#/components/schemas/ApiEnvelope'
  2727. "/api/development/v1/ingestion-jobs/{job_uid}/evidence":
  2728. get:
  2729. tags: [data_development]
  2730. operationId: data_development_list_ingestion_job_evidence_get
  2731. summary: "list ingestion job evidence"
  2732. x-source: "app/api/data_development/routes.py"
  2733. parameters:
  2734. - name: job_uid
  2735. in: path
  2736. required: true
  2737. schema:
  2738. type: string
  2739. responses:
  2740. "200":
  2741. description: "请求已由当前实现处理"
  2742. content:
  2743. application/json:
  2744. schema:
  2745. $ref: '#/components/schemas/ApiEnvelope'
  2746. default:
  2747. description: "错误响应"
  2748. content:
  2749. application/json:
  2750. schema:
  2751. $ref: '#/components/schemas/ApiEnvelope'
  2752. "/api/development/v1/ingestion-jobs/{job_uid}/execute":
  2753. post:
  2754. tags: [data_development]
  2755. operationId: data_development_execute_ingestion_job_post
  2756. summary: "execute ingestion job"
  2757. x-source: "app/api/data_development/routes.py"
  2758. parameters:
  2759. - name: job_uid
  2760. in: path
  2761. required: true
  2762. schema:
  2763. type: string
  2764. requestBody:
  2765. required: false
  2766. content:
  2767. application/json:
  2768. schema:
  2769. type: object
  2770. additionalProperties: true
  2771. responses:
  2772. "200":
  2773. description: "请求已由当前实现处理"
  2774. content:
  2775. application/json:
  2776. schema:
  2777. $ref: '#/components/schemas/ApiEnvelope'
  2778. default:
  2779. description: "错误响应"
  2780. content:
  2781. application/json:
  2782. schema:
  2783. $ref: '#/components/schemas/ApiEnvelope'
  2784. "/api/development/v1/ingestion-jobs/{job_uid}/retry":
  2785. post:
  2786. tags: [data_development]
  2787. operationId: data_development_retry_ingestion_job_post
  2788. summary: "retry ingestion job"
  2789. x-source: "app/api/data_development/routes.py"
  2790. parameters:
  2791. - name: job_uid
  2792. in: path
  2793. required: true
  2794. schema:
  2795. type: string
  2796. requestBody:
  2797. required: false
  2798. content:
  2799. application/json:
  2800. schema:
  2801. type: object
  2802. additionalProperties: true
  2803. responses:
  2804. "200":
  2805. description: "请求已由当前实现处理"
  2806. content:
  2807. application/json:
  2808. schema:
  2809. $ref: '#/components/schemas/ApiEnvelope'
  2810. default:
  2811. description: "错误响应"
  2812. content:
  2813. application/json:
  2814. schema:
  2815. $ref: '#/components/schemas/ApiEnvelope'
  2816. "/api/development/v1/ontologies":
  2817. get:
  2818. tags: [data_development]
  2819. operationId: data_development_list_ontologies_get
  2820. summary: "list ontologies"
  2821. x-source: "app/api/data_development/routes.py"
  2822. responses:
  2823. "200":
  2824. description: "请求已由当前实现处理"
  2825. content:
  2826. application/json:
  2827. schema:
  2828. $ref: '#/components/schemas/ApiEnvelope'
  2829. default:
  2830. description: "错误响应"
  2831. content:
  2832. application/json:
  2833. schema:
  2834. $ref: '#/components/schemas/ApiEnvelope'
  2835. post:
  2836. tags: [data_development]
  2837. operationId: data_development_create_ontology_post
  2838. summary: "create ontology"
  2839. x-source: "app/api/data_development/routes.py"
  2840. requestBody:
  2841. required: false
  2842. content:
  2843. application/json:
  2844. schema:
  2845. type: object
  2846. additionalProperties: true
  2847. responses:
  2848. "200":
  2849. description: "请求已由当前实现处理"
  2850. content:
  2851. application/json:
  2852. schema:
  2853. $ref: '#/components/schemas/ApiEnvelope'
  2854. default:
  2855. description: "错误响应"
  2856. content:
  2857. application/json:
  2858. schema:
  2859. $ref: '#/components/schemas/ApiEnvelope'
  2860. "/api/development/v1/ontologies/import":
  2861. post:
  2862. tags: [data_development]
  2863. operationId: data_development_import_ontology_post
  2864. summary: "import ontology"
  2865. x-source: "app/api/data_development/routes.py"
  2866. requestBody:
  2867. required: false
  2868. content:
  2869. application/json:
  2870. schema:
  2871. type: object
  2872. additionalProperties: true
  2873. responses:
  2874. "200":
  2875. description: "请求已由当前实现处理"
  2876. content:
  2877. application/json:
  2878. schema:
  2879. $ref: '#/components/schemas/ApiEnvelope'
  2880. default:
  2881. description: "错误响应"
  2882. content:
  2883. application/json:
  2884. schema:
  2885. $ref: '#/components/schemas/ApiEnvelope'
  2886. "/api/development/v1/ontologies/{ontology_uid}":
  2887. get:
  2888. tags: [data_development]
  2889. operationId: data_development_get_ontology_get
  2890. summary: "get ontology"
  2891. x-source: "app/api/data_development/routes.py"
  2892. parameters:
  2893. - name: ontology_uid
  2894. in: path
  2895. required: true
  2896. schema:
  2897. type: string
  2898. responses:
  2899. "200":
  2900. description: "请求已由当前实现处理"
  2901. content:
  2902. application/json:
  2903. schema:
  2904. $ref: '#/components/schemas/ApiEnvelope'
  2905. default:
  2906. description: "错误响应"
  2907. content:
  2908. application/json:
  2909. schema:
  2910. $ref: '#/components/schemas/ApiEnvelope'
  2911. "/api/development/v1/ontologies/{ontology_uid}/change-sets/{change_set_uid}/decisions":
  2912. post:
  2913. tags: [data_development]
  2914. operationId: data_development_decide_ontology_change_set_post
  2915. summary: "decide ontology change set"
  2916. x-source: "app/api/data_development/routes.py"
  2917. parameters:
  2918. - name: ontology_uid
  2919. in: path
  2920. required: true
  2921. schema:
  2922. type: string
  2923. - name: change_set_uid
  2924. in: path
  2925. required: true
  2926. schema:
  2927. type: string
  2928. requestBody:
  2929. required: false
  2930. content:
  2931. application/json:
  2932. schema:
  2933. type: object
  2934. additionalProperties: true
  2935. responses:
  2936. "200":
  2937. description: "请求已由当前实现处理"
  2938. content:
  2939. application/json:
  2940. schema:
  2941. $ref: '#/components/schemas/ApiEnvelope'
  2942. default:
  2943. description: "错误响应"
  2944. content:
  2945. application/json:
  2946. schema:
  2947. $ref: '#/components/schemas/ApiEnvelope'
  2948. "/api/development/v1/ontologies/{ontology_uid}/diff":
  2949. get:
  2950. tags: [data_development]
  2951. operationId: data_development_diff_ontology_get
  2952. summary: "diff ontology"
  2953. x-source: "app/api/data_development/routes.py"
  2954. parameters:
  2955. - name: ontology_uid
  2956. in: path
  2957. required: true
  2958. schema:
  2959. type: string
  2960. responses:
  2961. "200":
  2962. description: "请求已由当前实现处理"
  2963. content:
  2964. application/json:
  2965. schema:
  2966. $ref: '#/components/schemas/ApiEnvelope'
  2967. default:
  2968. description: "错误响应"
  2969. content:
  2970. application/json:
  2971. schema:
  2972. $ref: '#/components/schemas/ApiEnvelope'
  2973. "/api/development/v1/ontologies/{ontology_uid}/export":
  2974. get:
  2975. tags: [data_development]
  2976. operationId: data_development_export_ontology_get
  2977. summary: "export ontology"
  2978. x-source: "app/api/data_development/routes.py"
  2979. parameters:
  2980. - name: ontology_uid
  2981. in: path
  2982. required: true
  2983. schema:
  2984. type: string
  2985. responses:
  2986. "200":
  2987. description: "请求已由当前实现处理"
  2988. content:
  2989. application/json:
  2990. schema:
  2991. $ref: '#/components/schemas/ApiEnvelope'
  2992. default:
  2993. description: "错误响应"
  2994. content:
  2995. application/json:
  2996. schema:
  2997. $ref: '#/components/schemas/ApiEnvelope'
  2998. "/api/development/v1/ontologies/{ontology_uid}/graph":
  2999. get:
  3000. tags: [data_development]
  3001. operationId: data_development_get_ontology_graph_get
  3002. summary: "get ontology graph"
  3003. x-source: "app/api/data_development/routes.py"
  3004. parameters:
  3005. - name: ontology_uid
  3006. in: path
  3007. required: true
  3008. schema:
  3009. type: string
  3010. responses:
  3011. "200":
  3012. description: "请求已由当前实现处理"
  3013. content:
  3014. application/json:
  3015. schema:
  3016. $ref: '#/components/schemas/ApiEnvelope'
  3017. default:
  3018. description: "错误响应"
  3019. content:
  3020. application/json:
  3021. schema:
  3022. $ref: '#/components/schemas/ApiEnvelope'
  3023. patch:
  3024. tags: [data_development]
  3025. operationId: data_development_save_ontology_graph_patch
  3026. summary: "save ontology graph"
  3027. x-source: "app/api/data_development/routes.py"
  3028. parameters:
  3029. - name: ontology_uid
  3030. in: path
  3031. required: true
  3032. schema:
  3033. type: string
  3034. requestBody:
  3035. required: false
  3036. content:
  3037. application/json:
  3038. schema:
  3039. type: object
  3040. additionalProperties: true
  3041. responses:
  3042. "200":
  3043. description: "请求已由当前实现处理"
  3044. content:
  3045. application/json:
  3046. schema:
  3047. $ref: '#/components/schemas/ApiEnvelope'
  3048. default:
  3049. description: "错误响应"
  3050. content:
  3051. application/json:
  3052. schema:
  3053. $ref: '#/components/schemas/ApiEnvelope'
  3054. "/api/development/v1/ontologies/{ontology_uid}/publish":
  3055. post:
  3056. tags: [data_development]
  3057. operationId: data_development_publish_ontology_post
  3058. summary: "publish ontology"
  3059. x-source: "app/api/data_development/routes.py"
  3060. parameters:
  3061. - name: ontology_uid
  3062. in: path
  3063. required: true
  3064. schema:
  3065. type: string
  3066. requestBody:
  3067. required: false
  3068. content:
  3069. application/json:
  3070. schema:
  3071. type: object
  3072. additionalProperties: true
  3073. responses:
  3074. "200":
  3075. description: "请求已由当前实现处理"
  3076. content:
  3077. application/json:
  3078. schema:
  3079. $ref: '#/components/schemas/ApiEnvelope'
  3080. default:
  3081. description: "错误响应"
  3082. content:
  3083. application/json:
  3084. schema:
  3085. $ref: '#/components/schemas/ApiEnvelope'
  3086. "/api/development/v1/ontologies/{ontology_uid}/rollback":
  3087. post:
  3088. tags: [data_development]
  3089. operationId: data_development_rollback_ontology_post
  3090. summary: "rollback ontology"
  3091. x-source: "app/api/data_development/routes.py"
  3092. parameters:
  3093. - name: ontology_uid
  3094. in: path
  3095. required: true
  3096. schema:
  3097. type: string
  3098. requestBody:
  3099. required: false
  3100. content:
  3101. application/json:
  3102. schema:
  3103. type: object
  3104. additionalProperties: true
  3105. responses:
  3106. "200":
  3107. description: "请求已由当前实现处理"
  3108. content:
  3109. application/json:
  3110. schema:
  3111. $ref: '#/components/schemas/ApiEnvelope'
  3112. default:
  3113. description: "错误响应"
  3114. content:
  3115. application/json:
  3116. schema:
  3117. $ref: '#/components/schemas/ApiEnvelope'
  3118. "/api/development/v1/ontologies/{ontology_uid}/suggestions":
  3119. post:
  3120. tags: [data_development]
  3121. operationId: data_development_generate_ontology_suggestions_post
  3122. summary: "generate ontology suggestions"
  3123. x-source: "app/api/data_development/routes.py"
  3124. parameters:
  3125. - name: ontology_uid
  3126. in: path
  3127. required: true
  3128. schema:
  3129. type: string
  3130. requestBody:
  3131. required: false
  3132. content:
  3133. application/json:
  3134. schema:
  3135. type: object
  3136. additionalProperties: true
  3137. responses:
  3138. "200":
  3139. description: "请求已由当前实现处理"
  3140. content:
  3141. application/json:
  3142. schema:
  3143. $ref: '#/components/schemas/ApiEnvelope'
  3144. default:
  3145. description: "错误响应"
  3146. content:
  3147. application/json:
  3148. schema:
  3149. $ref: '#/components/schemas/ApiEnvelope'
  3150. "/api/development/v1/ontologies/{ontology_uid}/validate":
  3151. post:
  3152. tags: [data_development]
  3153. operationId: data_development_validate_ontology_post
  3154. summary: "validate ontology"
  3155. x-source: "app/api/data_development/routes.py"
  3156. parameters:
  3157. - name: ontology_uid
  3158. in: path
  3159. required: true
  3160. schema:
  3161. type: string
  3162. requestBody:
  3163. required: false
  3164. content:
  3165. application/json:
  3166. schema:
  3167. type: object
  3168. additionalProperties: true
  3169. responses:
  3170. "200":
  3171. description: "请求已由当前实现处理"
  3172. content:
  3173. application/json:
  3174. schema:
  3175. $ref: '#/components/schemas/ApiEnvelope'
  3176. default:
  3177. description: "错误响应"
  3178. content:
  3179. application/json:
  3180. schema:
  3181. $ref: '#/components/schemas/ApiEnvelope'
  3182. "/api/development/v1/ontologies/{ontology_uid}/versions":
  3183. get:
  3184. tags: [data_development]
  3185. operationId: data_development_list_ontology_versions_get
  3186. summary: "list ontology versions"
  3187. x-source: "app/api/data_development/routes.py"
  3188. parameters:
  3189. - name: ontology_uid
  3190. in: path
  3191. required: true
  3192. schema:
  3193. type: string
  3194. responses:
  3195. "200":
  3196. description: "请求已由当前实现处理"
  3197. content:
  3198. application/json:
  3199. schema:
  3200. $ref: '#/components/schemas/ApiEnvelope'
  3201. default:
  3202. description: "错误响应"
  3203. content:
  3204. application/json:
  3205. schema:
  3206. $ref: '#/components/schemas/ApiEnvelope'
  3207. "/api/development/v1/semantic/properties/{property_uid}":
  3208. get:
  3209. tags: [data_development]
  3210. operationId: data_development_query_semantic_property_get
  3211. summary: "query semantic property"
  3212. x-source: "app/api/data_development/routes.py"
  3213. parameters:
  3214. - name: property_uid
  3215. in: path
  3216. required: true
  3217. schema:
  3218. type: string
  3219. responses:
  3220. "200":
  3221. description: "请求已由当前实现处理"
  3222. content:
  3223. application/json:
  3224. schema:
  3225. $ref: '#/components/schemas/ApiEnvelope'
  3226. default:
  3227. description: "错误响应"
  3228. content:
  3229. application/json:
  3230. schema:
  3231. $ref: '#/components/schemas/ApiEnvelope'
  3232. "/api/development/v1/sources/files":
  3233. post:
  3234. tags: [data_development]
  3235. operationId: data_development_upload_source_file_post
  3236. summary: "upload source file"
  3237. x-source: "app/api/data_development/routes.py"
  3238. requestBody:
  3239. required: false
  3240. content:
  3241. application/json:
  3242. schema:
  3243. type: object
  3244. additionalProperties: true
  3245. responses:
  3246. "200":
  3247. description: "请求已由当前实现处理"
  3248. content:
  3249. application/json:
  3250. schema:
  3251. $ref: '#/components/schemas/ApiEnvelope'
  3252. default:
  3253. description: "错误响应"
  3254. content:
  3255. application/json:
  3256. schema:
  3257. $ref: '#/components/schemas/ApiEnvelope'
  3258. "/api/graph/node/create":
  3259. post:
  3260. tags: [graph]
  3261. operationId: graph_create_node_post
  3262. summary: "创建新节点"
  3263. x-source: "app/api/graph/routes.py"
  3264. requestBody:
  3265. required: false
  3266. content:
  3267. application/json:
  3268. schema:
  3269. type: object
  3270. additionalProperties: true
  3271. responses:
  3272. "200":
  3273. description: "请求已由当前实现处理"
  3274. content:
  3275. application/json:
  3276. schema:
  3277. $ref: '#/components/schemas/ApiEnvelope'
  3278. default:
  3279. description: "错误响应"
  3280. content:
  3281. application/json:
  3282. schema:
  3283. $ref: '#/components/schemas/ApiEnvelope'
  3284. "/api/graph/query":
  3285. post:
  3286. tags: [graph]
  3287. operationId: graph_query_graph_post
  3288. summary: "执行自定义Cypher查询"
  3289. x-source: "app/api/graph/routes.py"
  3290. requestBody:
  3291. required: false
  3292. content:
  3293. application/json:
  3294. schema:
  3295. type: object
  3296. additionalProperties: true
  3297. responses:
  3298. "200":
  3299. description: "请求已由当前实现处理"
  3300. content:
  3301. application/json:
  3302. schema:
  3303. $ref: '#/components/schemas/ApiEnvelope'
  3304. default:
  3305. description: "错误响应"
  3306. content:
  3307. application/json:
  3308. schema:
  3309. $ref: '#/components/schemas/ApiEnvelope'
  3310. "/api/graph/relationship/create":
  3311. post:
  3312. tags: [graph]
  3313. operationId: graph_create_rel_post
  3314. summary: "创建节点间的关系"
  3315. x-source: "app/api/graph/routes.py"
  3316. requestBody:
  3317. required: false
  3318. content:
  3319. application/json:
  3320. schema:
  3321. type: object
  3322. additionalProperties: true
  3323. responses:
  3324. "200":
  3325. description: "请求已由当前实现处理"
  3326. content:
  3327. application/json:
  3328. schema:
  3329. $ref: '#/components/schemas/ApiEnvelope'
  3330. default:
  3331. description: "错误响应"
  3332. content:
  3333. application/json:
  3334. schema:
  3335. $ref: '#/components/schemas/ApiEnvelope'
  3336. "/api/graph/subgraph":
  3337. post:
  3338. tags: [graph]
  3339. operationId: graph_get_graph_data_post
  3340. summary: "获取子图数据"
  3341. x-source: "app/api/graph/routes.py"
  3342. requestBody:
  3343. required: false
  3344. content:
  3345. application/json:
  3346. schema:
  3347. type: object
  3348. additionalProperties: true
  3349. responses:
  3350. "200":
  3351. description: "请求已由当前实现处理"
  3352. content:
  3353. application/json:
  3354. schema:
  3355. $ref: '#/components/schemas/ApiEnvelope'
  3356. default:
  3357. description: "错误响应"
  3358. content:
  3359. application/json:
  3360. schema:
  3361. $ref: '#/components/schemas/ApiEnvelope'
  3362. "/api/interface/data/label/add":
  3363. post:
  3364. tags: [data_interface]
  3365. operationId: data_interface_data_label_add_post
  3366. summary: "data label add"
  3367. x-source: "app/api/data_interface/routes.py"
  3368. requestBody:
  3369. required: false
  3370. content:
  3371. application/json:
  3372. schema:
  3373. type: object
  3374. additionalProperties: true
  3375. responses:
  3376. "200":
  3377. description: "请求已由当前实现处理"
  3378. content:
  3379. application/json:
  3380. schema:
  3381. $ref: '#/components/schemas/ApiEnvelope'
  3382. default:
  3383. description: "错误响应"
  3384. content:
  3385. application/json:
  3386. schema:
  3387. $ref: '#/components/schemas/ApiEnvelope'
  3388. "/api/interface/data/label/delete":
  3389. post:
  3390. tags: [data_interface]
  3391. operationId: data_interface_data_label_delete_post
  3392. summary: "Delete data label node"
  3393. x-source: "app/api/data_interface/routes.py"
  3394. requestBody:
  3395. required: false
  3396. content:
  3397. application/json:
  3398. schema:
  3399. type: object
  3400. additionalProperties: true
  3401. responses:
  3402. "200":
  3403. description: "请求已由当前实现处理"
  3404. content:
  3405. application/json:
  3406. schema:
  3407. $ref: '#/components/schemas/ApiEnvelope'
  3408. default:
  3409. description: "错误响应"
  3410. content:
  3411. application/json:
  3412. schema:
  3413. $ref: '#/components/schemas/ApiEnvelope'
  3414. "/api/interface/data/label/detail":
  3415. post:
  3416. tags: [data_interface]
  3417. operationId: data_interface_data_label_detail_post
  3418. summary: "data label detail"
  3419. x-source: "app/api/data_interface/routes.py"
  3420. requestBody:
  3421. required: false
  3422. content:
  3423. application/json:
  3424. schema:
  3425. type: object
  3426. additionalProperties: true
  3427. responses:
  3428. "200":
  3429. description: "请求已由当前实现处理"
  3430. content:
  3431. application/json:
  3432. schema:
  3433. $ref: '#/components/schemas/ApiEnvelope'
  3434. default:
  3435. description: "错误响应"
  3436. content:
  3437. application/json:
  3438. schema:
  3439. $ref: '#/components/schemas/ApiEnvelope'
  3440. "/api/interface/data/label/dynamic/identify":
  3441. post:
  3442. tags: [data_interface]
  3443. operationId: data_interface_data_label_dynamic_identify_post
  3444. summary: "data label dynamic identify"
  3445. x-source: "app/api/data_interface/routes.py"
  3446. requestBody:
  3447. required: false
  3448. content:
  3449. application/json:
  3450. schema:
  3451. type: object
  3452. additionalProperties: true
  3453. responses:
  3454. "200":
  3455. description: "请求已由当前实现处理"
  3456. content:
  3457. application/json:
  3458. schema:
  3459. $ref: '#/components/schemas/ApiEnvelope'
  3460. default:
  3461. description: "错误响应"
  3462. content:
  3463. application/json:
  3464. schema:
  3465. $ref: '#/components/schemas/ApiEnvelope'
  3466. "/api/interface/data/label/graph/all":
  3467. post:
  3468. tags: [data_interface]
  3469. operationId: data_interface_data_label_graph_post
  3470. summary: "data label graph"
  3471. x-source: "app/api/data_interface/routes.py"
  3472. requestBody:
  3473. required: false
  3474. content:
  3475. application/json:
  3476. schema:
  3477. type: object
  3478. additionalProperties: true
  3479. responses:
  3480. "200":
  3481. description: "请求已由当前实现处理"
  3482. content:
  3483. application/json:
  3484. schema:
  3485. $ref: '#/components/schemas/ApiEnvelope'
  3486. default:
  3487. description: "错误响应"
  3488. content:
  3489. application/json:
  3490. schema:
  3491. $ref: '#/components/schemas/ApiEnvelope'
  3492. "/api/interface/data/label/list":
  3493. post:
  3494. tags: [data_interface]
  3495. operationId: data_interface_data_label_list_post
  3496. summary: "data label list"
  3497. x-source: "app/api/data_interface/routes.py"
  3498. requestBody:
  3499. required: false
  3500. content:
  3501. application/json:
  3502. schema:
  3503. type: object
  3504. additionalProperties: true
  3505. responses:
  3506. "200":
  3507. description: "请求已由当前实现处理"
  3508. content:
  3509. application/json:
  3510. schema:
  3511. $ref: '#/components/schemas/ApiEnvelope'
  3512. default:
  3513. description: "错误响应"
  3514. content:
  3515. application/json:
  3516. schema:
  3517. $ref: '#/components/schemas/ApiEnvelope'
  3518. "/api/interface/data/standard/add":
  3519. post:
  3520. tags: [data_interface]
  3521. operationId: data_interface_data_standard_add_post
  3522. summary: "data standard add"
  3523. x-source: "app/api/data_interface/routes.py"
  3524. requestBody:
  3525. required: false
  3526. content:
  3527. application/json:
  3528. schema:
  3529. type: object
  3530. additionalProperties: true
  3531. responses:
  3532. "200":
  3533. description: "请求已由当前实现处理"
  3534. content:
  3535. application/json:
  3536. schema:
  3537. $ref: '#/components/schemas/ApiEnvelope'
  3538. default:
  3539. description: "错误响应"
  3540. content:
  3541. application/json:
  3542. schema:
  3543. $ref: '#/components/schemas/ApiEnvelope'
  3544. "/api/interface/data/standard/code":
  3545. post:
  3546. tags: [data_interface]
  3547. operationId: data_interface_data_standard_code_post
  3548. summary: "data standard code"
  3549. x-source: "app/api/data_interface/routes.py"
  3550. requestBody:
  3551. required: false
  3552. content:
  3553. application/json:
  3554. schema:
  3555. type: object
  3556. additionalProperties: true
  3557. responses:
  3558. "200":
  3559. description: "请求已由当前实现处理"
  3560. content:
  3561. application/json:
  3562. schema:
  3563. $ref: '#/components/schemas/ApiEnvelope'
  3564. default:
  3565. description: "错误响应"
  3566. content:
  3567. application/json:
  3568. schema:
  3569. $ref: '#/components/schemas/ApiEnvelope'
  3570. "/api/interface/data/standard/detail":
  3571. post:
  3572. tags: [data_interface]
  3573. operationId: data_interface_data_standard_detail_post
  3574. summary: "data standard detail"
  3575. x-source: "app/api/data_interface/routes.py"
  3576. requestBody:
  3577. required: false
  3578. content:
  3579. application/json:
  3580. schema:
  3581. type: object
  3582. additionalProperties: true
  3583. responses:
  3584. "200":
  3585. description: "请求已由当前实现处理"
  3586. content:
  3587. application/json:
  3588. schema:
  3589. $ref: '#/components/schemas/ApiEnvelope'
  3590. default:
  3591. description: "错误响应"
  3592. content:
  3593. application/json:
  3594. schema:
  3595. $ref: '#/components/schemas/ApiEnvelope'
  3596. "/api/interface/data/standard/graph/all":
  3597. post:
  3598. tags: [data_interface]
  3599. operationId: data_interface_data_standard_graph_all_post
  3600. summary: "data standard graph all"
  3601. x-source: "app/api/data_interface/routes.py"
  3602. requestBody:
  3603. required: false
  3604. content:
  3605. application/json:
  3606. schema:
  3607. type: object
  3608. additionalProperties: true
  3609. responses:
  3610. "200":
  3611. description: "请求已由当前实现处理"
  3612. content:
  3613. application/json:
  3614. schema:
  3615. $ref: '#/components/schemas/ApiEnvelope'
  3616. default:
  3617. description: "错误响应"
  3618. content:
  3619. application/json:
  3620. schema:
  3621. $ref: '#/components/schemas/ApiEnvelope'
  3622. "/api/interface/data/standard/list":
  3623. post:
  3624. tags: [data_interface]
  3625. operationId: data_interface_data_standard_list_post
  3626. summary: "data standard list"
  3627. x-source: "app/api/data_interface/routes.py"
  3628. requestBody:
  3629. required: false
  3630. content:
  3631. application/json:
  3632. schema:
  3633. type: object
  3634. additionalProperties: true
  3635. responses:
  3636. "200":
  3637. description: "请求已由当前实现处理"
  3638. content:
  3639. application/json:
  3640. schema:
  3641. $ref: '#/components/schemas/ApiEnvelope'
  3642. default:
  3643. description: "错误响应"
  3644. content:
  3645. application/json:
  3646. schema:
  3647. $ref: '#/components/schemas/ApiEnvelope'
  3648. "/api/interface/data/standard/update":
  3649. post:
  3650. tags: [data_interface]
  3651. operationId: data_interface_data_standard_update_post
  3652. summary: "data standard update"
  3653. x-source: "app/api/data_interface/routes.py"
  3654. requestBody:
  3655. required: false
  3656. content:
  3657. application/json:
  3658. schema:
  3659. type: object
  3660. additionalProperties: true
  3661. responses:
  3662. "200":
  3663. description: "请求已由当前实现处理"
  3664. content:
  3665. application/json:
  3666. schema:
  3667. $ref: '#/components/schemas/ApiEnvelope'
  3668. default:
  3669. description: "错误响应"
  3670. content:
  3671. application/json:
  3672. schema:
  3673. $ref: '#/components/schemas/ApiEnvelope'
  3674. "/api/interface/graphall":
  3675. post:
  3676. tags: [data_interface]
  3677. operationId: data_interface_interface_graph_all_post
  3678. summary: "获取完整关系图谱"
  3679. x-source: "app/api/data_interface/routes.py"
  3680. requestBody:
  3681. required: false
  3682. content:
  3683. application/json:
  3684. schema:
  3685. type: object
  3686. additionalProperties: true
  3687. responses:
  3688. "200":
  3689. description: "请求已由当前实现处理"
  3690. content:
  3691. application/json:
  3692. schema:
  3693. $ref: '#/components/schemas/ApiEnvelope'
  3694. default:
  3695. description: "错误响应"
  3696. content:
  3697. application/json:
  3698. schema:
  3699. $ref: '#/components/schemas/ApiEnvelope'
  3700. "/api/interface/labellist":
  3701. post:
  3702. tags: [data_interface]
  3703. operationId: data_interface_interface_label_list_post
  3704. summary: "获取 DataLabel 列表(支持多条件 category_filter 过滤)"
  3705. x-source: "app/api/data_interface/routes.py"
  3706. requestBody:
  3707. required: false
  3708. content:
  3709. application/json:
  3710. schema:
  3711. type: object
  3712. additionalProperties: true
  3713. responses:
  3714. "200":
  3715. description: "请求已由当前实现处理"
  3716. content:
  3717. application/json:
  3718. schema:
  3719. $ref: '#/components/schemas/ApiEnvelope'
  3720. default:
  3721. description: "错误响应"
  3722. content:
  3723. application/json:
  3724. schema:
  3725. $ref: '#/components/schemas/ApiEnvelope'
  3726. "/api/interface/metric/label/standard/delete":
  3727. post:
  3728. tags: [data_interface]
  3729. operationId: data_interface_metric_label_standard_delete_post
  3730. summary: "metric label standard delete"
  3731. x-source: "app/api/data_interface/routes.py"
  3732. requestBody:
  3733. required: false
  3734. content:
  3735. application/json:
  3736. schema:
  3737. type: object
  3738. additionalProperties: true
  3739. responses:
  3740. "200":
  3741. description: "请求已由当前实现处理"
  3742. content:
  3743. application/json:
  3744. schema:
  3745. $ref: '#/components/schemas/ApiEnvelope'
  3746. default:
  3747. description: "错误响应"
  3748. content:
  3749. application/json:
  3750. schema:
  3751. $ref: '#/components/schemas/ApiEnvelope'
  3752. "/api/meta/check":
  3753. get:
  3754. tags: [meta_data]
  3755. operationId: meta_data_meta_check_get
  3756. summary: "检查元数据中文名是否已存在"
  3757. x-source: "app/api/meta_data/routes.py"
  3758. responses:
  3759. "200":
  3760. description: "请求已由当前实现处理"
  3761. content:
  3762. application/json:
  3763. schema:
  3764. $ref: '#/components/schemas/ApiEnvelope'
  3765. default:
  3766. description: "错误响应"
  3767. content:
  3768. application/json:
  3769. schema:
  3770. $ref: '#/components/schemas/ApiEnvelope'
  3771. "/api/meta/config":
  3772. get:
  3773. tags: [meta_data]
  3774. operationId: meta_data_get_meta_config_get
  3775. summary: "获取元数据配置信息"
  3776. x-source: "app/api/meta_data/routes.py"
  3777. responses:
  3778. "200":
  3779. description: "请求已由当前实现处理"
  3780. content:
  3781. application/json:
  3782. schema:
  3783. $ref: '#/components/schemas/ApiEnvelope'
  3784. default:
  3785. description: "错误响应"
  3786. content:
  3787. application/json:
  3788. schema:
  3789. $ref: '#/components/schemas/ApiEnvelope'
  3790. "/api/meta/full/text/query":
  3791. post:
  3792. tags: [meta_data]
  3793. operationId: meta_data_full_text_query_post
  3794. summary: "full text query"
  3795. x-source: "app/api/meta_data/routes.py"
  3796. requestBody:
  3797. required: false
  3798. content:
  3799. application/json:
  3800. schema:
  3801. type: object
  3802. additionalProperties: true
  3803. responses:
  3804. "200":
  3805. description: "请求已由当前实现处理"
  3806. content:
  3807. application/json:
  3808. schema:
  3809. $ref: '#/components/schemas/ApiEnvelope'
  3810. default:
  3811. description: "错误响应"
  3812. content:
  3813. application/json:
  3814. schema:
  3815. $ref: '#/components/schemas/ApiEnvelope'
  3816. "/api/meta/node/add":
  3817. post:
  3818. tags: [meta_data]
  3819. operationId: meta_data_meta_node_add_post
  3820. summary: "新增元数据节点"
  3821. x-source: "app/api/meta_data/routes.py"
  3822. requestBody:
  3823. required: false
  3824. content:
  3825. application/json:
  3826. schema:
  3827. type: object
  3828. additionalProperties: true
  3829. responses:
  3830. "200":
  3831. description: "请求已由当前实现处理"
  3832. content:
  3833. application/json:
  3834. schema:
  3835. $ref: '#/components/schemas/ApiEnvelope'
  3836. default:
  3837. description: "错误响应"
  3838. content:
  3839. application/json:
  3840. schema:
  3841. $ref: '#/components/schemas/ApiEnvelope'
  3842. "/api/meta/node/delete":
  3843. post:
  3844. tags: [meta_data]
  3845. operationId: meta_data_meta_node_delete_post
  3846. summary: "meta node delete"
  3847. x-source: "app/api/meta_data/routes.py"
  3848. requestBody:
  3849. required: false
  3850. content:
  3851. application/json:
  3852. schema:
  3853. type: object
  3854. additionalProperties: true
  3855. responses:
  3856. "200":
  3857. description: "请求已由当前实现处理"
  3858. content:
  3859. application/json:
  3860. schema:
  3861. $ref: '#/components/schemas/ApiEnvelope'
  3862. default:
  3863. description: "错误响应"
  3864. content:
  3865. application/json:
  3866. schema:
  3867. $ref: '#/components/schemas/ApiEnvelope'
  3868. "/api/meta/node/edit":
  3869. post:
  3870. tags: [meta_data]
  3871. operationId: meta_data_meta_node_edit_post
  3872. summary: "meta node edit"
  3873. x-source: "app/api/meta_data/routes.py"
  3874. requestBody:
  3875. required: false
  3876. content:
  3877. application/json:
  3878. schema:
  3879. type: object
  3880. additionalProperties: true
  3881. responses:
  3882. "200":
  3883. description: "请求已由当前实现处理"
  3884. content:
  3885. application/json:
  3886. schema:
  3887. $ref: '#/components/schemas/ApiEnvelope'
  3888. default:
  3889. description: "错误响应"
  3890. content:
  3891. application/json:
  3892. schema:
  3893. $ref: '#/components/schemas/ApiEnvelope'
  3894. "/api/meta/node/graph":
  3895. post:
  3896. tags: [meta_data]
  3897. operationId: meta_data_meta_node_graph_post
  3898. summary: "meta node graph"
  3899. x-source: "app/api/meta_data/routes.py"
  3900. requestBody:
  3901. required: false
  3902. content:
  3903. application/json:
  3904. schema:
  3905. type: object
  3906. additionalProperties: true
  3907. responses:
  3908. "200":
  3909. description: "请求已由当前实现处理"
  3910. content:
  3911. application/json:
  3912. schema:
  3913. $ref: '#/components/schemas/ApiEnvelope'
  3914. default:
  3915. description: "错误响应"
  3916. content:
  3917. application/json:
  3918. schema:
  3919. $ref: '#/components/schemas/ApiEnvelope'
  3920. "/api/meta/node/list":
  3921. post:
  3922. tags: [meta_data]
  3923. operationId: meta_data_meta_node_list_post
  3924. summary: "meta node list"
  3925. x-source: "app/api/meta_data/routes.py"
  3926. requestBody:
  3927. required: false
  3928. content:
  3929. application/json:
  3930. schema:
  3931. type: object
  3932. additionalProperties: true
  3933. responses:
  3934. "200":
  3935. description: "请求已由当前实现处理"
  3936. content:
  3937. application/json:
  3938. schema:
  3939. $ref: '#/components/schemas/ApiEnvelope'
  3940. default:
  3941. description: "错误响应"
  3942. content:
  3943. application/json:
  3944. schema:
  3945. $ref: '#/components/schemas/ApiEnvelope'
  3946. "/api/meta/node/update":
  3947. post:
  3948. tags: [meta_data]
  3949. operationId: meta_data_meta_node_update_post
  3950. summary: "更新元数据节点"
  3951. x-source: "app/api/meta_data/routes.py"
  3952. requestBody:
  3953. required: false
  3954. content:
  3955. application/json:
  3956. schema:
  3957. type: object
  3958. additionalProperties: true
  3959. responses:
  3960. "200":
  3961. description: "请求已由当前实现处理"
  3962. content:
  3963. application/json:
  3964. schema:
  3965. $ref: '#/components/schemas/ApiEnvelope'
  3966. default:
  3967. description: "错误响应"
  3968. content:
  3969. application/json:
  3970. schema:
  3971. $ref: '#/components/schemas/ApiEnvelope'
  3972. "/api/meta/resource/display":
  3973. post:
  3974. tags: [meta_data]
  3975. operationId: meta_data_upload_file_display_post
  3976. summary: "upload file display"
  3977. x-source: "app/api/meta_data/routes.py"
  3978. requestBody:
  3979. required: false
  3980. content:
  3981. application/json:
  3982. schema:
  3983. type: object
  3984. additionalProperties: true
  3985. responses:
  3986. "200":
  3987. description: "请求已由当前实现处理"
  3988. content:
  3989. application/json:
  3990. schema:
  3991. $ref: '#/components/schemas/ApiEnvelope'
  3992. default:
  3993. description: "错误响应"
  3994. content:
  3995. application/json:
  3996. schema:
  3997. $ref: '#/components/schemas/ApiEnvelope'
  3998. "/api/meta/resource/download":
  3999. get:
  4000. tags: [meta_data]
  4001. operationId: meta_data_download_file_get
  4002. summary: "download file"
  4003. x-source: "app/api/meta_data/routes.py"
  4004. responses:
  4005. "200":
  4006. description: "请求已由当前实现处理"
  4007. content:
  4008. application/json:
  4009. schema:
  4010. $ref: '#/components/schemas/ApiEnvelope'
  4011. default:
  4012. description: "错误响应"
  4013. content:
  4014. application/json:
  4015. schema:
  4016. $ref: '#/components/schemas/ApiEnvelope'
  4017. "/api/meta/resource/node":
  4018. post:
  4019. tags: [meta_data]
  4020. operationId: meta_data_text_resource_node_post
  4021. summary: "text resource node"
  4022. x-source: "app/api/meta_data/routes.py"
  4023. requestBody:
  4024. required: false
  4025. content:
  4026. application/json:
  4027. schema:
  4028. type: object
  4029. additionalProperties: true
  4030. responses:
  4031. "200":
  4032. description: "请求已由当前实现处理"
  4033. content:
  4034. application/json:
  4035. schema:
  4036. $ref: '#/components/schemas/ApiEnvelope'
  4037. default:
  4038. description: "错误响应"
  4039. content:
  4040. application/json:
  4041. schema:
  4042. $ref: '#/components/schemas/ApiEnvelope'
  4043. "/api/meta/resource/translate":
  4044. post:
  4045. tags: [meta_data]
  4046. operationId: meta_data_text_resource_translate_post
  4047. summary: "text resource translate"
  4048. x-source: "app/api/meta_data/routes.py"
  4049. requestBody:
  4050. required: false
  4051. content:
  4052. application/json:
  4053. schema:
  4054. type: object
  4055. additionalProperties: true
  4056. responses:
  4057. "200":
  4058. description: "请求已由当前实现处理"
  4059. content:
  4060. application/json:
  4061. schema:
  4062. $ref: '#/components/schemas/ApiEnvelope'
  4063. default:
  4064. description: "错误响应"
  4065. content:
  4066. application/json:
  4067. schema:
  4068. $ref: '#/components/schemas/ApiEnvelope'
  4069. "/api/meta/resource/upload":
  4070. post:
  4071. tags: [meta_data]
  4072. operationId: meta_data_upload_file_post
  4073. summary: "upload file"
  4074. x-source: "app/api/meta_data/routes.py"
  4075. requestBody:
  4076. required: false
  4077. content:
  4078. application/json:
  4079. schema:
  4080. type: object
  4081. additionalProperties: true
  4082. responses:
  4083. "200":
  4084. description: "请求已由当前实现处理"
  4085. content:
  4086. application/json:
  4087. schema:
  4088. $ref: '#/components/schemas/ApiEnvelope'
  4089. default:
  4090. description: "错误响应"
  4091. content:
  4092. application/json:
  4093. schema:
  4094. $ref: '#/components/schemas/ApiEnvelope'
  4095. "/api/meta/review/create":
  4096. post:
  4097. tags: [meta_data]
  4098. operationId: meta_data_metadata_review_create_post
  4099. summary: "创建元数据审核记录"
  4100. x-source: "app/api/meta_data/routes.py"
  4101. requestBody:
  4102. required: false
  4103. content:
  4104. application/json:
  4105. schema:
  4106. type: object
  4107. additionalProperties: true
  4108. responses:
  4109. "200":
  4110. description: "请求已由当前实现处理"
  4111. content:
  4112. application/json:
  4113. schema:
  4114. $ref: '#/components/schemas/ApiEnvelope'
  4115. default:
  4116. description: "错误响应"
  4117. content:
  4118. application/json:
  4119. schema:
  4120. $ref: '#/components/schemas/ApiEnvelope'
  4121. "/api/meta/review/detail":
  4122. get:
  4123. tags: [meta_data]
  4124. operationId: meta_data_metadata_review_detail_get
  4125. summary: "审核记录详情"
  4126. x-source: "app/api/meta_data/routes.py"
  4127. responses:
  4128. "200":
  4129. description: "请求已由当前实现处理"
  4130. content:
  4131. application/json:
  4132. schema:
  4133. $ref: '#/components/schemas/ApiEnvelope'
  4134. default:
  4135. description: "错误响应"
  4136. content:
  4137. application/json:
  4138. schema:
  4139. $ref: '#/components/schemas/ApiEnvelope'
  4140. "/api/meta/review/list":
  4141. post:
  4142. tags: [meta_data]
  4143. operationId: meta_data_metadata_review_list_post
  4144. summary: "审核记录列表:疑似冗余/变动"
  4145. x-source: "app/api/meta_data/routes.py"
  4146. requestBody:
  4147. required: false
  4148. content:
  4149. application/json:
  4150. schema:
  4151. type: object
  4152. additionalProperties: true
  4153. responses:
  4154. "200":
  4155. description: "请求已由当前实现处理"
  4156. content:
  4157. application/json:
  4158. schema:
  4159. $ref: '#/components/schemas/ApiEnvelope'
  4160. default:
  4161. description: "错误响应"
  4162. content:
  4163. application/json:
  4164. schema:
  4165. $ref: '#/components/schemas/ApiEnvelope'
  4166. "/api/meta/review/resolve":
  4167. post:
  4168. tags: [meta_data]
  4169. operationId: meta_data_metadata_review_resolve_post
  4170. summary: "处理审核记录"
  4171. x-source: "app/api/meta_data/routes.py"
  4172. requestBody:
  4173. required: false
  4174. content:
  4175. application/json:
  4176. schema:
  4177. type: object
  4178. additionalProperties: true
  4179. responses:
  4180. "200":
  4181. description: "请求已由当前实现处理"
  4182. content:
  4183. application/json:
  4184. schema:
  4185. $ref: '#/components/schemas/ApiEnvelope'
  4186. default:
  4187. description: "错误响应"
  4188. content:
  4189. application/json:
  4190. schema:
  4191. $ref: '#/components/schemas/ApiEnvelope'
  4192. "/api/meta/search":
  4193. get:
  4194. tags: [meta_data]
  4195. operationId: meta_data_search_metadata_route_get
  4196. summary: "search metadata route"
  4197. x-source: "app/api/meta_data/routes.py"
  4198. responses:
  4199. "200":
  4200. description: "请求已由当前实现处理"
  4201. content:
  4202. application/json:
  4203. schema:
  4204. $ref: '#/components/schemas/ApiEnvelope'
  4205. default:
  4206. description: "错误响应"
  4207. content:
  4208. application/json:
  4209. schema:
  4210. $ref: '#/components/schemas/ApiEnvelope'
  4211. "/api/meta/text/graph":
  4212. post:
  4213. tags: [meta_data]
  4214. operationId: meta_data_create_text_graph_post
  4215. summary: "create text graph"
  4216. x-source: "app/api/meta_data/routes.py"
  4217. requestBody:
  4218. required: false
  4219. content:
  4220. application/json:
  4221. schema:
  4222. type: object
  4223. additionalProperties: true
  4224. responses:
  4225. "200":
  4226. description: "请求已由当前实现处理"
  4227. content:
  4228. application/json:
  4229. schema:
  4230. $ref: '#/components/schemas/ApiEnvelope'
  4231. default:
  4232. description: "错误响应"
  4233. content:
  4234. application/json:
  4235. schema:
  4236. $ref: '#/components/schemas/ApiEnvelope'
  4237. "/api/meta/unstructure/text/query":
  4238. post:
  4239. tags: [meta_data]
  4240. operationId: meta_data_unstructure_text_query_post
  4241. summary: "unstructure text query"
  4242. x-source: "app/api/meta_data/routes.py"
  4243. requestBody:
  4244. required: false
  4245. content:
  4246. application/json:
  4247. schema:
  4248. type: object
  4249. additionalProperties: true
  4250. responses:
  4251. "200":
  4252. description: "请求已由当前实现处理"
  4253. content:
  4254. application/json:
  4255. schema:
  4256. $ref: '#/components/schemas/ApiEnvelope'
  4257. default:
  4258. description: "错误响应"
  4259. content:
  4260. application/json:
  4261. schema:
  4262. $ref: '#/components/schemas/ApiEnvelope'
  4263. "/api/meta/unstructured/process":
  4264. post:
  4265. tags: [meta_data]
  4266. operationId: meta_data_processing_unstructured_data_post
  4267. summary: "processing unstructured data"
  4268. x-source: "app/api/meta_data/routes.py"
  4269. requestBody:
  4270. required: false
  4271. content:
  4272. application/json:
  4273. schema:
  4274. type: object
  4275. additionalProperties: true
  4276. responses:
  4277. "200":
  4278. description: "请求已由当前实现处理"
  4279. content:
  4280. application/json:
  4281. schema:
  4282. $ref: '#/components/schemas/ApiEnvelope'
  4283. default:
  4284. description: "错误响应"
  4285. content:
  4286. application/json:
  4287. schema:
  4288. $ref: '#/components/schemas/ApiEnvelope'
  4289. "/api/system/auth/login":
  4290. post:
  4291. tags: [system]
  4292. operationId: system_user_login_post
  4293. summary: "用户登录"
  4294. x-source: "app/api/system/routes.py"
  4295. requestBody:
  4296. required: false
  4297. content:
  4298. application/json:
  4299. schema:
  4300. type: object
  4301. additionalProperties: true
  4302. responses:
  4303. "200":
  4304. description: "请求已由当前实现处理"
  4305. content:
  4306. application/json:
  4307. schema:
  4308. $ref: '#/components/schemas/ApiEnvelope'
  4309. default:
  4310. description: "错误响应"
  4311. content:
  4312. application/json:
  4313. schema:
  4314. $ref: '#/components/schemas/ApiEnvelope'
  4315. "/api/system/auth/me":
  4316. get:
  4317. tags: [system]
  4318. operationId: system_current_user_get
  4319. summary: "current user"
  4320. x-source: "app/api/system/routes.py"
  4321. responses:
  4322. "200":
  4323. description: "请求已由当前实现处理"
  4324. content:
  4325. application/json:
  4326. schema:
  4327. $ref: '#/components/schemas/ApiEnvelope'
  4328. default:
  4329. description: "错误响应"
  4330. content:
  4331. application/json:
  4332. schema:
  4333. $ref: '#/components/schemas/ApiEnvelope'
  4334. "/api/system/config":
  4335. get:
  4336. tags: [system]
  4337. operationId: system_system_config_get
  4338. summary: "获取系统配置信息"
  4339. x-source: "app/api/system/routes.py"
  4340. responses:
  4341. "200":
  4342. description: "请求已由当前实现处理"
  4343. content:
  4344. application/json:
  4345. schema:
  4346. $ref: '#/components/schemas/ApiEnvelope'
  4347. default:
  4348. description: "错误响应"
  4349. content:
  4350. application/json:
  4351. schema:
  4352. $ref: '#/components/schemas/ApiEnvelope'
  4353. "/api/system/config/validate":
  4354. get:
  4355. tags: [system]
  4356. operationId: system_config_validate_get
  4357. summary: "验证系统配置的有效性"
  4358. x-source: "app/api/system/routes.py"
  4359. responses:
  4360. "200":
  4361. description: "请求已由当前实现处理"
  4362. content:
  4363. application/json:
  4364. schema:
  4365. $ref: '#/components/schemas/ApiEnvelope'
  4366. default:
  4367. description: "错误响应"
  4368. content:
  4369. application/json:
  4370. schema:
  4371. $ref: '#/components/schemas/ApiEnvelope'
  4372. "/api/system/health":
  4373. get:
  4374. tags: [system]
  4375. operationId: system_health_check_get
  4376. summary: "系统健康状态检查"
  4377. x-source: "app/api/system/routes.py"
  4378. responses:
  4379. "200":
  4380. description: "请求已由当前实现处理"
  4381. content:
  4382. application/json:
  4383. schema:
  4384. $ref: '#/components/schemas/ApiEnvelope'
  4385. default:
  4386. description: "错误响应"
  4387. content:
  4388. application/json:
  4389. schema:
  4390. $ref: '#/components/schemas/ApiEnvelope'
  4391. "/api/system/info":
  4392. get:
  4393. tags: [system]
  4394. operationId: system_system_info_get
  4395. summary: "获取系统运行环境信息"
  4396. x-source: "app/api/system/routes.py"
  4397. responses:
  4398. "200":
  4399. description: "请求已由当前实现处理"
  4400. content:
  4401. application/json:
  4402. schema:
  4403. $ref: '#/components/schemas/ApiEnvelope'
  4404. default:
  4405. description: "错误响应"
  4406. content:
  4407. application/json:
  4408. schema:
  4409. $ref: '#/components/schemas/ApiEnvelope'
  4410. "/api/system/responsibilities/{resource_type}/{resource_uid}":
  4411. get:
  4412. tags: [system]
  4413. operationId: system_get_responsibility_matrix_get
  4414. summary: "get responsibility matrix"
  4415. x-source: "app/api/system/routes.py"
  4416. parameters:
  4417. - name: resource_type
  4418. in: path
  4419. required: true
  4420. schema:
  4421. type: string
  4422. - name: resource_uid
  4423. in: path
  4424. required: true
  4425. schema:
  4426. type: string
  4427. responses:
  4428. "200":
  4429. description: "请求已由当前实现处理"
  4430. content:
  4431. application/json:
  4432. schema:
  4433. $ref: '#/components/schemas/ApiEnvelope'
  4434. default:
  4435. description: "错误响应"
  4436. content:
  4437. application/json:
  4438. schema:
  4439. $ref: '#/components/schemas/ApiEnvelope'
  4440. put:
  4441. tags: [system]
  4442. operationId: system_replace_responsibility_matrix_put
  4443. summary: "replace responsibility matrix"
  4444. x-source: "app/api/system/routes.py"
  4445. parameters:
  4446. - name: resource_type
  4447. in: path
  4448. required: true
  4449. schema:
  4450. type: string
  4451. - name: resource_uid
  4452. in: path
  4453. required: true
  4454. schema:
  4455. type: string
  4456. requestBody:
  4457. required: false
  4458. content:
  4459. application/json:
  4460. schema:
  4461. type: object
  4462. additionalProperties: true
  4463. responses:
  4464. "200":
  4465. description: "请求已由当前实现处理"
  4466. content:
  4467. application/json:
  4468. schema:
  4469. $ref: '#/components/schemas/ApiEnvelope'
  4470. default:
  4471. description: "错误响应"
  4472. content:
  4473. application/json:
  4474. schema:
  4475. $ref: '#/components/schemas/ApiEnvelope'
  4476. "/api/system/translate":
  4477. post:
  4478. tags: [system]
  4479. operationId: system_translate_post
  4480. summary: "翻译节点名称"
  4481. x-source: "app/api/system/routes.py"
  4482. requestBody:
  4483. required: false
  4484. content:
  4485. application/json:
  4486. schema:
  4487. type: object
  4488. additionalProperties: true
  4489. responses:
  4490. "200":
  4491. description: "请求已由当前实现处理"
  4492. content:
  4493. application/json:
  4494. schema:
  4495. $ref: '#/components/schemas/ApiEnvelope'
  4496. default:
  4497. description: "错误响应"
  4498. content:
  4499. application/json:
  4500. schema:
  4501. $ref: '#/components/schemas/ApiEnvelope'
  4502. "/api/system/users":
  4503. get:
  4504. tags: [system]
  4505. operationId: system_list_users_get
  4506. summary: "list users"
  4507. x-source: "app/api/system/routes.py"
  4508. responses:
  4509. "200":
  4510. description: "请求已由当前实现处理"
  4511. content:
  4512. application/json:
  4513. schema:
  4514. $ref: '#/components/schemas/ApiEnvelope'
  4515. default:
  4516. description: "错误响应"
  4517. content:
  4518. application/json:
  4519. schema:
  4520. $ref: '#/components/schemas/ApiEnvelope'
  4521. post:
  4522. tags: [system]
  4523. operationId: system_create_user_post
  4524. summary: "create user"
  4525. x-source: "app/api/system/routes.py"
  4526. requestBody:
  4527. required: false
  4528. content:
  4529. application/json:
  4530. schema:
  4531. type: object
  4532. additionalProperties: true
  4533. responses:
  4534. "200":
  4535. description: "请求已由当前实现处理"
  4536. content:
  4537. application/json:
  4538. schema:
  4539. $ref: '#/components/schemas/ApiEnvelope'
  4540. default:
  4541. description: "错误响应"
  4542. content:
  4543. application/json:
  4544. schema:
  4545. $ref: '#/components/schemas/ApiEnvelope'
  4546. "/api/system/users/{user_id}":
  4547. put:
  4548. tags: [system]
  4549. operationId: system_update_user_put
  4550. summary: "update user"
  4551. x-source: "app/api/system/routes.py"
  4552. parameters:
  4553. - name: user_id
  4554. in: path
  4555. required: true
  4556. schema:
  4557. type: string
  4558. requestBody:
  4559. required: false
  4560. content:
  4561. application/json:
  4562. schema:
  4563. type: object
  4564. additionalProperties: true
  4565. responses:
  4566. "200":
  4567. description: "请求已由当前实现处理"
  4568. content:
  4569. application/json:
  4570. schema:
  4571. $ref: '#/components/schemas/ApiEnvelope'
  4572. default:
  4573. description: "错误响应"
  4574. content:
  4575. application/json:
  4576. schema:
  4577. $ref: '#/components/schemas/ApiEnvelope'
  4578. "/api/system/users/{user_id}/roles":
  4579. put:
  4580. tags: [system]
  4581. operationId: system_update_user_roles_put
  4582. summary: "update user roles"
  4583. x-source: "app/api/system/routes.py"
  4584. parameters:
  4585. - name: user_id
  4586. in: path
  4587. required: true
  4588. schema:
  4589. type: string
  4590. requestBody:
  4591. required: false
  4592. content:
  4593. application/json:
  4594. schema:
  4595. type: object
  4596. additionalProperties: true
  4597. responses:
  4598. "200":
  4599. description: "请求已由当前实现处理"
  4600. content:
  4601. application/json:
  4602. schema:
  4603. $ref: '#/components/schemas/ApiEnvelope'
  4604. default:
  4605. description: "错误响应"
  4606. content:
  4607. application/json:
  4608. schema:
  4609. $ref: '#/components/schemas/ApiEnvelope'
  4610. "/api/system/workbench/layout":
  4611. get:
  4612. tags: [system]
  4613. operationId: system_get_workbench_layout_get
  4614. summary: "get workbench layout"
  4615. x-source: "app/api/system/routes.py"
  4616. responses:
  4617. "200":
  4618. description: "请求已由当前实现处理"
  4619. content:
  4620. application/json:
  4621. schema:
  4622. $ref: '#/components/schemas/ApiEnvelope'
  4623. default:
  4624. description: "错误响应"
  4625. content:
  4626. application/json:
  4627. schema:
  4628. $ref: '#/components/schemas/ApiEnvelope'
  4629. put:
  4630. tags: [system]
  4631. operationId: system_put_workbench_layout_put
  4632. summary: "put workbench layout"
  4633. x-source: "app/api/system/routes.py"
  4634. requestBody:
  4635. required: false
  4636. content:
  4637. application/json:
  4638. schema:
  4639. type: object
  4640. additionalProperties: true
  4641. responses:
  4642. "200":
  4643. description: "请求已由当前实现处理"
  4644. content:
  4645. application/json:
  4646. schema:
  4647. $ref: '#/components/schemas/ApiEnvelope'
  4648. default:
  4649. description: "错误响应"
  4650. content:
  4651. application/json:
  4652. schema:
  4653. $ref: '#/components/schemas/ApiEnvelope'
  4654. "/api/system/workbench/registry":
  4655. get:
  4656. tags: [system]
  4657. operationId: system_workbench_registry_get
  4658. summary: "workbench registry"
  4659. x-source: "app/api/system/routes.py"
  4660. responses:
  4661. "200":
  4662. description: "请求已由当前实现处理"
  4663. content:
  4664. application/json:
  4665. schema:
  4666. $ref: '#/components/schemas/ApiEnvelope'
  4667. default:
  4668. description: "错误响应"
  4669. content:
  4670. application/json:
  4671. schema:
  4672. $ref: '#/components/schemas/ApiEnvelope'
  4673. components:
  4674. schemas:
  4675. ApiEnvelope:
  4676. type: object
  4677. additionalProperties: true
  4678. properties:
  4679. success:
  4680. type: boolean
  4681. code:
  4682. type: integer
  4683. message:
  4684. type: string
  4685. data: {}
  4686. timestamp:
  4687. type: integer
  4688. securitySchemes:
  4689. bearerAuth:
  4690. type: http
  4691. scheme: bearer
  4692. bearerFormat: JWT
  4693. description: "下一阶段统一认证方案;当前路由尚未全部接入。"