OPENAPI.yaml 149 KB

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