OPENAPI.yaml 152 KB

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