routes.json 235 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974
  1. {
  2. "activity": {
  3. "checkNotificationThreadSubscription": {
  4. "method": "GET",
  5. "params": {
  6. "id": {
  7. "alias": "thread_id",
  8. "deprecated": true
  9. },
  10. "thread_id": {
  11. "required": true,
  12. "type": "string"
  13. }
  14. },
  15. "url": "/notifications/threads/:thread_id/subscription"
  16. },
  17. "checkStarringRepo": {
  18. "method": "GET",
  19. "params": {
  20. "owner": {
  21. "required": true,
  22. "type": "string"
  23. },
  24. "repo": {
  25. "required": true,
  26. "type": "string"
  27. }
  28. },
  29. "url": "/user/starred/:owner/:repo"
  30. },
  31. "deleteNotificationThreadSubscription": {
  32. "method": "DELETE",
  33. "params": {
  34. "id": {
  35. "alias": "thread_id",
  36. "deprecated": true
  37. },
  38. "thread_id": {
  39. "required": true,
  40. "type": "string"
  41. }
  42. },
  43. "url": "/notifications/threads/:thread_id/subscription"
  44. },
  45. "getEvents": {
  46. "method": "GET",
  47. "params": {
  48. "page": {
  49. "type": "integer"
  50. },
  51. "per_page": {
  52. "type": "integer"
  53. }
  54. },
  55. "url": "/events"
  56. },
  57. "getEventsForOrg": {
  58. "method": "GET",
  59. "params": {
  60. "org": {
  61. "required": true,
  62. "type": "string"
  63. },
  64. "page": {
  65. "type": "integer"
  66. },
  67. "per_page": {
  68. "type": "integer"
  69. }
  70. },
  71. "url": "/orgs/:org/events"
  72. },
  73. "getEventsForRepo": {
  74. "method": "GET",
  75. "params": {
  76. "owner": {
  77. "required": true,
  78. "type": "string"
  79. },
  80. "page": {
  81. "type": "integer"
  82. },
  83. "per_page": {
  84. "type": "integer"
  85. },
  86. "repo": {
  87. "required": true,
  88. "type": "string"
  89. }
  90. },
  91. "url": "/repos/:owner/:repo/events"
  92. },
  93. "getEventsForRepoIssues": {
  94. "alias": "issues.getEventsForRepo",
  95. "deprecated": "`activity.getEventsForRepoIssues()` is deprecated, use `issues.getEventsForRepo`",
  96. "params": {}
  97. },
  98. "getEventsForRepoNetwork": {
  99. "method": "GET",
  100. "params": {
  101. "owner": {
  102. "required": true,
  103. "type": "string"
  104. },
  105. "page": {
  106. "type": "integer"
  107. },
  108. "per_page": {
  109. "type": "integer"
  110. },
  111. "repo": {
  112. "required": true,
  113. "type": "string"
  114. }
  115. },
  116. "url": "/networks/:owner/:repo/events"
  117. },
  118. "getEventsForUser": {
  119. "method": "GET",
  120. "params": {
  121. "page": {
  122. "type": "integer"
  123. },
  124. "per_page": {
  125. "type": "integer"
  126. },
  127. "username": {
  128. "required": true,
  129. "type": "string"
  130. }
  131. },
  132. "url": "/users/:username/events"
  133. },
  134. "getEventsForUserOrg": {
  135. "method": "GET",
  136. "params": {
  137. "org": {
  138. "required": true,
  139. "type": "string"
  140. },
  141. "page": {
  142. "type": "integer"
  143. },
  144. "per_page": {
  145. "type": "integer"
  146. },
  147. "username": {
  148. "required": true,
  149. "type": "string"
  150. }
  151. },
  152. "url": "/users/:username/events/orgs/:org"
  153. },
  154. "getEventsForUserPublic": {
  155. "method": "GET",
  156. "params": {
  157. "page": {
  158. "type": "integer"
  159. },
  160. "per_page": {
  161. "type": "integer"
  162. },
  163. "username": {
  164. "required": true,
  165. "type": "string"
  166. }
  167. },
  168. "url": "/users/:username/events/public"
  169. },
  170. "getEventsReceived": {
  171. "method": "GET",
  172. "params": {
  173. "page": {
  174. "type": "integer"
  175. },
  176. "per_page": {
  177. "type": "integer"
  178. },
  179. "username": {
  180. "required": true,
  181. "type": "string"
  182. }
  183. },
  184. "url": "/users/:username/received_events"
  185. },
  186. "getEventsReceivedPublic": {
  187. "method": "GET",
  188. "params": {
  189. "page": {
  190. "type": "integer"
  191. },
  192. "per_page": {
  193. "type": "integer"
  194. },
  195. "username": {
  196. "required": true,
  197. "type": "string"
  198. }
  199. },
  200. "url": "/users/:username/received_events/public"
  201. },
  202. "getFeeds": {
  203. "method": "GET",
  204. "params": {},
  205. "url": "/feeds"
  206. },
  207. "getNotificationThread": {
  208. "method": "GET",
  209. "params": {
  210. "id": {
  211. "alias": "thread_id",
  212. "deprecated": true
  213. },
  214. "thread_id": {
  215. "required": true,
  216. "type": "string"
  217. }
  218. },
  219. "url": "/notifications/threads/:thread_id"
  220. },
  221. "getNotifications": {
  222. "method": "GET",
  223. "params": {
  224. "all": {
  225. "type": "boolean"
  226. },
  227. "before": {
  228. "type": "string"
  229. },
  230. "page": {
  231. "type": "integer"
  232. },
  233. "participating": {
  234. "type": "boolean"
  235. },
  236. "per_page": {
  237. "type": "integer"
  238. },
  239. "since": {
  240. "type": "string"
  241. }
  242. },
  243. "url": "/notifications"
  244. },
  245. "getNotificationsForUser": {
  246. "method": "GET",
  247. "params": {
  248. "all": {
  249. "type": "boolean"
  250. },
  251. "before": {
  252. "type": "string"
  253. },
  254. "owner": {
  255. "required": true,
  256. "type": "string"
  257. },
  258. "page": {
  259. "type": "integer"
  260. },
  261. "participating": {
  262. "type": "boolean"
  263. },
  264. "per_page": {
  265. "type": "integer"
  266. },
  267. "repo": {
  268. "required": true,
  269. "type": "string"
  270. },
  271. "since": {
  272. "type": "string"
  273. }
  274. },
  275. "url": "/repos/:owner/:repo/notifications"
  276. },
  277. "getRepoSubscription": {
  278. "method": "GET",
  279. "params": {
  280. "owner": {
  281. "required": true,
  282. "type": "string"
  283. },
  284. "repo": {
  285. "required": true,
  286. "type": "string"
  287. }
  288. },
  289. "url": "/repos/:owner/:repo/subscription"
  290. },
  291. "getStargazersForRepo": {
  292. "headers": {
  293. "accept": "application/vnd.github.v3.star+json"
  294. },
  295. "method": "GET",
  296. "params": {
  297. "owner": {
  298. "required": true,
  299. "type": "string"
  300. },
  301. "page": {
  302. "type": "integer"
  303. },
  304. "per_page": {
  305. "type": "integer"
  306. },
  307. "repo": {
  308. "required": true,
  309. "type": "string"
  310. }
  311. },
  312. "url": "/repos/:owner/:repo/stargazers"
  313. },
  314. "getStarredRepos": {
  315. "headers": {
  316. "accept": "application/vnd.github.v3.star+json"
  317. },
  318. "method": "GET",
  319. "params": {
  320. "direction": {
  321. "enum": [
  322. "asc",
  323. "desc"
  324. ],
  325. "type": "string"
  326. },
  327. "page": {
  328. "type": "integer"
  329. },
  330. "per_page": {
  331. "type": "integer"
  332. },
  333. "sort": {
  334. "enum": [
  335. "created",
  336. "updated"
  337. ],
  338. "type": "string"
  339. }
  340. },
  341. "url": "/user/starred"
  342. },
  343. "getStarredReposForUser": {
  344. "headers": {
  345. "accept": "application/vnd.github.v3.star+json"
  346. },
  347. "method": "GET",
  348. "params": {
  349. "direction": {
  350. "enum": [
  351. "asc",
  352. "desc"
  353. ],
  354. "type": "string"
  355. },
  356. "page": {
  357. "type": "integer"
  358. },
  359. "per_page": {
  360. "type": "integer"
  361. },
  362. "sort": {
  363. "enum": [
  364. "created",
  365. "updated"
  366. ],
  367. "type": "string"
  368. },
  369. "username": {
  370. "required": true,
  371. "type": "string"
  372. }
  373. },
  374. "url": "/users/:username/starred"
  375. },
  376. "getWatchedRepos": {
  377. "method": "GET",
  378. "params": {
  379. "page": {
  380. "type": "integer"
  381. },
  382. "per_page": {
  383. "type": "integer"
  384. }
  385. },
  386. "url": "/user/subscriptions"
  387. },
  388. "getWatchedReposForUser": {
  389. "method": "GET",
  390. "params": {
  391. "page": {
  392. "type": "integer"
  393. },
  394. "per_page": {
  395. "type": "integer"
  396. },
  397. "username": {
  398. "required": true,
  399. "type": "string"
  400. }
  401. },
  402. "url": "/users/:username/subscriptions"
  403. },
  404. "getWatchersForRepo": {
  405. "method": "GET",
  406. "params": {
  407. "owner": {
  408. "required": true,
  409. "type": "string"
  410. },
  411. "page": {
  412. "type": "integer"
  413. },
  414. "per_page": {
  415. "type": "integer"
  416. },
  417. "repo": {
  418. "required": true,
  419. "type": "string"
  420. }
  421. },
  422. "url": "/repos/:owner/:repo/subscribers"
  423. },
  424. "markNotificationThreadAsRead": {
  425. "method": "PATCH",
  426. "params": {
  427. "id": {
  428. "alias": "thread_id",
  429. "deprecated": true
  430. },
  431. "thread_id": {
  432. "required": true,
  433. "type": "string"
  434. }
  435. },
  436. "url": "/notifications/threads/:thread_id"
  437. },
  438. "markNotificationsAsRead": {
  439. "method": "PUT",
  440. "params": {
  441. "last_read_at": {
  442. "type": "string"
  443. }
  444. },
  445. "url": "/notifications"
  446. },
  447. "markNotificationsAsReadForRepo": {
  448. "method": "PUT",
  449. "params": {
  450. "last_read_at": {
  451. "type": "string"
  452. },
  453. "owner": {
  454. "required": true,
  455. "type": "string"
  456. },
  457. "repo": {
  458. "required": true,
  459. "type": "string"
  460. }
  461. },
  462. "url": "/repos/:owner/:repo/notifications"
  463. },
  464. "setNotificationThreadSubscription": {
  465. "method": "PUT",
  466. "params": {
  467. "id": {
  468. "alias": "thread_id",
  469. "deprecated": true
  470. },
  471. "ignored": {
  472. "type": "boolean"
  473. },
  474. "thread_id": {
  475. "required": true,
  476. "type": "string"
  477. }
  478. },
  479. "url": "/notifications/threads/:thread_id/subscription"
  480. },
  481. "setRepoSubscription": {
  482. "method": "PUT",
  483. "params": {
  484. "ignored": {
  485. "type": "boolean"
  486. },
  487. "owner": {
  488. "required": true,
  489. "type": "string"
  490. },
  491. "repo": {
  492. "required": true,
  493. "type": "string"
  494. },
  495. "subscribed": {
  496. "type": "boolean"
  497. }
  498. },
  499. "url": "/repos/:owner/:repo/subscription"
  500. },
  501. "starRepo": {
  502. "method": "PUT",
  503. "params": {
  504. "owner": {
  505. "required": true,
  506. "type": "string"
  507. },
  508. "repo": {
  509. "required": true,
  510. "type": "string"
  511. }
  512. },
  513. "url": "/user/starred/:owner/:repo"
  514. },
  515. "unstarRepo": {
  516. "method": "DELETE",
  517. "params": {
  518. "owner": {
  519. "required": true,
  520. "type": "string"
  521. },
  522. "repo": {
  523. "required": true,
  524. "type": "string"
  525. }
  526. },
  527. "url": "/user/starred/:owner/:repo"
  528. },
  529. "unwatchRepo": {
  530. "method": "DELETE",
  531. "params": {
  532. "owner": {
  533. "required": true,
  534. "type": "string"
  535. },
  536. "repo": {
  537. "required": true,
  538. "type": "string"
  539. }
  540. },
  541. "url": "/repos/:owner/:repo/subscription"
  542. }
  543. },
  544. "apps": {
  545. "addRepoToInstallation": {
  546. "headers": {
  547. "accept": "application/vnd.github.machine-man-preview+json"
  548. },
  549. "method": "PUT",
  550. "params": {
  551. "installation_id": {
  552. "required": true,
  553. "type": "string"
  554. },
  555. "repository_id": {
  556. "required": true,
  557. "type": "string"
  558. }
  559. },
  560. "url": "/user/installations/:installation_id/repositories/:repository_id"
  561. },
  562. "checkMarketplaceListingAccount": {
  563. "headers": {
  564. "accept": "application/vnd.github.valkyrie-preview+json"
  565. },
  566. "method": "GET",
  567. "params": {
  568. "account_id": {
  569. "required": true,
  570. "type": "string"
  571. },
  572. "id": {
  573. "alias": "account_id",
  574. "deprecated": true
  575. },
  576. "page": {
  577. "type": "integer"
  578. },
  579. "per_page": {
  580. "type": "integer"
  581. }
  582. },
  583. "url": "/marketplace_listing/accounts/:account_id"
  584. },
  585. "checkMarketplaceListingStubbedAccount": {
  586. "headers": {
  587. "accept": "application/vnd.github.valkyrie-preview+json"
  588. },
  589. "method": "GET",
  590. "params": {
  591. "account_id": {
  592. "required": true,
  593. "type": "string"
  594. },
  595. "id": {
  596. "alias": "account_id",
  597. "deprecated": true
  598. },
  599. "page": {
  600. "type": "integer"
  601. },
  602. "per_page": {
  603. "type": "integer"
  604. }
  605. },
  606. "url": "/marketplace_listing/stubbed/accounts/:account_id"
  607. },
  608. "createInstallationToken": {
  609. "headers": {
  610. "accept": "application/vnd.github.machine-man-preview+json"
  611. },
  612. "method": "POST",
  613. "params": {
  614. "installation_id": {
  615. "required": true,
  616. "type": "string"
  617. }
  618. },
  619. "url": "/installations/:installation_id/access_tokens"
  620. },
  621. "get": {
  622. "method": "GET",
  623. "params": {},
  624. "url": "/app"
  625. },
  626. "getForSlug": {
  627. "headers": {
  628. "accept": "application/vnd.github.machine-man-preview+json"
  629. },
  630. "method": "GET",
  631. "params": {
  632. "app_slug": {
  633. "required": true,
  634. "type": "string"
  635. }
  636. },
  637. "url": "/apps/:app_slug"
  638. },
  639. "getInstallation": {
  640. "headers": {
  641. "accept": "application/vnd.github.machine-man-preview+json"
  642. },
  643. "method": "GET",
  644. "params": {
  645. "installation_id": {
  646. "required": true,
  647. "type": "string"
  648. }
  649. },
  650. "url": "/app/installations/:installation_id"
  651. },
  652. "getInstallationRepositories": {
  653. "headers": {
  654. "accept": "application/vnd.github.machine-man-preview+json"
  655. },
  656. "method": "GET",
  657. "params": {
  658. "page": {
  659. "type": "integer"
  660. },
  661. "per_page": {
  662. "type": "integer"
  663. }
  664. },
  665. "url": "/installation/repositories"
  666. },
  667. "getInstallations": {
  668. "headers": {
  669. "accept": "application/vnd.github.machine-man-preview+json"
  670. },
  671. "method": "GET",
  672. "params": {
  673. "page": {
  674. "type": "integer"
  675. },
  676. "per_page": {
  677. "type": "integer"
  678. }
  679. },
  680. "url": "/app/installations"
  681. },
  682. "getMarketplaceListingPlanAccounts": {
  683. "headers": {
  684. "accept": "application/vnd.github.valkyrie-preview+json"
  685. },
  686. "method": "GET",
  687. "params": {
  688. "direction": {
  689. "enum": [
  690. "asc",
  691. "desc"
  692. ],
  693. "type": "string"
  694. },
  695. "id": {
  696. "alias": "plan_id",
  697. "deprecated": true
  698. },
  699. "page": {
  700. "type": "integer"
  701. },
  702. "per_page": {
  703. "type": "integer"
  704. },
  705. "plan_id": {
  706. "required": true,
  707. "type": "string"
  708. },
  709. "sort": {
  710. "enum": [
  711. "created",
  712. "updated"
  713. ],
  714. "type": "string"
  715. }
  716. },
  717. "url": "/marketplace_listing/plans/:plan_id/accounts"
  718. },
  719. "getMarketplaceListingPlans": {
  720. "headers": {
  721. "accept": "application/vnd.github.valkyrie-preview+json"
  722. },
  723. "method": "GET",
  724. "params": {
  725. "page": {
  726. "type": "integer"
  727. },
  728. "per_page": {
  729. "type": "integer"
  730. }
  731. },
  732. "url": "/marketplace_listing/plans"
  733. },
  734. "getMarketplaceListingStubbedPlanAccounts": {
  735. "headers": {
  736. "accept": "application/vnd.github.valkyrie-preview+json"
  737. },
  738. "method": "GET",
  739. "params": {
  740. "direction": {
  741. "enum": [
  742. "asc",
  743. "desc"
  744. ],
  745. "type": "string"
  746. },
  747. "id": {
  748. "alias": "plan_id",
  749. "deprecated": true
  750. },
  751. "page": {
  752. "type": "integer"
  753. },
  754. "per_page": {
  755. "type": "integer"
  756. },
  757. "plan_id": {
  758. "required": true,
  759. "type": "string"
  760. },
  761. "sort": {
  762. "enum": [
  763. "created",
  764. "updated"
  765. ],
  766. "type": "string"
  767. }
  768. },
  769. "url": "/marketplace_listing/stubbed/plans/:plan_id/accounts"
  770. },
  771. "getMarketplaceListingStubbedPlans": {
  772. "headers": {
  773. "accept": "application/vnd.github.valkyrie-preview+json"
  774. },
  775. "method": "GET",
  776. "params": {
  777. "page": {
  778. "type": "integer"
  779. },
  780. "per_page": {
  781. "type": "integer"
  782. }
  783. },
  784. "url": "/marketplace_listing/stubbed/plans"
  785. },
  786. "removeRepoFromInstallation": {
  787. "headers": {
  788. "accept": "application/vnd.github.machine-man-preview+json"
  789. },
  790. "method": "DELETE",
  791. "params": {
  792. "installation_id": {
  793. "required": true,
  794. "type": "string"
  795. },
  796. "repository_id": {
  797. "required": true,
  798. "type": "string"
  799. }
  800. },
  801. "url": "/user/installations/:installation_id/repositories/:repository_id"
  802. }
  803. },
  804. "authorization": {
  805. "check": {
  806. "method": "GET",
  807. "params": {
  808. "access_token": {
  809. "required": true,
  810. "type": "string"
  811. },
  812. "client_id": {
  813. "required": true,
  814. "type": "string"
  815. }
  816. },
  817. "url": "/applications/:client_id/tokens/:access_token"
  818. },
  819. "create": {
  820. "method": "POST",
  821. "params": {
  822. "client_id": {
  823. "type": "string"
  824. },
  825. "client_secret": {
  826. "type": "string"
  827. },
  828. "fingerprint": {
  829. "type": "string"
  830. },
  831. "note": {
  832. "required": true,
  833. "type": "string"
  834. },
  835. "note_url": {
  836. "type": "string"
  837. },
  838. "scopes": {
  839. "type": "string[]"
  840. }
  841. },
  842. "url": "/authorizations"
  843. },
  844. "delete": {
  845. "method": "DELETE",
  846. "params": {
  847. "authorization_id": {
  848. "required": true,
  849. "type": "string"
  850. },
  851. "id": {
  852. "alias": "authorization_id",
  853. "deprecated": true
  854. }
  855. },
  856. "url": "/authorizations/:authorization_id"
  857. },
  858. "deleteGrant": {
  859. "method": "DELETE",
  860. "params": {
  861. "grant_id": {
  862. "required": true,
  863. "type": "string"
  864. },
  865. "id": {
  866. "alias": "grant_id",
  867. "deprecated": true
  868. }
  869. },
  870. "url": "/applications/grants/:grant_id"
  871. },
  872. "get": {
  873. "method": "GET",
  874. "params": {
  875. "authorization_id": {
  876. "required": true,
  877. "type": "string"
  878. },
  879. "id": {
  880. "alias": "authorization_id",
  881. "deprecated": true
  882. }
  883. },
  884. "url": "/authorizations/:authorization_id"
  885. },
  886. "getAll": {
  887. "method": "GET",
  888. "params": {
  889. "page": {
  890. "type": "integer"
  891. },
  892. "per_page": {
  893. "type": "integer"
  894. }
  895. },
  896. "url": "/authorizations"
  897. },
  898. "getGrant": {
  899. "method": "GET",
  900. "params": {
  901. "grant_id": {
  902. "required": true,
  903. "type": "string"
  904. },
  905. "id": {
  906. "alias": "grant_id",
  907. "deprecated": true
  908. }
  909. },
  910. "url": "/applications/grants/:grant_id"
  911. },
  912. "getGrants": {
  913. "method": "GET",
  914. "params": {
  915. "page": {
  916. "type": "integer"
  917. },
  918. "per_page": {
  919. "type": "integer"
  920. }
  921. },
  922. "url": "/applications/grants"
  923. },
  924. "getOrCreateAuthorizationForApp": {
  925. "method": "PUT",
  926. "params": {
  927. "client_id": {
  928. "required": true,
  929. "type": "string"
  930. },
  931. "client_secret": {
  932. "required": true,
  933. "type": "string"
  934. },
  935. "fingerprint": {
  936. "type": "string"
  937. },
  938. "note": {
  939. "type": "string"
  940. },
  941. "note_url": {
  942. "type": "string"
  943. },
  944. "scopes": {
  945. "type": "string[]"
  946. }
  947. },
  948. "url": "/authorizations/clients/:client_id"
  949. },
  950. "getOrCreateAuthorizationForAppAndFingerprint": {
  951. "method": "PUT",
  952. "params": {
  953. "client_id": {
  954. "required": true,
  955. "type": "string"
  956. },
  957. "client_secret": {
  958. "required": true,
  959. "type": "string"
  960. },
  961. "fingerprint": {
  962. "required": true,
  963. "type": "string"
  964. },
  965. "note": {
  966. "type": "string"
  967. },
  968. "note_url": {
  969. "type": "string"
  970. },
  971. "scopes": {
  972. "type": "string[]"
  973. }
  974. },
  975. "url": "/authorizations/clients/:client_id/:fingerprint"
  976. },
  977. "reset": {
  978. "method": "POST",
  979. "params": {
  980. "access_token": {
  981. "required": true,
  982. "type": "string"
  983. },
  984. "client_id": {
  985. "required": true,
  986. "type": "string"
  987. }
  988. },
  989. "url": "/applications/:client_id/tokens/:access_token"
  990. },
  991. "revoke": {
  992. "method": "DELETE",
  993. "params": {
  994. "access_token": {
  995. "required": true,
  996. "type": "string"
  997. },
  998. "client_id": {
  999. "required": true,
  1000. "type": "string"
  1001. }
  1002. },
  1003. "url": "/applications/:client_id/tokens/:access_token"
  1004. },
  1005. "revokeGrant": {
  1006. "method": "DELETE",
  1007. "params": {
  1008. "access_token": {
  1009. "required": true,
  1010. "type": "string"
  1011. },
  1012. "client_id": {
  1013. "required": true,
  1014. "type": "string"
  1015. }
  1016. },
  1017. "url": "/applications/:client_id/grants/:access_token"
  1018. },
  1019. "update": {
  1020. "method": "PATCH",
  1021. "params": {
  1022. "add_scopes": {
  1023. "type": "string[]"
  1024. },
  1025. "authorization_id": {
  1026. "required": true,
  1027. "type": "string"
  1028. },
  1029. "fingerprint": {
  1030. "type": "string"
  1031. },
  1032. "id": {
  1033. "alias": "authorization_id",
  1034. "deprecated": true
  1035. },
  1036. "note": {
  1037. "type": "string"
  1038. },
  1039. "note_url": {
  1040. "type": "string"
  1041. },
  1042. "remove_scopes": {
  1043. "type": "string[]"
  1044. },
  1045. "scopes": {
  1046. "type": "string[]"
  1047. }
  1048. },
  1049. "url": "/authorizations/:authorization_id"
  1050. }
  1051. },
  1052. "checks": {
  1053. "create": {
  1054. "headers": {
  1055. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1056. },
  1057. "method": "POST",
  1058. "params": {
  1059. "actions": {
  1060. "type": "object"
  1061. },
  1062. "actions.description": {
  1063. "required": true,
  1064. "type": "string"
  1065. },
  1066. "actions.identifier": {
  1067. "required": true,
  1068. "type": "string"
  1069. },
  1070. "actions.label": {
  1071. "required": true,
  1072. "type": "string"
  1073. },
  1074. "completed_at": {
  1075. "type": "string"
  1076. },
  1077. "conclusion": {
  1078. "enum": [
  1079. "success",
  1080. "failure",
  1081. "neutral",
  1082. "cancelled",
  1083. "timed_out",
  1084. "action_required",
  1085. "details_url"
  1086. ],
  1087. "type": "string"
  1088. },
  1089. "details_url": {
  1090. "type": "string"
  1091. },
  1092. "external_id": {
  1093. "type": "string"
  1094. },
  1095. "head_branch": {
  1096. "required": true,
  1097. "type": "string"
  1098. },
  1099. "head_sha": {
  1100. "required": true,
  1101. "type": "string"
  1102. },
  1103. "name": {
  1104. "required": true,
  1105. "type": "string"
  1106. },
  1107. "output": {
  1108. "type": "object"
  1109. },
  1110. "output.annotations": {
  1111. "type": "object[]"
  1112. },
  1113. "output.annotations[].blob_href": {
  1114. "required": true,
  1115. "type": "string"
  1116. },
  1117. "output.annotations[].end_line": {
  1118. "required": true,
  1119. "type": "integer"
  1120. },
  1121. "output.annotations[].filename": {
  1122. "required": true,
  1123. "type": "string"
  1124. },
  1125. "output.annotations[].message": {
  1126. "required": true,
  1127. "type": "string"
  1128. },
  1129. "output.annotations[].raw_details": {
  1130. "type": "string"
  1131. },
  1132. "output.annotations[].start_line": {
  1133. "required": true,
  1134. "type": "integer"
  1135. },
  1136. "output.annotations[].title": {
  1137. "type": "string"
  1138. },
  1139. "output.annotations[].warning_level": {
  1140. "enum": [
  1141. "notice",
  1142. "warning",
  1143. "failure"
  1144. ],
  1145. "required": true,
  1146. "type": "string"
  1147. },
  1148. "output.images": {
  1149. "type": "object[]"
  1150. },
  1151. "output.images[].alt": {
  1152. "required": true,
  1153. "type": "string"
  1154. },
  1155. "output.images[].caption": {
  1156. "type": "string"
  1157. },
  1158. "output.images[].image_url": {
  1159. "required": true,
  1160. "type": "string"
  1161. },
  1162. "output.summary": {
  1163. "required": true,
  1164. "type": "string"
  1165. },
  1166. "output.text": {
  1167. "type": "string"
  1168. },
  1169. "output.title": {
  1170. "required": true,
  1171. "type": "string"
  1172. },
  1173. "owner": {
  1174. "required": true,
  1175. "type": "string"
  1176. },
  1177. "repo": {
  1178. "required": true,
  1179. "type": "string"
  1180. },
  1181. "started_at": {
  1182. "type": "string"
  1183. },
  1184. "status": {
  1185. "enum": [
  1186. "queued",
  1187. "in_progress",
  1188. "completed"
  1189. ],
  1190. "type": "string"
  1191. }
  1192. },
  1193. "url": "/repos/:owner/:repo/check-runs"
  1194. },
  1195. "createSuite": {
  1196. "headers": {
  1197. "accept": "application/vnd.github.antiope-preview+json"
  1198. },
  1199. "method": "POST",
  1200. "params": {
  1201. "head_branch": {
  1202. "type": "string"
  1203. },
  1204. "head_sha": {
  1205. "required": true,
  1206. "type": "string"
  1207. },
  1208. "owner": {
  1209. "required": true,
  1210. "type": "string"
  1211. },
  1212. "repo": {
  1213. "required": true,
  1214. "type": "string"
  1215. }
  1216. },
  1217. "url": "/repos/:owner/:repo/check-suites"
  1218. },
  1219. "get": {
  1220. "headers": {
  1221. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1222. },
  1223. "method": "GET",
  1224. "params": {
  1225. "check_run_id": {
  1226. "required": true,
  1227. "type": "string"
  1228. },
  1229. "owner": {
  1230. "required": true,
  1231. "type": "string"
  1232. },
  1233. "repo": {
  1234. "required": true,
  1235. "type": "string"
  1236. }
  1237. },
  1238. "url": "/repos/:owner/:repo/check-runs/:check_run_id"
  1239. },
  1240. "getSuite": {
  1241. "headers": {
  1242. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1243. },
  1244. "method": "GET",
  1245. "params": {
  1246. "check_suite_id": {
  1247. "required": true,
  1248. "type": "string"
  1249. },
  1250. "owner": {
  1251. "required": true,
  1252. "type": "string"
  1253. },
  1254. "repo": {
  1255. "required": true,
  1256. "type": "string"
  1257. }
  1258. },
  1259. "url": "/repos/:owner/:repo/check-suites/:check_suite_id"
  1260. },
  1261. "listAnnotations": {
  1262. "headers": {
  1263. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1264. },
  1265. "method": "GET",
  1266. "params": {
  1267. "check_run_id": {
  1268. "required": true,
  1269. "type": "string"
  1270. },
  1271. "owner": {
  1272. "required": true,
  1273. "type": "string"
  1274. },
  1275. "page": {
  1276. "type": "integer"
  1277. },
  1278. "per_page": {
  1279. "type": "integer"
  1280. },
  1281. "repo": {
  1282. "required": true,
  1283. "type": "string"
  1284. }
  1285. },
  1286. "url": "/repos/:owner/:repo/check-runs/:check_run_id/annotations"
  1287. },
  1288. "listForRef": {
  1289. "headers": {
  1290. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1291. },
  1292. "method": "GET",
  1293. "params": {
  1294. "check_name": {
  1295. "type": "string"
  1296. },
  1297. "filter": {
  1298. "enum": [
  1299. "latest",
  1300. "all"
  1301. ],
  1302. "type": "string"
  1303. },
  1304. "owner": {
  1305. "required": true,
  1306. "type": "string"
  1307. },
  1308. "page": {
  1309. "type": "integer"
  1310. },
  1311. "per_page": {
  1312. "type": "integer"
  1313. },
  1314. "ref": {
  1315. "required": true,
  1316. "type": "string"
  1317. },
  1318. "repo": {
  1319. "required": true,
  1320. "type": "string"
  1321. },
  1322. "status": {
  1323. "enum": [
  1324. "queued",
  1325. "in_progress",
  1326. "completed"
  1327. ],
  1328. "type": "string"
  1329. }
  1330. },
  1331. "url": "/repos/:owner/:repo/commits/:ref/check-runs"
  1332. },
  1333. "listForSuite": {
  1334. "headers": {
  1335. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1336. },
  1337. "method": "GET",
  1338. "params": {
  1339. "check_name": {
  1340. "type": "string"
  1341. },
  1342. "check_suite_id": {
  1343. "required": true,
  1344. "type": "string"
  1345. },
  1346. "filter": {
  1347. "enum": [
  1348. "latest",
  1349. "all"
  1350. ],
  1351. "type": "string"
  1352. },
  1353. "id": {
  1354. "alias": "check_suite_id",
  1355. "deprecated": true
  1356. },
  1357. "owner": {
  1358. "required": true,
  1359. "type": "string"
  1360. },
  1361. "page": {
  1362. "type": "integer"
  1363. },
  1364. "per_page": {
  1365. "type": "integer"
  1366. },
  1367. "repo": {
  1368. "required": true,
  1369. "type": "string"
  1370. },
  1371. "status": {
  1372. "enum": [
  1373. "queued",
  1374. "in_progress",
  1375. "completed"
  1376. ],
  1377. "type": "string"
  1378. }
  1379. },
  1380. "url": "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"
  1381. },
  1382. "listSuitesForRef": {
  1383. "headers": {
  1384. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1385. },
  1386. "method": "GET",
  1387. "params": {
  1388. "app_id": {
  1389. "type": "integer"
  1390. },
  1391. "check_name": {
  1392. "type": "string"
  1393. },
  1394. "owner": {
  1395. "required": true,
  1396. "type": "string"
  1397. },
  1398. "page": {
  1399. "type": "integer"
  1400. },
  1401. "per_page": {
  1402. "type": "integer"
  1403. },
  1404. "ref": {
  1405. "required": true,
  1406. "type": "string"
  1407. },
  1408. "repo": {
  1409. "required": true,
  1410. "type": "string"
  1411. }
  1412. },
  1413. "url": "/repos/:owner/:repo/commits/:ref/check-suites"
  1414. },
  1415. "requestSuites": {
  1416. "headers": {
  1417. "accept": "application/vnd.github.antiope-preview+json"
  1418. },
  1419. "method": "POST",
  1420. "params": {
  1421. "head_sha": {
  1422. "type": "string"
  1423. },
  1424. "owner": {
  1425. "required": true,
  1426. "type": "string"
  1427. },
  1428. "repo": {
  1429. "required": true,
  1430. "type": "string"
  1431. }
  1432. },
  1433. "url": "/repos/:owner/:repo/check-suite-requests"
  1434. },
  1435. "setSuitesPreferences": {
  1436. "headers": {
  1437. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1438. },
  1439. "method": "PATCH",
  1440. "params": {
  1441. "auto_trigger_checks": {
  1442. "type": "object[]"
  1443. },
  1444. "auto_trigger_checks[].app_id": {
  1445. "required": true,
  1446. "type": "integer"
  1447. },
  1448. "auto_trigger_checks[].setting": {
  1449. "required": true,
  1450. "type": "boolean"
  1451. },
  1452. "owner": {
  1453. "required": true,
  1454. "type": "string"
  1455. },
  1456. "repo": {
  1457. "required": true,
  1458. "type": "string"
  1459. }
  1460. },
  1461. "url": "/repos/:owner/:repo/check-suites/preferences"
  1462. },
  1463. "update": {
  1464. "headers": {
  1465. "accept": "application/vnd.github.antiope-preview+json,application/vnd.github.machine-man-preview+json"
  1466. },
  1467. "method": "PATCH",
  1468. "params": {
  1469. "actions": {
  1470. "type": "object"
  1471. },
  1472. "actions.description": {
  1473. "required": true,
  1474. "type": "string"
  1475. },
  1476. "actions.identifier": {
  1477. "required": true,
  1478. "type": "string"
  1479. },
  1480. "actions.label": {
  1481. "required": true,
  1482. "type": "string"
  1483. },
  1484. "check_run_id": {
  1485. "required": true,
  1486. "type": "string"
  1487. },
  1488. "completed_at": {
  1489. "type": "string"
  1490. },
  1491. "conclusion": {
  1492. "enum": [
  1493. "success",
  1494. "failure",
  1495. "neutral",
  1496. "cancelled",
  1497. "timed_out",
  1498. "action_required",
  1499. "details_url"
  1500. ],
  1501. "type": "string"
  1502. },
  1503. "details_url": {
  1504. "type": "string"
  1505. },
  1506. "external_id": {
  1507. "type": "string"
  1508. },
  1509. "name": {
  1510. "required": true,
  1511. "type": "string"
  1512. },
  1513. "output": {
  1514. "type": "object"
  1515. },
  1516. "output.annotations": {
  1517. "type": "object[]"
  1518. },
  1519. "output.annotations[].blob_href": {
  1520. "required": true,
  1521. "type": "string"
  1522. },
  1523. "output.annotations[].end_line": {
  1524. "required": true,
  1525. "type": "integer"
  1526. },
  1527. "output.annotations[].filename": {
  1528. "required": true,
  1529. "type": "string"
  1530. },
  1531. "output.annotations[].message": {
  1532. "required": true,
  1533. "type": "string"
  1534. },
  1535. "output.annotations[].raw_details": {
  1536. "type": "string"
  1537. },
  1538. "output.annotations[].start_line": {
  1539. "required": true,
  1540. "type": "integer"
  1541. },
  1542. "output.annotations[].title": {
  1543. "type": "string"
  1544. },
  1545. "output.annotations[].warning_level": {
  1546. "enum": [
  1547. "notice",
  1548. "warning",
  1549. "failure"
  1550. ],
  1551. "required": true,
  1552. "type": "string"
  1553. },
  1554. "output.images": {
  1555. "type": "object[]"
  1556. },
  1557. "output.images[].alt": {
  1558. "required": true,
  1559. "type": "string"
  1560. },
  1561. "output.images[].caption": {
  1562. "type": "string"
  1563. },
  1564. "output.images[].image_url": {
  1565. "required": true,
  1566. "type": "string"
  1567. },
  1568. "output.summary": {
  1569. "required": true,
  1570. "type": "string"
  1571. },
  1572. "output.text": {
  1573. "type": "string"
  1574. },
  1575. "output.title": {
  1576. "type": "string"
  1577. },
  1578. "owner": {
  1579. "required": true,
  1580. "type": "string"
  1581. },
  1582. "repo": {
  1583. "required": true,
  1584. "type": "string"
  1585. },
  1586. "started_at": {
  1587. "type": "string"
  1588. },
  1589. "status": {
  1590. "enum": [
  1591. "queued",
  1592. "in_progress",
  1593. "completed"
  1594. ],
  1595. "type": "string"
  1596. }
  1597. },
  1598. "url": "/repos/:owner/:repo/check-runs/:check_run_id"
  1599. }
  1600. },
  1601. "enterprise": {
  1602. "createOrg": {
  1603. "method": "POST",
  1604. "params": {
  1605. "admin": {
  1606. "required": true,
  1607. "type": "string"
  1608. },
  1609. "login": {
  1610. "required": true,
  1611. "type": "string"
  1612. },
  1613. "profile_name": {
  1614. "type": "string"
  1615. }
  1616. },
  1617. "url": "/admin/organizations"
  1618. },
  1619. "createPreReceiveEnvironment": {
  1620. "headers": {
  1621. "accept": "application/vnd.github.eye-scream-preview"
  1622. },
  1623. "method": "POST",
  1624. "params": {
  1625. "image_url": {
  1626. "required": true,
  1627. "type": "string"
  1628. },
  1629. "name": {
  1630. "required": true,
  1631. "type": "string"
  1632. }
  1633. },
  1634. "url": "/admin/pre-receive-environments"
  1635. },
  1636. "createPreReceiveHook": {
  1637. "headers": {
  1638. "accept": "application/vnd.github.eye-scream-preview"
  1639. },
  1640. "method": "POST",
  1641. "params": {
  1642. "allow_downstream_configuration": {
  1643. "type": "boolean"
  1644. },
  1645. "enforcement": {
  1646. "type": "string"
  1647. },
  1648. "environment": {
  1649. "required": true,
  1650. "type": "object"
  1651. },
  1652. "name": {
  1653. "required": true,
  1654. "type": "string"
  1655. },
  1656. "script": {
  1657. "required": true,
  1658. "type": "string"
  1659. },
  1660. "script_repository": {
  1661. "required": true,
  1662. "type": "object"
  1663. }
  1664. },
  1665. "url": "/admin/pre-receive-hooks"
  1666. },
  1667. "deletePreReceiveEnvironment": {
  1668. "method": "DELETE",
  1669. "params": {
  1670. "id": {
  1671. "required": true,
  1672. "type": "string"
  1673. }
  1674. },
  1675. "url": "/admin/pre-receive-environments/:id"
  1676. },
  1677. "deletePreReceiveHook": {
  1678. "method": "DELETE",
  1679. "params": {
  1680. "id": {
  1681. "required": true,
  1682. "type": "string"
  1683. }
  1684. },
  1685. "url": "/admin/pre_receive_hooks/:id"
  1686. },
  1687. "editPreReceiveEnvironment": {
  1688. "method": "PATCH",
  1689. "params": {
  1690. "id": {
  1691. "required": true,
  1692. "type": "string"
  1693. },
  1694. "image_url": {
  1695. "required": true,
  1696. "type": "string"
  1697. },
  1698. "name": {
  1699. "required": true,
  1700. "type": "string"
  1701. }
  1702. },
  1703. "url": "/admin/pre-receive-environments/:id"
  1704. },
  1705. "editPreReceiveHook": {
  1706. "method": "PATCH",
  1707. "params": {
  1708. "hook": {
  1709. "mapTo": "input",
  1710. "required": true,
  1711. "type": "object"
  1712. },
  1713. "id": {
  1714. "required": true,
  1715. "type": "string"
  1716. }
  1717. },
  1718. "url": "/admin/pre_receive_hooks/:id"
  1719. },
  1720. "getLicense": {
  1721. "method": "GET",
  1722. "params": {},
  1723. "url": "/enterprise/settings/license"
  1724. },
  1725. "getPreReceiveEnvironment": {
  1726. "headers": {
  1727. "accept": "application/vnd.github.eye-scream-preview"
  1728. },
  1729. "method": "GET",
  1730. "params": {
  1731. "id": {
  1732. "required": true,
  1733. "type": "string"
  1734. }
  1735. },
  1736. "url": "/admin/pre-receive-environments/:id"
  1737. },
  1738. "getPreReceiveEnvironmentDownloadStatus": {
  1739. "headers": {
  1740. "accept": "application/vnd.github.eye-scream-preview"
  1741. },
  1742. "method": "GET",
  1743. "params": {
  1744. "id": {
  1745. "required": true,
  1746. "type": "string"
  1747. }
  1748. },
  1749. "url": "/admin/pre-receive-environments/:id/downloads/latest"
  1750. },
  1751. "getPreReceiveEnvironments": {
  1752. "headers": {
  1753. "accept": "application/vnd.github.eye-scream-preview"
  1754. },
  1755. "method": "GET",
  1756. "params": {},
  1757. "url": "/admin/pre-receive-environments"
  1758. },
  1759. "getPreReceiveHook": {
  1760. "headers": {
  1761. "accept": "application/vnd.github.eye-scream-preview"
  1762. },
  1763. "method": "GET",
  1764. "params": {
  1765. "id": {
  1766. "required": true,
  1767. "type": "string"
  1768. }
  1769. },
  1770. "url": "/admin/pre-receive-hooks/:id"
  1771. },
  1772. "getPreReceiveHooks": {
  1773. "headers": {
  1774. "accept": "application/vnd.github.eye-scream-preview"
  1775. },
  1776. "method": "GET",
  1777. "params": {},
  1778. "url": "/admin/pre-receive-hooks"
  1779. },
  1780. "queueIndexingJob": {
  1781. "method": "POST",
  1782. "params": {
  1783. "target": {
  1784. "required": true,
  1785. "type": "string"
  1786. }
  1787. },
  1788. "url": "/staff/indexing_jobs"
  1789. },
  1790. "stats": {
  1791. "method": "GET",
  1792. "params": {
  1793. "type": {
  1794. "enum": [
  1795. "issues",
  1796. "hooks",
  1797. "milestones",
  1798. "orgs",
  1799. "comments",
  1800. "pages",
  1801. "users",
  1802. "gists",
  1803. "pulls",
  1804. "repos",
  1805. "all"
  1806. ],
  1807. "required": true,
  1808. "type": "string"
  1809. }
  1810. },
  1811. "url": "/enterprise/stats/:type"
  1812. },
  1813. "syncLdapForTeam": {
  1814. "method": "POST",
  1815. "params": {
  1816. "team_id": {
  1817. "required": true,
  1818. "type": "integer"
  1819. }
  1820. },
  1821. "url": "/admin/ldap/teams/:team_id/sync"
  1822. },
  1823. "syncLdapForUser": {
  1824. "method": "POST",
  1825. "params": {
  1826. "username": {
  1827. "required": true,
  1828. "type": "string"
  1829. }
  1830. },
  1831. "url": "/admin/ldap/users/:username/sync"
  1832. },
  1833. "triggerPreReceiveEnvironmentDownload": {
  1834. "headers": {
  1835. "accept": "application/vnd.github.eye-scream-preview"
  1836. },
  1837. "method": "POST",
  1838. "params": {
  1839. "id": {
  1840. "required": true,
  1841. "type": "string"
  1842. }
  1843. },
  1844. "url": "/admin/pre-receive-environments/:id/downloads"
  1845. },
  1846. "updateLdapForTeam": {
  1847. "method": "PATCH",
  1848. "params": {
  1849. "ldap_dn": {
  1850. "required": true,
  1851. "type": "string"
  1852. },
  1853. "team_id": {
  1854. "required": true,
  1855. "type": "integer"
  1856. }
  1857. },
  1858. "url": "/admin/ldap/teams/:team_id/mapping"
  1859. },
  1860. "updateLdapForUser": {
  1861. "method": "PATCH",
  1862. "params": {
  1863. "ldap_dn": {
  1864. "required": true,
  1865. "type": "string"
  1866. },
  1867. "username": {
  1868. "required": true,
  1869. "type": "string"
  1870. }
  1871. },
  1872. "url": "/admin/ldap/users/:username/mapping"
  1873. }
  1874. },
  1875. "gists": {
  1876. "checkStar": {
  1877. "method": "GET",
  1878. "params": {
  1879. "gist_id": {
  1880. "required": true,
  1881. "type": "string"
  1882. },
  1883. "id": {
  1884. "alias": "gist_id",
  1885. "deprecated": true
  1886. }
  1887. },
  1888. "url": "/gists/:gist_id/star"
  1889. },
  1890. "create": {
  1891. "method": "POST",
  1892. "params": {
  1893. "description": {
  1894. "type": "string"
  1895. },
  1896. "files": {
  1897. "required": true,
  1898. "type": "object"
  1899. },
  1900. "public": {
  1901. "type": "boolean"
  1902. }
  1903. },
  1904. "url": "/gists"
  1905. },
  1906. "createComment": {
  1907. "method": "POST",
  1908. "params": {
  1909. "body": {
  1910. "required": true,
  1911. "type": "string"
  1912. },
  1913. "gist_id": {
  1914. "required": true,
  1915. "type": "string"
  1916. }
  1917. },
  1918. "url": "/gists/:gist_id/comments"
  1919. },
  1920. "delete": {
  1921. "method": "DELETE",
  1922. "params": {
  1923. "gist_id": {
  1924. "required": true,
  1925. "type": "string"
  1926. },
  1927. "id": {
  1928. "alias": "gist_id",
  1929. "deprecated": true
  1930. }
  1931. },
  1932. "url": "/gists/:gist_id"
  1933. },
  1934. "deleteComment": {
  1935. "method": "DELETE",
  1936. "params": {
  1937. "comment_id": {
  1938. "required": true,
  1939. "type": "string"
  1940. },
  1941. "gist_id": {
  1942. "required": true,
  1943. "type": "string"
  1944. },
  1945. "id": {
  1946. "alias": "comment_id",
  1947. "deprecated": true
  1948. }
  1949. },
  1950. "url": "/gists/:gist_id/comments/:comment_id"
  1951. },
  1952. "edit": {
  1953. "method": "PATCH",
  1954. "params": {
  1955. "content": {
  1956. "type": "string"
  1957. },
  1958. "description": {
  1959. "type": "string"
  1960. },
  1961. "filename": {
  1962. "type": "string"
  1963. },
  1964. "files": {
  1965. "type": "object"
  1966. },
  1967. "gist_id": {
  1968. "required": true,
  1969. "type": "string"
  1970. },
  1971. "id": {
  1972. "alias": "gist_id",
  1973. "deprecated": true
  1974. }
  1975. },
  1976. "url": "/gists/:gist_id"
  1977. },
  1978. "editComment": {
  1979. "method": "PATCH",
  1980. "params": {
  1981. "body": {
  1982. "required": true,
  1983. "type": "string"
  1984. },
  1985. "comment_id": {
  1986. "required": true,
  1987. "type": "string"
  1988. },
  1989. "gist_id": {
  1990. "required": true,
  1991. "type": "string"
  1992. },
  1993. "id": {
  1994. "alias": "comment_id",
  1995. "deprecated": true
  1996. }
  1997. },
  1998. "url": "/gists/:gist_id/comments/:comment_id"
  1999. },
  2000. "fork": {
  2001. "method": "POST",
  2002. "params": {
  2003. "gist_id": {
  2004. "required": true,
  2005. "type": "string"
  2006. },
  2007. "id": {
  2008. "alias": "gist_id",
  2009. "deprecated": true
  2010. }
  2011. },
  2012. "url": "/gists/:gist_id/forks"
  2013. },
  2014. "get": {
  2015. "method": "GET",
  2016. "params": {
  2017. "gist_id": {
  2018. "required": true,
  2019. "type": "string"
  2020. },
  2021. "id": {
  2022. "alias": "gist_id",
  2023. "deprecated": true
  2024. }
  2025. },
  2026. "url": "/gists/:gist_id"
  2027. },
  2028. "getAll": {
  2029. "method": "GET",
  2030. "params": {
  2031. "page": {
  2032. "type": "integer"
  2033. },
  2034. "per_page": {
  2035. "type": "integer"
  2036. },
  2037. "since": {
  2038. "type": "string"
  2039. }
  2040. },
  2041. "url": "/gists"
  2042. },
  2043. "getComment": {
  2044. "method": "GET",
  2045. "params": {
  2046. "comment_id": {
  2047. "required": true,
  2048. "type": "string"
  2049. },
  2050. "gist_id": {
  2051. "required": true,
  2052. "type": "string"
  2053. },
  2054. "id": {
  2055. "alias": "comment_id",
  2056. "deprecated": true
  2057. }
  2058. },
  2059. "url": "/gists/:gist_id/comments/:comment_id"
  2060. },
  2061. "getComments": {
  2062. "method": "GET",
  2063. "params": {
  2064. "gist_id": {
  2065. "required": true,
  2066. "type": "string"
  2067. },
  2068. "page": {
  2069. "type": "integer"
  2070. },
  2071. "per_page": {
  2072. "type": "integer"
  2073. }
  2074. },
  2075. "url": "/gists/:gist_id/comments"
  2076. },
  2077. "getCommits": {
  2078. "method": "GET",
  2079. "params": {
  2080. "gist_id": {
  2081. "required": true,
  2082. "type": "string"
  2083. },
  2084. "id": {
  2085. "alias": "gist_id",
  2086. "deprecated": true
  2087. },
  2088. "page": {
  2089. "type": "integer"
  2090. },
  2091. "per_page": {
  2092. "type": "integer"
  2093. }
  2094. },
  2095. "url": "/gists/:gist_id/commits"
  2096. },
  2097. "getForUser": {
  2098. "method": "GET",
  2099. "params": {
  2100. "page": {
  2101. "type": "integer"
  2102. },
  2103. "per_page": {
  2104. "type": "integer"
  2105. },
  2106. "since": {
  2107. "type": "string"
  2108. },
  2109. "username": {
  2110. "required": true,
  2111. "type": "string"
  2112. }
  2113. },
  2114. "url": "/users/:username/gists"
  2115. },
  2116. "getForks": {
  2117. "method": "GET",
  2118. "params": {
  2119. "gist_id": {
  2120. "required": true,
  2121. "type": "string"
  2122. },
  2123. "id": {
  2124. "alias": "gist_id",
  2125. "deprecated": true
  2126. },
  2127. "page": {
  2128. "type": "integer"
  2129. },
  2130. "per_page": {
  2131. "type": "integer"
  2132. }
  2133. },
  2134. "url": "/gists/:gist_id/forks"
  2135. },
  2136. "getPublic": {
  2137. "method": "GET",
  2138. "params": {
  2139. "page": {
  2140. "type": "integer"
  2141. },
  2142. "per_page": {
  2143. "type": "integer"
  2144. },
  2145. "since": {
  2146. "type": "string"
  2147. }
  2148. },
  2149. "url": "/gists/public"
  2150. },
  2151. "getRevision": {
  2152. "method": "GET",
  2153. "params": {
  2154. "gist_id": {
  2155. "required": true,
  2156. "type": "string"
  2157. },
  2158. "id": {
  2159. "alias": "gist_id",
  2160. "deprecated": true
  2161. },
  2162. "sha": {
  2163. "required": true,
  2164. "type": "string"
  2165. }
  2166. },
  2167. "url": "/gists/:gist_id/:sha"
  2168. },
  2169. "getStarred": {
  2170. "method": "GET",
  2171. "params": {
  2172. "page": {
  2173. "type": "integer"
  2174. },
  2175. "per_page": {
  2176. "type": "integer"
  2177. },
  2178. "since": {
  2179. "type": "string"
  2180. }
  2181. },
  2182. "url": "/gists/starred"
  2183. },
  2184. "star": {
  2185. "method": "PUT",
  2186. "params": {
  2187. "gist_id": {
  2188. "required": true,
  2189. "type": "string"
  2190. },
  2191. "id": {
  2192. "alias": "gist_id",
  2193. "deprecated": true
  2194. }
  2195. },
  2196. "url": "/gists/:gist_id/star"
  2197. },
  2198. "unstar": {
  2199. "method": "DELETE",
  2200. "params": {
  2201. "gist_id": {
  2202. "required": true,
  2203. "type": "string"
  2204. },
  2205. "id": {
  2206. "alias": "gist_id",
  2207. "deprecated": true
  2208. }
  2209. },
  2210. "url": "/gists/:gist_id/star"
  2211. }
  2212. },
  2213. "gitdata": {
  2214. "createBlob": {
  2215. "method": "POST",
  2216. "params": {
  2217. "content": {
  2218. "required": true,
  2219. "type": "string"
  2220. },
  2221. "encoding": {
  2222. "type": "string"
  2223. },
  2224. "owner": {
  2225. "required": true,
  2226. "type": "string"
  2227. },
  2228. "repo": {
  2229. "required": true,
  2230. "type": "string"
  2231. }
  2232. },
  2233. "url": "/repos/:owner/:repo/git/blobs"
  2234. },
  2235. "createCommit": {
  2236. "method": "POST",
  2237. "params": {
  2238. "author": {
  2239. "type": "object"
  2240. },
  2241. "committer": {
  2242. "type": "object"
  2243. },
  2244. "message": {
  2245. "required": true,
  2246. "type": "string"
  2247. },
  2248. "owner": {
  2249. "required": true,
  2250. "type": "string"
  2251. },
  2252. "parents": {
  2253. "required": true,
  2254. "type": "string[]"
  2255. },
  2256. "repo": {
  2257. "required": true,
  2258. "type": "string"
  2259. },
  2260. "tree": {
  2261. "required": true,
  2262. "type": "string"
  2263. }
  2264. },
  2265. "url": "/repos/:owner/:repo/git/commits"
  2266. },
  2267. "createReference": {
  2268. "method": "POST",
  2269. "params": {
  2270. "owner": {
  2271. "required": true,
  2272. "type": "string"
  2273. },
  2274. "ref": {
  2275. "required": true,
  2276. "type": "string"
  2277. },
  2278. "repo": {
  2279. "required": true,
  2280. "type": "string"
  2281. },
  2282. "sha": {
  2283. "required": true,
  2284. "type": "string"
  2285. }
  2286. },
  2287. "url": "/repos/:owner/:repo/git/refs"
  2288. },
  2289. "createTag": {
  2290. "method": "POST",
  2291. "params": {
  2292. "message": {
  2293. "required": true,
  2294. "type": "string"
  2295. },
  2296. "object": {
  2297. "required": true,
  2298. "type": "string"
  2299. },
  2300. "owner": {
  2301. "required": true,
  2302. "type": "string"
  2303. },
  2304. "repo": {
  2305. "required": true,
  2306. "type": "string"
  2307. },
  2308. "tag": {
  2309. "required": true,
  2310. "type": "string"
  2311. },
  2312. "tagger": {
  2313. "type": "object"
  2314. },
  2315. "tagger.date": {
  2316. "type": "string"
  2317. },
  2318. "tagger.email": {
  2319. "type": "string"
  2320. },
  2321. "tagger.name": {
  2322. "type": "string"
  2323. },
  2324. "type": {
  2325. "enum": [
  2326. "commit",
  2327. "tree",
  2328. "blob"
  2329. ],
  2330. "required": true,
  2331. "type": "string"
  2332. }
  2333. },
  2334. "url": "/repos/:owner/:repo/git/tags"
  2335. },
  2336. "createTree": {
  2337. "method": "POST",
  2338. "params": {
  2339. "base_tree": {
  2340. "type": "string"
  2341. },
  2342. "owner": {
  2343. "required": true,
  2344. "type": "string"
  2345. },
  2346. "repo": {
  2347. "required": true,
  2348. "type": "string"
  2349. },
  2350. "tree": {
  2351. "required": true,
  2352. "type": "object[]"
  2353. },
  2354. "tree[].content": {
  2355. "type": "string"
  2356. },
  2357. "tree[].mode": {
  2358. "enum": [
  2359. "100644",
  2360. "100755",
  2361. "040000",
  2362. "160000",
  2363. "120000"
  2364. ],
  2365. "type": "string"
  2366. },
  2367. "tree[].path": {
  2368. "type": "string"
  2369. },
  2370. "tree[].sha": {
  2371. "type": "string"
  2372. },
  2373. "tree[].type": {
  2374. "enum": [
  2375. "blob",
  2376. "tree",
  2377. "commit"
  2378. ],
  2379. "type": "string"
  2380. }
  2381. },
  2382. "url": "/repos/:owner/:repo/git/trees"
  2383. },
  2384. "deleteReference": {
  2385. "method": "DELETE",
  2386. "params": {
  2387. "owner": {
  2388. "required": true,
  2389. "type": "string"
  2390. },
  2391. "ref": {
  2392. "required": true,
  2393. "type": "string"
  2394. },
  2395. "repo": {
  2396. "required": true,
  2397. "type": "string"
  2398. }
  2399. },
  2400. "url": "/repos/:owner/:repo/git/refs/:ref"
  2401. },
  2402. "getBlob": {
  2403. "method": "GET",
  2404. "params": {
  2405. "file_sha": {
  2406. "required": true,
  2407. "type": "string"
  2408. },
  2409. "owner": {
  2410. "required": true,
  2411. "type": "string"
  2412. },
  2413. "repo": {
  2414. "required": true,
  2415. "type": "string"
  2416. },
  2417. "sha": {
  2418. "alias": "file_sha",
  2419. "deprecated": true
  2420. }
  2421. },
  2422. "url": "/repos/:owner/:repo/git/blobs/:file_sha"
  2423. },
  2424. "getCommit": {
  2425. "method": "GET",
  2426. "params": {
  2427. "commit_sha": {
  2428. "required": true,
  2429. "type": "string"
  2430. },
  2431. "owner": {
  2432. "required": true,
  2433. "type": "string"
  2434. },
  2435. "repo": {
  2436. "required": true,
  2437. "type": "string"
  2438. },
  2439. "sha": {
  2440. "alias": "commit_sha",
  2441. "deprecated": true
  2442. }
  2443. },
  2444. "url": "/repos/:owner/:repo/git/commits/:commit_sha"
  2445. },
  2446. "getCommitSignatureVerification": {
  2447. "method": "GET",
  2448. "params": {
  2449. "commit_sha": {
  2450. "required": true,
  2451. "type": "string"
  2452. },
  2453. "owner": {
  2454. "required": true,
  2455. "type": "string"
  2456. },
  2457. "repo": {
  2458. "required": true,
  2459. "type": "string"
  2460. },
  2461. "sha": {
  2462. "alias": "commit_sha",
  2463. "deprecated": true
  2464. }
  2465. },
  2466. "url": "/repos/:owner/:repo/git/commits/:commit_sha"
  2467. },
  2468. "getReference": {
  2469. "method": "GET",
  2470. "params": {
  2471. "owner": {
  2472. "required": true,
  2473. "type": "string"
  2474. },
  2475. "ref": {
  2476. "required": true,
  2477. "type": "string"
  2478. },
  2479. "repo": {
  2480. "required": true,
  2481. "type": "string"
  2482. }
  2483. },
  2484. "url": "/repos/:owner/:repo/git/refs/:ref"
  2485. },
  2486. "getReferences": {
  2487. "method": "GET",
  2488. "params": {
  2489. "owner": {
  2490. "required": true,
  2491. "type": "string"
  2492. },
  2493. "page": {
  2494. "type": "integer"
  2495. },
  2496. "per_page": {
  2497. "type": "integer"
  2498. },
  2499. "repo": {
  2500. "required": true,
  2501. "type": "string"
  2502. }
  2503. },
  2504. "url": "/repos/:owner/:repo/git/refs"
  2505. },
  2506. "getTag": {
  2507. "method": "GET",
  2508. "params": {
  2509. "owner": {
  2510. "required": true,
  2511. "type": "string"
  2512. },
  2513. "repo": {
  2514. "required": true,
  2515. "type": "string"
  2516. },
  2517. "sha": {
  2518. "alias": "tag_sha",
  2519. "deprecated": true
  2520. },
  2521. "tag_sha": {
  2522. "required": true,
  2523. "type": "string"
  2524. }
  2525. },
  2526. "url": "/repos/:owner/:repo/git/tags/:tag_sha"
  2527. },
  2528. "getTagSignatureVerification": {
  2529. "method": "GET",
  2530. "params": {
  2531. "owner": {
  2532. "required": true,
  2533. "type": "string"
  2534. },
  2535. "repo": {
  2536. "required": true,
  2537. "type": "string"
  2538. },
  2539. "sha": {
  2540. "alias": "tag_sha",
  2541. "deprecated": true
  2542. },
  2543. "tag_sha": {
  2544. "required": true,
  2545. "type": "string"
  2546. }
  2547. },
  2548. "url": "/repos/:owner/:repo/git/tags/:tag_sha"
  2549. },
  2550. "getTags": {
  2551. "method": "GET",
  2552. "params": {
  2553. "owner": {
  2554. "required": true,
  2555. "type": "string"
  2556. },
  2557. "page": {
  2558. "type": "integer"
  2559. },
  2560. "per_page": {
  2561. "type": "integer"
  2562. },
  2563. "repo": {
  2564. "required": true,
  2565. "type": "string"
  2566. }
  2567. },
  2568. "url": "/repos/:owner/:repo/git/refs/tags"
  2569. },
  2570. "getTree": {
  2571. "method": "GET",
  2572. "params": {
  2573. "owner": {
  2574. "required": true,
  2575. "type": "string"
  2576. },
  2577. "recursive": {
  2578. "enum": [
  2579. 1
  2580. ],
  2581. "type": "integer"
  2582. },
  2583. "repo": {
  2584. "required": true,
  2585. "type": "string"
  2586. },
  2587. "sha": {
  2588. "alias": "tree_sha",
  2589. "deprecated": true
  2590. },
  2591. "tree_sha": {
  2592. "required": true,
  2593. "type": "string"
  2594. }
  2595. },
  2596. "url": "/repos/:owner/:repo/git/trees/:tree_sha"
  2597. },
  2598. "updateReference": {
  2599. "method": "PATCH",
  2600. "params": {
  2601. "force": {
  2602. "type": "boolean"
  2603. },
  2604. "owner": {
  2605. "required": true,
  2606. "type": "string"
  2607. },
  2608. "ref": {
  2609. "required": true,
  2610. "type": "string"
  2611. },
  2612. "repo": {
  2613. "required": true,
  2614. "type": "string"
  2615. },
  2616. "sha": {
  2617. "required": true,
  2618. "type": "string"
  2619. }
  2620. },
  2621. "url": "/repos/:owner/:repo/git/refs/:ref"
  2622. }
  2623. },
  2624. "integrations": {
  2625. "addRepoToInstallation": {
  2626. "deprecated": "`integrations` has been renamed to `apps`",
  2627. "headers": {
  2628. "accept": "application/vnd.github.machine-man-preview+json"
  2629. },
  2630. "method": "PUT",
  2631. "params": {
  2632. "installation_id": {
  2633. "required": true,
  2634. "type": "string"
  2635. },
  2636. "repository_id": {
  2637. "required": true,
  2638. "type": "string"
  2639. }
  2640. },
  2641. "url": "/user/installations/:installation_id/repositories/:repository_id"
  2642. },
  2643. "createInstallationToken": {
  2644. "deprecated": "`integrations` has been renamed to `apps`",
  2645. "headers": {
  2646. "accept": "application/vnd.github.machine-man-preview+json"
  2647. },
  2648. "method": "POST",
  2649. "params": {
  2650. "installation_id": {
  2651. "required": true,
  2652. "type": "string"
  2653. }
  2654. },
  2655. "url": "/installations/:installation_id/access_tokens"
  2656. },
  2657. "getInstallationRepositories": {
  2658. "deprecated": "`integrations` has been renamed to `apps`",
  2659. "headers": {
  2660. "accept": "application/vnd.github.machine-man-preview+json"
  2661. },
  2662. "method": "GET",
  2663. "params": {},
  2664. "url": "/installation/repositories"
  2665. },
  2666. "getInstallations": {
  2667. "deprecated": "`integrations` has been renamed to `apps`",
  2668. "headers": {
  2669. "accept": "application/vnd.github.machine-man-preview+json"
  2670. },
  2671. "method": "GET",
  2672. "params": {
  2673. "page": {
  2674. "type": "integer"
  2675. },
  2676. "per_page": {
  2677. "type": "integer"
  2678. }
  2679. },
  2680. "url": "/app/installations"
  2681. },
  2682. "removeRepoFromInstallation": {
  2683. "deprecated": "`integrations` has been renamed to `apps`",
  2684. "headers": {
  2685. "accept": "application/vnd.github.machine-man-preview+json"
  2686. },
  2687. "method": "DELETE",
  2688. "params": {
  2689. "installation_id": {
  2690. "required": true,
  2691. "type": "string"
  2692. },
  2693. "repository_id": {
  2694. "required": true,
  2695. "type": "string"
  2696. }
  2697. },
  2698. "url": "/user/installations/:installation_id/repositories/:repository_id"
  2699. }
  2700. },
  2701. "issues": {
  2702. "addAssigneesToIssue": {
  2703. "method": "POST",
  2704. "params": {
  2705. "assignees": {
  2706. "type": "string[]"
  2707. },
  2708. "number": {
  2709. "required": true,
  2710. "type": "integer"
  2711. },
  2712. "owner": {
  2713. "required": true,
  2714. "type": "string"
  2715. },
  2716. "repo": {
  2717. "required": true,
  2718. "type": "string"
  2719. }
  2720. },
  2721. "url": "/repos/:owner/:repo/issues/:number/assignees"
  2722. },
  2723. "addLabels": {
  2724. "method": "POST",
  2725. "params": {
  2726. "labels": {
  2727. "mapTo": "input",
  2728. "required": true,
  2729. "type": "string[]"
  2730. },
  2731. "number": {
  2732. "required": true,
  2733. "type": "integer"
  2734. },
  2735. "owner": {
  2736. "required": true,
  2737. "type": "string"
  2738. },
  2739. "repo": {
  2740. "required": true,
  2741. "type": "string"
  2742. }
  2743. },
  2744. "url": "/repos/:owner/:repo/issues/:number/labels"
  2745. },
  2746. "checkAssignee": {
  2747. "method": "GET",
  2748. "params": {
  2749. "assignee": {
  2750. "required": true,
  2751. "type": "string"
  2752. },
  2753. "owner": {
  2754. "required": true,
  2755. "type": "string"
  2756. },
  2757. "repo": {
  2758. "required": true,
  2759. "type": "string"
  2760. }
  2761. },
  2762. "url": "/repos/:owner/:repo/assignees/:assignee"
  2763. },
  2764. "create": {
  2765. "headers": {
  2766. "accept": "application/vnd.github.squirrel-girl-preview"
  2767. },
  2768. "method": "POST",
  2769. "params": {
  2770. "assignee": {
  2771. "type": "string"
  2772. },
  2773. "assignees": {
  2774. "type": "string[]"
  2775. },
  2776. "body": {
  2777. "type": "string"
  2778. },
  2779. "labels": {
  2780. "type": "string[]"
  2781. },
  2782. "milestone": {
  2783. "type": "integer"
  2784. },
  2785. "owner": {
  2786. "required": true,
  2787. "type": "string"
  2788. },
  2789. "repo": {
  2790. "required": true,
  2791. "type": "string"
  2792. },
  2793. "title": {
  2794. "required": true,
  2795. "type": "string"
  2796. }
  2797. },
  2798. "url": "/repos/:owner/:repo/issues"
  2799. },
  2800. "createComment": {
  2801. "headers": {
  2802. "accept": "application/vnd.github.squirrel-girl-preview"
  2803. },
  2804. "method": "POST",
  2805. "params": {
  2806. "body": {
  2807. "required": true,
  2808. "type": "string"
  2809. },
  2810. "number": {
  2811. "required": true,
  2812. "type": "integer"
  2813. },
  2814. "owner": {
  2815. "required": true,
  2816. "type": "string"
  2817. },
  2818. "repo": {
  2819. "required": true,
  2820. "type": "string"
  2821. }
  2822. },
  2823. "url": "/repos/:owner/:repo/issues/:number/comments"
  2824. },
  2825. "createLabel": {
  2826. "method": "POST",
  2827. "params": {
  2828. "color": {
  2829. "required": true,
  2830. "type": "string"
  2831. },
  2832. "description": {
  2833. "type": "string"
  2834. },
  2835. "name": {
  2836. "required": true,
  2837. "type": "string"
  2838. },
  2839. "owner": {
  2840. "required": true,
  2841. "type": "string"
  2842. },
  2843. "repo": {
  2844. "required": true,
  2845. "type": "string"
  2846. }
  2847. },
  2848. "url": "/repos/:owner/:repo/labels"
  2849. },
  2850. "createMilestone": {
  2851. "method": "POST",
  2852. "params": {
  2853. "description": {
  2854. "type": "string"
  2855. },
  2856. "due_on": {
  2857. "type": "string"
  2858. },
  2859. "owner": {
  2860. "required": true,
  2861. "type": "string"
  2862. },
  2863. "repo": {
  2864. "required": true,
  2865. "type": "string"
  2866. },
  2867. "state": {
  2868. "enum": [
  2869. "open",
  2870. "closed"
  2871. ],
  2872. "type": "string"
  2873. },
  2874. "title": {
  2875. "required": true,
  2876. "type": "string"
  2877. }
  2878. },
  2879. "url": "/repos/:owner/:repo/milestones"
  2880. },
  2881. "deleteComment": {
  2882. "headers": {
  2883. "accept": "application/vnd.github.squirrel-girl-preview"
  2884. },
  2885. "method": "DELETE",
  2886. "params": {
  2887. "comment_id": {
  2888. "required": true,
  2889. "type": "string"
  2890. },
  2891. "id": {
  2892. "alias": "comment_id",
  2893. "deprecated": true
  2894. },
  2895. "owner": {
  2896. "required": true,
  2897. "type": "string"
  2898. },
  2899. "repo": {
  2900. "required": true,
  2901. "type": "string"
  2902. }
  2903. },
  2904. "url": "/repos/:owner/:repo/issues/comments/:comment_id"
  2905. },
  2906. "deleteLabel": {
  2907. "method": "DELETE",
  2908. "params": {
  2909. "name": {
  2910. "required": true,
  2911. "type": "string"
  2912. },
  2913. "owner": {
  2914. "required": true,
  2915. "type": "string"
  2916. },
  2917. "repo": {
  2918. "required": true,
  2919. "type": "string"
  2920. }
  2921. },
  2922. "url": "/repos/:owner/:repo/labels/:name"
  2923. },
  2924. "deleteMilestone": {
  2925. "method": "DELETE",
  2926. "params": {
  2927. "number": {
  2928. "required": true,
  2929. "type": "integer"
  2930. },
  2931. "owner": {
  2932. "required": true,
  2933. "type": "string"
  2934. },
  2935. "repo": {
  2936. "required": true,
  2937. "type": "string"
  2938. }
  2939. },
  2940. "url": "/repos/:owner/:repo/milestones/:number"
  2941. },
  2942. "edit": {
  2943. "headers": {
  2944. "accept": "application/vnd.github.squirrel-girl-preview"
  2945. },
  2946. "method": "PATCH",
  2947. "params": {
  2948. "assignee": {
  2949. "type": "string"
  2950. },
  2951. "assignees": {
  2952. "type": "string[]"
  2953. },
  2954. "body": {
  2955. "type": "string"
  2956. },
  2957. "labels": {
  2958. "type": "string[]"
  2959. },
  2960. "milestone": {
  2961. "allowNull": true,
  2962. "type": "integer"
  2963. },
  2964. "number": {
  2965. "required": true,
  2966. "type": "integer"
  2967. },
  2968. "owner": {
  2969. "required": true,
  2970. "type": "string"
  2971. },
  2972. "repo": {
  2973. "required": true,
  2974. "type": "string"
  2975. },
  2976. "state": {
  2977. "enum": [
  2978. "open",
  2979. "closed"
  2980. ],
  2981. "type": "string"
  2982. },
  2983. "title": {
  2984. "type": "string"
  2985. }
  2986. },
  2987. "url": "/repos/:owner/:repo/issues/:number"
  2988. },
  2989. "editComment": {
  2990. "headers": {
  2991. "accept": "application/vnd.github.squirrel-girl-preview"
  2992. },
  2993. "method": "PATCH",
  2994. "params": {
  2995. "body": {
  2996. "required": true,
  2997. "type": "string"
  2998. },
  2999. "comment_id": {
  3000. "required": true,
  3001. "type": "string"
  3002. },
  3003. "id": {
  3004. "alias": "comment_id",
  3005. "deprecated": true
  3006. },
  3007. "owner": {
  3008. "required": true,
  3009. "type": "string"
  3010. },
  3011. "repo": {
  3012. "required": true,
  3013. "type": "string"
  3014. }
  3015. },
  3016. "url": "/repos/:owner/:repo/issues/comments/:comment_id"
  3017. },
  3018. "get": {
  3019. "headers": {
  3020. "accept": "application/vnd.github.squirrel-girl-preview"
  3021. },
  3022. "method": "GET",
  3023. "params": {
  3024. "number": {
  3025. "required": true,
  3026. "type": "integer"
  3027. },
  3028. "owner": {
  3029. "required": true,
  3030. "type": "string"
  3031. },
  3032. "repo": {
  3033. "required": true,
  3034. "type": "string"
  3035. }
  3036. },
  3037. "url": "/repos/:owner/:repo/issues/:number"
  3038. },
  3039. "getAll": {
  3040. "headers": {
  3041. "accept": "application/vnd.github.squirrel-girl-preview"
  3042. },
  3043. "method": "GET",
  3044. "params": {
  3045. "direction": {
  3046. "enum": [
  3047. "asc",
  3048. "desc"
  3049. ],
  3050. "type": "string"
  3051. },
  3052. "filter": {
  3053. "enum": [
  3054. "assigned",
  3055. "created",
  3056. "mentioned",
  3057. "subscribed",
  3058. "all"
  3059. ],
  3060. "type": "string"
  3061. },
  3062. "labels": {
  3063. "type": "string"
  3064. },
  3065. "page": {
  3066. "type": "integer"
  3067. },
  3068. "per_page": {
  3069. "type": "integer"
  3070. },
  3071. "since": {
  3072. "type": "string"
  3073. },
  3074. "sort": {
  3075. "enum": [
  3076. "created",
  3077. "updated",
  3078. "comments"
  3079. ],
  3080. "type": "string"
  3081. },
  3082. "state": {
  3083. "enum": [
  3084. "open",
  3085. "closed",
  3086. "all"
  3087. ],
  3088. "type": "string"
  3089. }
  3090. },
  3091. "url": "/issues"
  3092. },
  3093. "getAssignees": {
  3094. "method": "GET",
  3095. "params": {
  3096. "owner": {
  3097. "required": true,
  3098. "type": "string"
  3099. },
  3100. "page": {
  3101. "type": "integer"
  3102. },
  3103. "per_page": {
  3104. "type": "integer"
  3105. },
  3106. "repo": {
  3107. "required": true,
  3108. "type": "string"
  3109. }
  3110. },
  3111. "url": "/repos/:owner/:repo/assignees"
  3112. },
  3113. "getComment": {
  3114. "headers": {
  3115. "accept": "application/vnd.github.squirrel-girl-preview"
  3116. },
  3117. "method": "GET",
  3118. "params": {
  3119. "comment_id": {
  3120. "required": true,
  3121. "type": "string"
  3122. },
  3123. "id": {
  3124. "alias": "comment_id",
  3125. "deprecated": true
  3126. },
  3127. "owner": {
  3128. "required": true,
  3129. "type": "string"
  3130. },
  3131. "page": {
  3132. "type": "integer"
  3133. },
  3134. "per_page": {
  3135. "type": "integer"
  3136. },
  3137. "repo": {
  3138. "required": true,
  3139. "type": "string"
  3140. }
  3141. },
  3142. "url": "/repos/:owner/:repo/issues/comments/:comment_id"
  3143. },
  3144. "getComments": {
  3145. "headers": {
  3146. "accept": "application/vnd.github.squirrel-girl-preview"
  3147. },
  3148. "method": "GET",
  3149. "params": {
  3150. "number": {
  3151. "required": true,
  3152. "type": "integer"
  3153. },
  3154. "owner": {
  3155. "required": true,
  3156. "type": "string"
  3157. },
  3158. "page": {
  3159. "type": "integer"
  3160. },
  3161. "per_page": {
  3162. "type": "integer"
  3163. },
  3164. "repo": {
  3165. "required": true,
  3166. "type": "string"
  3167. },
  3168. "since": {
  3169. "type": "string"
  3170. }
  3171. },
  3172. "url": "/repos/:owner/:repo/issues/:number/comments"
  3173. },
  3174. "getCommentsForRepo": {
  3175. "headers": {
  3176. "accept": "application/vnd.github.squirrel-girl-preview"
  3177. },
  3178. "method": "GET",
  3179. "params": {
  3180. "direction": {
  3181. "enum": [
  3182. "asc",
  3183. "desc"
  3184. ],
  3185. "type": "string"
  3186. },
  3187. "owner": {
  3188. "required": true,
  3189. "type": "string"
  3190. },
  3191. "repo": {
  3192. "required": true,
  3193. "type": "string"
  3194. },
  3195. "since": {
  3196. "type": "string"
  3197. },
  3198. "sort": {
  3199. "enum": [
  3200. "created",
  3201. "updated"
  3202. ],
  3203. "type": "string"
  3204. }
  3205. },
  3206. "url": "/repos/:owner/:repo/issues/comments"
  3207. },
  3208. "getEvent": {
  3209. "method": "GET",
  3210. "params": {
  3211. "event_id": {
  3212. "required": true,
  3213. "type": "string"
  3214. },
  3215. "id": {
  3216. "alias": "event_id",
  3217. "deprecated": true
  3218. },
  3219. "owner": {
  3220. "required": true,
  3221. "type": "string"
  3222. },
  3223. "repo": {
  3224. "required": true,
  3225. "type": "string"
  3226. }
  3227. },
  3228. "url": "/repos/:owner/:repo/issues/events/:event_id"
  3229. },
  3230. "getEvents": {
  3231. "method": "GET",
  3232. "params": {
  3233. "issue_number": {
  3234. "alias": "number",
  3235. "deprecated": true
  3236. },
  3237. "number": {
  3238. "required": true,
  3239. "type": "integer"
  3240. },
  3241. "owner": {
  3242. "required": true,
  3243. "type": "string"
  3244. },
  3245. "page": {
  3246. "type": "integer"
  3247. },
  3248. "per_page": {
  3249. "type": "integer"
  3250. },
  3251. "repo": {
  3252. "required": true,
  3253. "type": "string"
  3254. }
  3255. },
  3256. "url": "/repos/:owner/:repo/issues/:number/events"
  3257. },
  3258. "getEventsForRepo": {
  3259. "method": "GET",
  3260. "params": {
  3261. "owner": {
  3262. "required": true,
  3263. "type": "string"
  3264. },
  3265. "page": {
  3266. "type": "integer"
  3267. },
  3268. "per_page": {
  3269. "type": "integer"
  3270. },
  3271. "repo": {
  3272. "required": true,
  3273. "type": "string"
  3274. }
  3275. },
  3276. "url": "/repos/:owner/:repo/issues/events"
  3277. },
  3278. "getEventsTimeline": {
  3279. "headers": {
  3280. "accept": "application/vnd.github.mockingbird-preview"
  3281. },
  3282. "method": "GET",
  3283. "params": {
  3284. "issue_number": {
  3285. "alias": "number",
  3286. "deprecated": true
  3287. },
  3288. "number": {
  3289. "required": true,
  3290. "type": "integer"
  3291. },
  3292. "owner": {
  3293. "required": true,
  3294. "type": "string"
  3295. },
  3296. "page": {
  3297. "type": "integer"
  3298. },
  3299. "per_page": {
  3300. "type": "integer"
  3301. },
  3302. "repo": {
  3303. "required": true,
  3304. "type": "string"
  3305. }
  3306. },
  3307. "url": "/repos/:owner/:repo/issues/:number/timeline"
  3308. },
  3309. "getForOrg": {
  3310. "headers": {
  3311. "accept": "application/vnd.github.squirrel-girl-preview"
  3312. },
  3313. "method": "GET",
  3314. "params": {
  3315. "direction": {
  3316. "enum": [
  3317. "asc",
  3318. "desc"
  3319. ],
  3320. "type": "string"
  3321. },
  3322. "filter": {
  3323. "enum": [
  3324. "assigned",
  3325. "created",
  3326. "mentioned",
  3327. "subscribed",
  3328. "all"
  3329. ],
  3330. "type": "string"
  3331. },
  3332. "labels": {
  3333. "type": "string"
  3334. },
  3335. "org": {
  3336. "required": true,
  3337. "type": "string"
  3338. },
  3339. "page": {
  3340. "type": "integer"
  3341. },
  3342. "per_page": {
  3343. "type": "integer"
  3344. },
  3345. "since": {
  3346. "type": "string"
  3347. },
  3348. "sort": {
  3349. "enum": [
  3350. "created",
  3351. "updated",
  3352. "comments"
  3353. ],
  3354. "type": "string"
  3355. },
  3356. "state": {
  3357. "enum": [
  3358. "open",
  3359. "closed",
  3360. "all"
  3361. ],
  3362. "type": "string"
  3363. }
  3364. },
  3365. "url": "/orgs/:org/issues"
  3366. },
  3367. "getForRepo": {
  3368. "headers": {
  3369. "accept": "application/vnd.github.squirrel-girl-preview"
  3370. },
  3371. "method": "GET",
  3372. "params": {
  3373. "assignee": {
  3374. "type": "string"
  3375. },
  3376. "creator": {
  3377. "type": "string"
  3378. },
  3379. "direction": {
  3380. "enum": [
  3381. "asc",
  3382. "desc"
  3383. ],
  3384. "type": "string"
  3385. },
  3386. "labels": {
  3387. "type": "string"
  3388. },
  3389. "mentioned": {
  3390. "type": "string"
  3391. },
  3392. "milestone": {
  3393. "type": "string",
  3394. "validation": "^([0-9]+|none|\\*)$"
  3395. },
  3396. "owner": {
  3397. "required": true,
  3398. "type": "string"
  3399. },
  3400. "page": {
  3401. "type": "integer"
  3402. },
  3403. "per_page": {
  3404. "type": "integer"
  3405. },
  3406. "repo": {
  3407. "required": true,
  3408. "type": "string"
  3409. },
  3410. "since": {
  3411. "type": "string"
  3412. },
  3413. "sort": {
  3414. "enum": [
  3415. "created",
  3416. "updated",
  3417. "comments"
  3418. ],
  3419. "type": "string"
  3420. },
  3421. "state": {
  3422. "enum": [
  3423. "open",
  3424. "closed",
  3425. "all"
  3426. ],
  3427. "type": "string"
  3428. }
  3429. },
  3430. "url": "/repos/:owner/:repo/issues"
  3431. },
  3432. "getForUser": {
  3433. "headers": {
  3434. "accept": "application/vnd.github.squirrel-girl-preview"
  3435. },
  3436. "method": "GET",
  3437. "params": {
  3438. "direction": {
  3439. "enum": [
  3440. "asc",
  3441. "desc"
  3442. ],
  3443. "type": "string"
  3444. },
  3445. "filter": {
  3446. "enum": [
  3447. "assigned",
  3448. "created",
  3449. "mentioned",
  3450. "subscribed",
  3451. "all"
  3452. ],
  3453. "type": "string"
  3454. },
  3455. "labels": {
  3456. "type": "string"
  3457. },
  3458. "page": {
  3459. "type": "integer"
  3460. },
  3461. "per_page": {
  3462. "type": "integer"
  3463. },
  3464. "since": {
  3465. "type": "string"
  3466. },
  3467. "sort": {
  3468. "enum": [
  3469. "created",
  3470. "updated",
  3471. "comments"
  3472. ],
  3473. "type": "string"
  3474. },
  3475. "state": {
  3476. "enum": [
  3477. "open",
  3478. "closed",
  3479. "all"
  3480. ],
  3481. "type": "string"
  3482. }
  3483. },
  3484. "url": "/user/issues"
  3485. },
  3486. "getIssueLabels": {
  3487. "method": "GET",
  3488. "params": {
  3489. "number": {
  3490. "required": true,
  3491. "type": "integer"
  3492. },
  3493. "owner": {
  3494. "required": true,
  3495. "type": "string"
  3496. },
  3497. "page": {
  3498. "type": "integer"
  3499. },
  3500. "per_page": {
  3501. "type": "integer"
  3502. },
  3503. "repo": {
  3504. "required": true,
  3505. "type": "string"
  3506. }
  3507. },
  3508. "url": "/repos/:owner/:repo/issues/:number/labels"
  3509. },
  3510. "getLabel": {
  3511. "method": "GET",
  3512. "params": {
  3513. "name": {
  3514. "required": true,
  3515. "type": "string"
  3516. },
  3517. "owner": {
  3518. "required": true,
  3519. "type": "string"
  3520. },
  3521. "repo": {
  3522. "required": true,
  3523. "type": "string"
  3524. }
  3525. },
  3526. "url": "/repos/:owner/:repo/labels/:name"
  3527. },
  3528. "getLabels": {
  3529. "method": "GET",
  3530. "params": {
  3531. "owner": {
  3532. "required": true,
  3533. "type": "string"
  3534. },
  3535. "page": {
  3536. "type": "integer"
  3537. },
  3538. "per_page": {
  3539. "type": "integer"
  3540. },
  3541. "repo": {
  3542. "required": true,
  3543. "type": "string"
  3544. }
  3545. },
  3546. "url": "/repos/:owner/:repo/labels"
  3547. },
  3548. "getMilestone": {
  3549. "method": "GET",
  3550. "params": {
  3551. "number": {
  3552. "required": true,
  3553. "type": "integer"
  3554. },
  3555. "owner": {
  3556. "required": true,
  3557. "type": "string"
  3558. },
  3559. "repo": {
  3560. "required": true,
  3561. "type": "string"
  3562. }
  3563. },
  3564. "url": "/repos/:owner/:repo/milestones/:number"
  3565. },
  3566. "getMilestoneLabels": {
  3567. "method": "GET",
  3568. "params": {
  3569. "number": {
  3570. "required": true,
  3571. "type": "integer"
  3572. },
  3573. "owner": {
  3574. "required": true,
  3575. "type": "string"
  3576. },
  3577. "page": {
  3578. "type": "integer"
  3579. },
  3580. "per_page": {
  3581. "type": "integer"
  3582. },
  3583. "repo": {
  3584. "required": true,
  3585. "type": "string"
  3586. }
  3587. },
  3588. "url": "/repos/:owner/:repo/milestones/:number/labels"
  3589. },
  3590. "getMilestones": {
  3591. "method": "GET",
  3592. "params": {
  3593. "direction": {
  3594. "enum": [
  3595. "asc",
  3596. "desc"
  3597. ],
  3598. "type": "string"
  3599. },
  3600. "owner": {
  3601. "required": true,
  3602. "type": "string"
  3603. },
  3604. "page": {
  3605. "type": "integer"
  3606. },
  3607. "per_page": {
  3608. "type": "integer"
  3609. },
  3610. "repo": {
  3611. "required": true,
  3612. "type": "string"
  3613. },
  3614. "sort": {
  3615. "enum": [
  3616. "due_on",
  3617. "completeness"
  3618. ],
  3619. "type": "string"
  3620. },
  3621. "state": {
  3622. "enum": [
  3623. "open",
  3624. "closed",
  3625. "all"
  3626. ],
  3627. "type": "string"
  3628. }
  3629. },
  3630. "url": "/repos/:owner/:repo/milestones"
  3631. },
  3632. "lock": {
  3633. "method": "PUT",
  3634. "params": {
  3635. "lock_reason": {
  3636. "enum": [
  3637. "off-topic",
  3638. "too heated",
  3639. "resolved",
  3640. "spam"
  3641. ],
  3642. "type": "string"
  3643. },
  3644. "number": {
  3645. "required": true,
  3646. "type": "integer"
  3647. },
  3648. "owner": {
  3649. "required": true,
  3650. "type": "string"
  3651. },
  3652. "repo": {
  3653. "required": true,
  3654. "type": "string"
  3655. }
  3656. },
  3657. "url": "/repos/:owner/:repo/issues/:number/lock"
  3658. },
  3659. "removeAllLabels": {
  3660. "method": "DELETE",
  3661. "params": {
  3662. "number": {
  3663. "required": true,
  3664. "type": "integer"
  3665. },
  3666. "owner": {
  3667. "required": true,
  3668. "type": "string"
  3669. },
  3670. "repo": {
  3671. "required": true,
  3672. "type": "string"
  3673. }
  3674. },
  3675. "url": "/repos/:owner/:repo/issues/:number/labels"
  3676. },
  3677. "removeAssigneesFromIssue": {
  3678. "method": "DELETE",
  3679. "params": {
  3680. "assignees": {
  3681. "type": "string[]"
  3682. },
  3683. "number": {
  3684. "required": true,
  3685. "type": "integer"
  3686. },
  3687. "owner": {
  3688. "required": true,
  3689. "type": "string"
  3690. },
  3691. "repo": {
  3692. "required": true,
  3693. "type": "string"
  3694. }
  3695. },
  3696. "url": "/repos/:owner/:repo/issues/:number/assignees"
  3697. },
  3698. "removeLabel": {
  3699. "method": "DELETE",
  3700. "params": {
  3701. "name": {
  3702. "required": true,
  3703. "type": "string"
  3704. },
  3705. "number": {
  3706. "required": true,
  3707. "type": "integer"
  3708. },
  3709. "owner": {
  3710. "required": true,
  3711. "type": "string"
  3712. },
  3713. "repo": {
  3714. "required": true,
  3715. "type": "string"
  3716. }
  3717. },
  3718. "url": "/repos/:owner/:repo/issues/:number/labels/:name"
  3719. },
  3720. "replaceAllLabels": {
  3721. "method": "PUT",
  3722. "params": {
  3723. "labels": {
  3724. "mapTo": "input",
  3725. "required": true,
  3726. "type": "string[]"
  3727. },
  3728. "number": {
  3729. "required": true,
  3730. "type": "integer"
  3731. },
  3732. "owner": {
  3733. "required": true,
  3734. "type": "string"
  3735. },
  3736. "repo": {
  3737. "required": true,
  3738. "type": "string"
  3739. }
  3740. },
  3741. "url": "/repos/:owner/:repo/issues/:number/labels"
  3742. },
  3743. "unlock": {
  3744. "method": "DELETE",
  3745. "params": {
  3746. "number": {
  3747. "required": true,
  3748. "type": "integer"
  3749. },
  3750. "owner": {
  3751. "required": true,
  3752. "type": "string"
  3753. },
  3754. "repo": {
  3755. "required": true,
  3756. "type": "string"
  3757. }
  3758. },
  3759. "url": "/repos/:owner/:repo/issues/:number/lock"
  3760. },
  3761. "updateLabel": {
  3762. "method": "PATCH",
  3763. "params": {
  3764. "color": {
  3765. "type": "string"
  3766. },
  3767. "current_name": {
  3768. "required": true,
  3769. "type": "string"
  3770. },
  3771. "description": {
  3772. "type": "string"
  3773. },
  3774. "name": {
  3775. "type": "string"
  3776. },
  3777. "oldname": {
  3778. "alias": "current_name",
  3779. "deprecated": true
  3780. },
  3781. "owner": {
  3782. "required": true,
  3783. "type": "string"
  3784. },
  3785. "repo": {
  3786. "required": true,
  3787. "type": "string"
  3788. }
  3789. },
  3790. "url": "/repos/:owner/:repo/labels/:current_name"
  3791. },
  3792. "updateMilestone": {
  3793. "method": "PATCH",
  3794. "params": {
  3795. "description": {
  3796. "type": "string"
  3797. },
  3798. "due_on": {
  3799. "type": "string"
  3800. },
  3801. "number": {
  3802. "required": true,
  3803. "type": "integer"
  3804. },
  3805. "owner": {
  3806. "required": true,
  3807. "type": "string"
  3808. },
  3809. "repo": {
  3810. "required": true,
  3811. "type": "string"
  3812. },
  3813. "state": {
  3814. "enum": [
  3815. "open",
  3816. "closed"
  3817. ],
  3818. "type": "string"
  3819. },
  3820. "title": {
  3821. "type": "string"
  3822. }
  3823. },
  3824. "url": "/repos/:owner/:repo/milestones/:number"
  3825. }
  3826. },
  3827. "migrations": {
  3828. "cancelImport": {
  3829. "headers": {
  3830. "accept": "application/vnd.github.barred-rock-preview"
  3831. },
  3832. "method": "DELETE",
  3833. "params": {
  3834. "owner": {
  3835. "required": true,
  3836. "type": "string"
  3837. },
  3838. "repo": {
  3839. "required": true,
  3840. "type": "string"
  3841. }
  3842. },
  3843. "url": "/repos/:owner/:repo/import"
  3844. },
  3845. "deleteMigrationArchive": {
  3846. "headers": {
  3847. "accept": "application/vnd.github.wyandotte-preview+json"
  3848. },
  3849. "method": "DELETE",
  3850. "params": {
  3851. "id": {
  3852. "alias": "migration_id",
  3853. "deprecated": true
  3854. },
  3855. "migration_id": {
  3856. "required": true,
  3857. "type": "string"
  3858. },
  3859. "org": {
  3860. "required": true,
  3861. "type": "string"
  3862. }
  3863. },
  3864. "url": "/orgs/:org/migrations/:migration_id/archive"
  3865. },
  3866. "getImportCommitAuthors": {
  3867. "headers": {
  3868. "accept": "application/vnd.github.barred-rock-preview"
  3869. },
  3870. "method": "GET",
  3871. "params": {
  3872. "owner": {
  3873. "required": true,
  3874. "type": "string"
  3875. },
  3876. "repo": {
  3877. "required": true,
  3878. "type": "string"
  3879. },
  3880. "since": {
  3881. "type": "string"
  3882. }
  3883. },
  3884. "url": "/repos/:owner/:repo/import/authors"
  3885. },
  3886. "getImportProgress": {
  3887. "headers": {
  3888. "accept": "application/vnd.github.barred-rock-preview"
  3889. },
  3890. "method": "GET",
  3891. "params": {
  3892. "owner": {
  3893. "required": true,
  3894. "type": "string"
  3895. },
  3896. "repo": {
  3897. "required": true,
  3898. "type": "string"
  3899. }
  3900. },
  3901. "url": "/repos/:owner/:repo/import"
  3902. },
  3903. "getLargeImportFiles": {
  3904. "headers": {
  3905. "accept": "application/vnd.github.barred-rock-preview"
  3906. },
  3907. "method": "GET",
  3908. "params": {
  3909. "name": {
  3910. "alias": "repo",
  3911. "deprecated": true
  3912. },
  3913. "owner": {
  3914. "required": true,
  3915. "type": "string"
  3916. },
  3917. "repo": {
  3918. "required": true,
  3919. "type": "string"
  3920. }
  3921. },
  3922. "url": "/repos/:owner/:repo/import/large_files"
  3923. },
  3924. "getMigrationArchiveLink": {
  3925. "headers": {
  3926. "accept": "application/vnd.github.wyandotte-preview+json"
  3927. },
  3928. "method": "GET",
  3929. "params": {
  3930. "id": {
  3931. "alias": "migration_id",
  3932. "deprecated": true
  3933. },
  3934. "migration_id": {
  3935. "required": true,
  3936. "type": "string"
  3937. },
  3938. "org": {
  3939. "required": true,
  3940. "type": "string"
  3941. }
  3942. },
  3943. "url": "/orgs/:org/migrations/:migration_id/archive"
  3944. },
  3945. "getMigrationStatus": {
  3946. "headers": {
  3947. "accept": "application/vnd.github.wyandotte-preview+json"
  3948. },
  3949. "method": "GET",
  3950. "params": {
  3951. "id": {
  3952. "alias": "migration_id",
  3953. "deprecated": true
  3954. },
  3955. "migration_id": {
  3956. "required": true,
  3957. "type": "string"
  3958. },
  3959. "org": {
  3960. "required": true,
  3961. "type": "string"
  3962. }
  3963. },
  3964. "url": "/orgs/:org/migrations/:migration_id"
  3965. },
  3966. "getMigrations": {
  3967. "headers": {
  3968. "accept": "application/vnd.github.wyandotte-preview+json"
  3969. },
  3970. "method": "GET",
  3971. "params": {
  3972. "org": {
  3973. "required": true,
  3974. "type": "string"
  3975. },
  3976. "page": {
  3977. "type": "integer"
  3978. },
  3979. "per_page": {
  3980. "type": "integer"
  3981. }
  3982. },
  3983. "url": "/orgs/:org/migrations"
  3984. },
  3985. "mapImportCommitAuthor": {
  3986. "headers": {
  3987. "accept": "application/vnd.github.barred-rock-preview"
  3988. },
  3989. "method": "PATCH",
  3990. "params": {
  3991. "author_id": {
  3992. "required": true,
  3993. "type": "string"
  3994. },
  3995. "email": {
  3996. "type": "string"
  3997. },
  3998. "name": {
  3999. "type": "string"
  4000. },
  4001. "owner": {
  4002. "required": true,
  4003. "type": "string"
  4004. },
  4005. "repo": {
  4006. "required": true,
  4007. "type": "string"
  4008. }
  4009. },
  4010. "url": "/repos/:owner/:repo/import/authors/:author_id"
  4011. },
  4012. "setImportLfsPreference": {
  4013. "headers": {
  4014. "accept": "application/vnd.github.barred-rock-preview"
  4015. },
  4016. "method": "PATCH",
  4017. "params": {
  4018. "name": {
  4019. "alias": "repo",
  4020. "deprecated": true
  4021. },
  4022. "owner": {
  4023. "required": true,
  4024. "type": "string"
  4025. },
  4026. "repo": {
  4027. "required": true,
  4028. "type": "string"
  4029. },
  4030. "use_lfs": {
  4031. "enum": [
  4032. "opt_in",
  4033. "opt_out"
  4034. ],
  4035. "required": true,
  4036. "type": "string"
  4037. }
  4038. },
  4039. "url": "/repos/:owner/:repo/import/lfs"
  4040. },
  4041. "startImport": {
  4042. "headers": {
  4043. "accept": "application/vnd.github.barred-rock-preview"
  4044. },
  4045. "method": "PUT",
  4046. "params": {
  4047. "owner": {
  4048. "required": true,
  4049. "type": "string"
  4050. },
  4051. "repo": {
  4052. "required": true,
  4053. "type": "string"
  4054. },
  4055. "tfvc_project": {
  4056. "type": "string"
  4057. },
  4058. "vcs": {
  4059. "enum": [
  4060. "subversion",
  4061. "git",
  4062. "mercurial",
  4063. "tfvc"
  4064. ],
  4065. "type": "string"
  4066. },
  4067. "vcs_password": {
  4068. "type": "string"
  4069. },
  4070. "vcs_url": {
  4071. "required": true,
  4072. "type": "string"
  4073. },
  4074. "vcs_username": {
  4075. "type": "string"
  4076. }
  4077. },
  4078. "url": "/repos/:owner/:repo/import"
  4079. },
  4080. "startMigration": {
  4081. "headers": {
  4082. "accept": "application/vnd.github.wyandotte-preview+json"
  4083. },
  4084. "method": "POST",
  4085. "params": {
  4086. "exclude_attachments": {
  4087. "type": "boolean"
  4088. },
  4089. "lock_repositories": {
  4090. "type": "boolean"
  4091. },
  4092. "org": {
  4093. "required": true,
  4094. "type": "string"
  4095. },
  4096. "repositories": {
  4097. "required": true,
  4098. "type": "string[]"
  4099. }
  4100. },
  4101. "url": "/orgs/:org/migrations"
  4102. },
  4103. "unlockRepoLockedForMigration": {
  4104. "headers": {
  4105. "accept": "application/vnd.github.wyandotte-preview+json"
  4106. },
  4107. "method": "DELETE",
  4108. "params": {
  4109. "id": {
  4110. "alias": "migration_id",
  4111. "deprecated": true
  4112. },
  4113. "migration_id": {
  4114. "required": true,
  4115. "type": "string"
  4116. },
  4117. "org": {
  4118. "required": true,
  4119. "type": "string"
  4120. },
  4121. "repo_name": {
  4122. "required": true,
  4123. "type": "string"
  4124. }
  4125. },
  4126. "url": "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"
  4127. },
  4128. "updateImport": {
  4129. "headers": {
  4130. "accept": "application/vnd.github.barred-rock-preview"
  4131. },
  4132. "method": "PATCH",
  4133. "params": {
  4134. "owner": {
  4135. "required": true,
  4136. "type": "string"
  4137. },
  4138. "repo": {
  4139. "required": true,
  4140. "type": "string"
  4141. },
  4142. "vcs_password": {
  4143. "type": "string"
  4144. },
  4145. "vcs_username": {
  4146. "type": "string"
  4147. }
  4148. },
  4149. "url": "/repos/:owner/:repo/import"
  4150. }
  4151. },
  4152. "misc": {
  4153. "getCodeOfConduct": {
  4154. "headers": {
  4155. "accept": "application/vnd.github.scarlet-witch-preview+json"
  4156. },
  4157. "method": "GET",
  4158. "params": {
  4159. "key": {
  4160. "required": true,
  4161. "type": "string"
  4162. }
  4163. },
  4164. "url": "/codes_of_conduct/:key"
  4165. },
  4166. "getCodesOfConduct": {
  4167. "headers": {
  4168. "accept": "application/vnd.github.scarlet-witch-preview+json"
  4169. },
  4170. "method": "GET",
  4171. "params": {},
  4172. "url": "/codes_of_conduct"
  4173. },
  4174. "getEmojis": {
  4175. "method": "GET",
  4176. "params": {},
  4177. "url": "/emojis"
  4178. },
  4179. "getGitignoreTemplate": {
  4180. "method": "GET",
  4181. "params": {
  4182. "name": {
  4183. "required": true,
  4184. "type": "string"
  4185. }
  4186. },
  4187. "url": "/gitignore/templates/:name"
  4188. },
  4189. "getGitignoreTemplates": {
  4190. "method": "GET",
  4191. "params": {},
  4192. "url": "/gitignore/templates"
  4193. },
  4194. "getLicense": {
  4195. "headers": {
  4196. "accept": "application/vnd.github.drax-preview+json"
  4197. },
  4198. "method": "GET",
  4199. "params": {
  4200. "license": {
  4201. "required": true,
  4202. "type": "string"
  4203. }
  4204. },
  4205. "url": "/licenses/:license"
  4206. },
  4207. "getLicenses": {
  4208. "headers": {
  4209. "accept": "application/vnd.github.drax-preview+json"
  4210. },
  4211. "method": "GET",
  4212. "params": {},
  4213. "url": "/licenses"
  4214. },
  4215. "getMeta": {
  4216. "method": "GET",
  4217. "params": {},
  4218. "url": "/meta"
  4219. },
  4220. "getRateLimit": {
  4221. "method": "GET",
  4222. "params": {},
  4223. "url": "/rate_limit"
  4224. },
  4225. "getRepoCodeOfConduct": {
  4226. "headers": {
  4227. "accept": "application/vnd.github.scarlet-witch-preview+json"
  4228. },
  4229. "method": "GET",
  4230. "params": {
  4231. "owner": {
  4232. "required": true,
  4233. "type": "string"
  4234. },
  4235. "repo": {
  4236. "required": true,
  4237. "type": "string"
  4238. }
  4239. },
  4240. "url": "/repos/:owner/:repo/community/code_of_conduct"
  4241. },
  4242. "getRepoLicense": {
  4243. "headers": {
  4244. "accept": "application/vnd.github.drax-preview+json"
  4245. },
  4246. "method": "GET",
  4247. "params": {
  4248. "owner": {
  4249. "required": true,
  4250. "type": "string"
  4251. },
  4252. "repo": {
  4253. "required": true,
  4254. "type": "string"
  4255. }
  4256. },
  4257. "url": "/repos/:owner/:repo/license"
  4258. },
  4259. "renderMarkdown": {
  4260. "method": "POST",
  4261. "params": {
  4262. "context": {
  4263. "type": "string"
  4264. },
  4265. "mode": {
  4266. "enum": [
  4267. "markdown",
  4268. "gfm"
  4269. ],
  4270. "type": "string"
  4271. },
  4272. "text": {
  4273. "required": true,
  4274. "type": "string"
  4275. }
  4276. },
  4277. "url": "/markdown"
  4278. },
  4279. "renderMarkdownRaw": {
  4280. "headers": {
  4281. "content-type": "text/plain; charset=utf-8"
  4282. },
  4283. "method": "POST",
  4284. "params": {
  4285. "data": {
  4286. "mapTo": "input",
  4287. "required": true,
  4288. "type": "string"
  4289. }
  4290. },
  4291. "url": "/markdown/raw"
  4292. }
  4293. },
  4294. "orgs": {
  4295. "addOrgMembership": {
  4296. "method": "PUT",
  4297. "params": {
  4298. "org": {
  4299. "required": true,
  4300. "type": "string"
  4301. },
  4302. "role": {
  4303. "enum": [
  4304. "admin",
  4305. "member"
  4306. ],
  4307. "type": "string"
  4308. },
  4309. "username": {
  4310. "required": true,
  4311. "type": "string"
  4312. }
  4313. },
  4314. "url": "/orgs/:org/memberships/:username"
  4315. },
  4316. "addTeamMembership": {
  4317. "headers": {
  4318. "accept": "application/vnd.github.hellcat-preview+json"
  4319. },
  4320. "method": "PUT",
  4321. "params": {
  4322. "id": {
  4323. "alias": "team_id",
  4324. "deprecated": true
  4325. },
  4326. "role": {
  4327. "enum": [
  4328. "member",
  4329. "maintainer"
  4330. ],
  4331. "type": "string"
  4332. },
  4333. "team_id": {
  4334. "required": true,
  4335. "type": "string"
  4336. },
  4337. "username": {
  4338. "required": true,
  4339. "type": "string"
  4340. }
  4341. },
  4342. "url": "/teams/:team_id/memberships/:username"
  4343. },
  4344. "addTeamRepo": {
  4345. "headers": {
  4346. "accept": "application/vnd.github.hellcat-preview+json"
  4347. },
  4348. "method": "PUT",
  4349. "params": {
  4350. "id": {
  4351. "alias": "team_id",
  4352. "deprecated": true
  4353. },
  4354. "org": {
  4355. "alias": "owner",
  4356. "deprecated": true
  4357. },
  4358. "owner": {
  4359. "required": true,
  4360. "type": "string"
  4361. },
  4362. "permission": {
  4363. "enum": [
  4364. "pull",
  4365. "push",
  4366. "admin"
  4367. ],
  4368. "type": "string"
  4369. },
  4370. "repo": {
  4371. "required": true,
  4372. "type": "string"
  4373. },
  4374. "team_id": {
  4375. "required": true,
  4376. "type": "string"
  4377. }
  4378. },
  4379. "url": "/teams/:team_id/repos/:owner/:repo"
  4380. },
  4381. "blockUser": {
  4382. "headers": {
  4383. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  4384. },
  4385. "method": "PUT",
  4386. "params": {
  4387. "org": {
  4388. "required": true,
  4389. "type": "string"
  4390. },
  4391. "username": {
  4392. "required": true,
  4393. "type": "string"
  4394. }
  4395. },
  4396. "url": "/orgs/:org/blocks/:username"
  4397. },
  4398. "checkBlockedUser": {
  4399. "headers": {
  4400. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  4401. },
  4402. "method": "GET",
  4403. "params": {
  4404. "org": {
  4405. "required": true,
  4406. "type": "string"
  4407. },
  4408. "username": {
  4409. "required": true,
  4410. "type": "string"
  4411. }
  4412. },
  4413. "url": "/orgs/:org/blocks/:username"
  4414. },
  4415. "checkMembership": {
  4416. "method": "GET",
  4417. "params": {
  4418. "org": {
  4419. "required": true,
  4420. "type": "string"
  4421. },
  4422. "username": {
  4423. "required": true,
  4424. "type": "string"
  4425. }
  4426. },
  4427. "url": "/orgs/:org/members/:username"
  4428. },
  4429. "checkPublicMembership": {
  4430. "method": "GET",
  4431. "params": {
  4432. "org": {
  4433. "required": true,
  4434. "type": "string"
  4435. },
  4436. "username": {
  4437. "required": true,
  4438. "type": "string"
  4439. }
  4440. },
  4441. "url": "/orgs/:org/public_members/:username"
  4442. },
  4443. "checkTeamRepo": {
  4444. "headers": {
  4445. "accept": "application/vnd.github.hellcat-preview+json"
  4446. },
  4447. "method": "GET",
  4448. "params": {
  4449. "id": {
  4450. "alias": "team_id",
  4451. "deprecated": true
  4452. },
  4453. "owner": {
  4454. "required": true,
  4455. "type": "string"
  4456. },
  4457. "repo": {
  4458. "required": true,
  4459. "type": "string"
  4460. },
  4461. "team_id": {
  4462. "required": true,
  4463. "type": "string"
  4464. }
  4465. },
  4466. "url": "/teams/:team_id/repos/:owner/:repo"
  4467. },
  4468. "concealMembership": {
  4469. "method": "DELETE",
  4470. "params": {
  4471. "org": {
  4472. "required": true,
  4473. "type": "string"
  4474. },
  4475. "username": {
  4476. "required": true,
  4477. "type": "string"
  4478. }
  4479. },
  4480. "url": "/orgs/:org/public_members/:username"
  4481. },
  4482. "convertMemberToOutsideCollaborator": {
  4483. "method": "PUT",
  4484. "params": {
  4485. "org": {
  4486. "required": true,
  4487. "type": "string"
  4488. },
  4489. "username": {
  4490. "required": true,
  4491. "type": "string"
  4492. }
  4493. },
  4494. "url": "/orgs/:org/outside_collaborators/:username"
  4495. },
  4496. "createHook": {
  4497. "method": "POST",
  4498. "params": {
  4499. "active": {
  4500. "type": "boolean"
  4501. },
  4502. "config": {
  4503. "required": true,
  4504. "type": "object"
  4505. },
  4506. "config.content_type": {
  4507. "type": "string"
  4508. },
  4509. "config.insecure_ssl": {
  4510. "type": "string"
  4511. },
  4512. "config.secret": {
  4513. "type": "string"
  4514. },
  4515. "config.url": {
  4516. "required": true,
  4517. "type": "string"
  4518. },
  4519. "events": {
  4520. "type": "string[]"
  4521. },
  4522. "name": {
  4523. "required": true,
  4524. "type": "string"
  4525. },
  4526. "org": {
  4527. "required": true,
  4528. "type": "string"
  4529. }
  4530. },
  4531. "url": "/orgs/:org/hooks"
  4532. },
  4533. "createInvitation": {
  4534. "headers": {
  4535. "accept": "application/vnd.github.dazzler-preview+json"
  4536. },
  4537. "method": "POST",
  4538. "params": {
  4539. "email": {
  4540. "type": "string"
  4541. },
  4542. "invitee_id": {
  4543. "type": "integer"
  4544. },
  4545. "org": {
  4546. "required": true,
  4547. "type": "string"
  4548. },
  4549. "role": {
  4550. "enum": [
  4551. "admin",
  4552. "direct_member",
  4553. "billing_manager"
  4554. ],
  4555. "type": "string"
  4556. },
  4557. "team_ids": {
  4558. "type": "integer[]"
  4559. }
  4560. },
  4561. "url": "/orgs/:org/invitations"
  4562. },
  4563. "createTeam": {
  4564. "headers": {
  4565. "accept": "application/vnd.github.hellcat-preview+json"
  4566. },
  4567. "method": "POST",
  4568. "params": {
  4569. "description": {
  4570. "type": "string"
  4571. },
  4572. "maintainers": {
  4573. "type": "string[]"
  4574. },
  4575. "name": {
  4576. "required": true,
  4577. "type": "string"
  4578. },
  4579. "org": {
  4580. "required": true,
  4581. "type": "string"
  4582. },
  4583. "parent_team_id": {
  4584. "type": "integer"
  4585. },
  4586. "permission": {
  4587. "enum": [
  4588. "pull",
  4589. "push",
  4590. "admin"
  4591. ],
  4592. "type": "string"
  4593. },
  4594. "privacy": {
  4595. "enum": [
  4596. "secret",
  4597. "closed"
  4598. ],
  4599. "type": "string"
  4600. },
  4601. "repo_names": {
  4602. "type": "string[]"
  4603. }
  4604. },
  4605. "url": "/orgs/:org/teams"
  4606. },
  4607. "deleteHook": {
  4608. "method": "DELETE",
  4609. "params": {
  4610. "hook_id": {
  4611. "required": true,
  4612. "type": "string"
  4613. },
  4614. "id": {
  4615. "alias": "hook_id",
  4616. "required": true
  4617. },
  4618. "org": {
  4619. "required": true,
  4620. "type": "string"
  4621. }
  4622. },
  4623. "url": "/orgs/:org/hooks/:hook_id"
  4624. },
  4625. "deleteTeam": {
  4626. "headers": {
  4627. "accept": "application/vnd.github.hellcat-preview+json"
  4628. },
  4629. "method": "DELETE",
  4630. "params": {
  4631. "id": {
  4632. "alias": "team_id",
  4633. "deprecated": true
  4634. },
  4635. "team_id": {
  4636. "required": true,
  4637. "type": "string"
  4638. }
  4639. },
  4640. "url": "/teams/:team_id"
  4641. },
  4642. "deleteTeamRepo": {
  4643. "headers": {
  4644. "accept": "application/vnd.github.hellcat-preview+json"
  4645. },
  4646. "method": "DELETE",
  4647. "params": {
  4648. "id": {
  4649. "alias": "team_id",
  4650. "deprecated": true
  4651. },
  4652. "owner": {
  4653. "required": true,
  4654. "type": "string"
  4655. },
  4656. "repo": {
  4657. "required": true,
  4658. "type": "string"
  4659. },
  4660. "team_id": {
  4661. "required": true,
  4662. "type": "string"
  4663. }
  4664. },
  4665. "url": "/teams/:team_id/repos/:owner/:repo"
  4666. },
  4667. "editHook": {
  4668. "method": "PATCH",
  4669. "params": {
  4670. "active": {
  4671. "type": "boolean"
  4672. },
  4673. "config": {
  4674. "type": "object"
  4675. },
  4676. "config.content_type": {
  4677. "type": "string"
  4678. },
  4679. "config.insecure_ssl": {
  4680. "type": "string"
  4681. },
  4682. "config.secret": {
  4683. "type": "string"
  4684. },
  4685. "config.url": {
  4686. "required": true,
  4687. "type": "string"
  4688. },
  4689. "events": {
  4690. "type": "string[]"
  4691. },
  4692. "hook_id": {
  4693. "required": true,
  4694. "type": "string"
  4695. },
  4696. "id": {
  4697. "alias": "hook_id",
  4698. "required": true
  4699. },
  4700. "org": {
  4701. "required": true,
  4702. "type": "string"
  4703. }
  4704. },
  4705. "url": "/orgs/:org/hooks/:hook_id"
  4706. },
  4707. "editTeam": {
  4708. "headers": {
  4709. "accept": "application/vnd.github.hellcat-preview+json"
  4710. },
  4711. "method": "PATCH",
  4712. "params": {
  4713. "description": {
  4714. "type": "string"
  4715. },
  4716. "id": {
  4717. "alias": "team_id",
  4718. "deprecated": true
  4719. },
  4720. "name": {
  4721. "required": true,
  4722. "type": "string"
  4723. },
  4724. "parent_team_id": {
  4725. "type": "integer"
  4726. },
  4727. "permission": {
  4728. "enum": [
  4729. "pull",
  4730. "push",
  4731. "admin"
  4732. ],
  4733. "type": "string"
  4734. },
  4735. "privacy": {
  4736. "type": "string"
  4737. },
  4738. "team_id": {
  4739. "required": true,
  4740. "type": "string"
  4741. }
  4742. },
  4743. "url": "/teams/:team_id"
  4744. },
  4745. "get": {
  4746. "method": "GET",
  4747. "params": {
  4748. "org": {
  4749. "required": true,
  4750. "type": "string"
  4751. }
  4752. },
  4753. "url": "/orgs/:org"
  4754. },
  4755. "getAll": {
  4756. "method": "GET",
  4757. "params": {
  4758. "page": {
  4759. "type": "integer"
  4760. },
  4761. "per_page": {
  4762. "type": "integer"
  4763. },
  4764. "since": {
  4765. "type": "string"
  4766. }
  4767. },
  4768. "url": "/organizations"
  4769. },
  4770. "getBlockedUsers": {
  4771. "headers": {
  4772. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  4773. },
  4774. "method": "GET",
  4775. "params": {
  4776. "org": {
  4777. "required": true,
  4778. "type": "string"
  4779. }
  4780. },
  4781. "url": "/orgs/:org/blocks"
  4782. },
  4783. "getChildTeams": {
  4784. "headers": {
  4785. "accept": "application/vnd.github.hellcat-preview+json"
  4786. },
  4787. "method": "GET",
  4788. "params": {
  4789. "id": {
  4790. "alias": "team_id",
  4791. "deprecated": true
  4792. },
  4793. "page": {
  4794. "type": "integer"
  4795. },
  4796. "per_page": {
  4797. "type": "integer"
  4798. },
  4799. "team_id": {
  4800. "required": true,
  4801. "type": "string"
  4802. }
  4803. },
  4804. "url": "/teams/:team_id/teams"
  4805. },
  4806. "getForUser": {
  4807. "method": "GET",
  4808. "params": {
  4809. "page": {
  4810. "type": "integer"
  4811. },
  4812. "per_page": {
  4813. "type": "integer"
  4814. },
  4815. "username": {
  4816. "required": true,
  4817. "type": "string"
  4818. }
  4819. },
  4820. "url": "/users/:username/orgs"
  4821. },
  4822. "getHook": {
  4823. "method": "GET",
  4824. "params": {
  4825. "hook_id": {
  4826. "required": true,
  4827. "type": "string"
  4828. },
  4829. "id": {
  4830. "alias": "hook_id",
  4831. "required": true
  4832. },
  4833. "org": {
  4834. "required": true,
  4835. "type": "string"
  4836. }
  4837. },
  4838. "url": "/orgs/:org/hooks/:hook_id"
  4839. },
  4840. "getHooks": {
  4841. "method": "GET",
  4842. "params": {
  4843. "org": {
  4844. "required": true,
  4845. "type": "string"
  4846. },
  4847. "page": {
  4848. "type": "integer"
  4849. },
  4850. "per_page": {
  4851. "type": "integer"
  4852. }
  4853. },
  4854. "url": "/orgs/:org/hooks"
  4855. },
  4856. "getInvitationTeams": {
  4857. "method": "GET",
  4858. "params": {
  4859. "invitation_id": {
  4860. "required": true,
  4861. "type": "string"
  4862. },
  4863. "org": {
  4864. "required": true,
  4865. "type": "string"
  4866. },
  4867. "page": {
  4868. "type": "integer"
  4869. },
  4870. "per_page": {
  4871. "type": "integer"
  4872. }
  4873. },
  4874. "url": "/orgs/:org/invitations/:invitation_id/teams"
  4875. },
  4876. "getMembers": {
  4877. "method": "GET",
  4878. "params": {
  4879. "filter": {
  4880. "enum": [
  4881. "2fa_disabled",
  4882. "all"
  4883. ],
  4884. "type": "string"
  4885. },
  4886. "org": {
  4887. "required": true,
  4888. "type": "string"
  4889. },
  4890. "page": {
  4891. "type": "integer"
  4892. },
  4893. "per_page": {
  4894. "type": "integer"
  4895. },
  4896. "role": {
  4897. "enum": [
  4898. "all",
  4899. "admin",
  4900. "member"
  4901. ],
  4902. "type": "string"
  4903. }
  4904. },
  4905. "url": "/orgs/:org/members"
  4906. },
  4907. "getOrgMembership": {
  4908. "method": "GET",
  4909. "params": {
  4910. "org": {
  4911. "required": true,
  4912. "type": "string"
  4913. },
  4914. "username": {
  4915. "required": true,
  4916. "type": "string"
  4917. }
  4918. },
  4919. "url": "/orgs/:org/memberships/:username"
  4920. },
  4921. "getOutsideCollaborators": {
  4922. "method": "GET",
  4923. "params": {
  4924. "filter": {
  4925. "enum": [
  4926. "2fa_disabled",
  4927. "all"
  4928. ],
  4929. "type": "string"
  4930. },
  4931. "org": {
  4932. "required": true,
  4933. "type": "string"
  4934. },
  4935. "page": {
  4936. "type": "integer"
  4937. },
  4938. "per_page": {
  4939. "type": "integer"
  4940. }
  4941. },
  4942. "url": "/orgs/:org/outside_collaborators"
  4943. },
  4944. "getPendingOrgInvites": {
  4945. "method": "GET",
  4946. "params": {
  4947. "org": {
  4948. "required": true,
  4949. "type": "string"
  4950. },
  4951. "page": {
  4952. "type": "integer"
  4953. },
  4954. "per_page": {
  4955. "type": "integer"
  4956. }
  4957. },
  4958. "url": "/orgs/:org/invitations"
  4959. },
  4960. "getPendingTeamInvites": {
  4961. "method": "GET",
  4962. "params": {
  4963. "id": {
  4964. "alias": "team_id",
  4965. "deprecated": true
  4966. },
  4967. "page": {
  4968. "type": "integer"
  4969. },
  4970. "per_page": {
  4971. "type": "integer"
  4972. },
  4973. "team_id": {
  4974. "required": true,
  4975. "type": "string"
  4976. }
  4977. },
  4978. "url": "/teams/:team_id/invitations"
  4979. },
  4980. "getPublicMembers": {
  4981. "method": "GET",
  4982. "params": {
  4983. "org": {
  4984. "required": true,
  4985. "type": "string"
  4986. },
  4987. "page": {
  4988. "type": "integer"
  4989. },
  4990. "per_page": {
  4991. "type": "integer"
  4992. }
  4993. },
  4994. "url": "/orgs/:org/public_members"
  4995. },
  4996. "getTeam": {
  4997. "headers": {
  4998. "accept": "application/vnd.github.hellcat-preview+json"
  4999. },
  5000. "method": "GET",
  5001. "params": {
  5002. "id": {
  5003. "alias": "team_id",
  5004. "deprecated": true
  5005. },
  5006. "team_id": {
  5007. "required": true,
  5008. "type": "string"
  5009. }
  5010. },
  5011. "url": "/teams/:team_id"
  5012. },
  5013. "getTeamMembers": {
  5014. "headers": {
  5015. "accept": "application/vnd.github.hellcat-preview+json"
  5016. },
  5017. "method": "GET",
  5018. "params": {
  5019. "id": {
  5020. "alias": "team_id",
  5021. "deprecated": true
  5022. },
  5023. "page": {
  5024. "type": "integer"
  5025. },
  5026. "per_page": {
  5027. "type": "integer"
  5028. },
  5029. "role": {
  5030. "enum": [
  5031. "member",
  5032. "maintainer",
  5033. "all"
  5034. ],
  5035. "type": "string"
  5036. },
  5037. "team_id": {
  5038. "required": true,
  5039. "type": "string"
  5040. }
  5041. },
  5042. "url": "/teams/:team_id/members"
  5043. },
  5044. "getTeamMembership": {
  5045. "headers": {
  5046. "accept": "application/vnd.github.hellcat-preview+json"
  5047. },
  5048. "method": "GET",
  5049. "params": {
  5050. "id": {
  5051. "alias": "team_id",
  5052. "deprecated": true
  5053. },
  5054. "team_id": {
  5055. "required": true,
  5056. "type": "string"
  5057. },
  5058. "username": {
  5059. "required": true,
  5060. "type": "string"
  5061. }
  5062. },
  5063. "url": "/teams/:team_id/memberships/:username"
  5064. },
  5065. "getTeamRepos": {
  5066. "headers": {
  5067. "accept": "application/vnd.github.hellcat-preview+json"
  5068. },
  5069. "method": "GET",
  5070. "params": {
  5071. "id": {
  5072. "alias": "team_id",
  5073. "deprecated": true
  5074. },
  5075. "page": {
  5076. "type": "integer"
  5077. },
  5078. "per_page": {
  5079. "type": "integer"
  5080. },
  5081. "team_id": {
  5082. "required": true,
  5083. "type": "string"
  5084. }
  5085. },
  5086. "url": "/teams/:team_id/repos"
  5087. },
  5088. "getTeams": {
  5089. "headers": {
  5090. "accept": "application/vnd.github.hellcat-preview+json"
  5091. },
  5092. "method": "GET",
  5093. "params": {
  5094. "org": {
  5095. "required": true,
  5096. "type": "string"
  5097. },
  5098. "page": {
  5099. "type": "integer"
  5100. },
  5101. "per_page": {
  5102. "type": "integer"
  5103. }
  5104. },
  5105. "url": "/orgs/:org/teams"
  5106. },
  5107. "pingHook": {
  5108. "method": "POST",
  5109. "params": {
  5110. "hook_id": {
  5111. "required": true,
  5112. "type": "string"
  5113. },
  5114. "id": {
  5115. "alias": "hook_id",
  5116. "required": true
  5117. },
  5118. "org": {
  5119. "required": true,
  5120. "type": "string"
  5121. }
  5122. },
  5123. "url": "/orgs/:org/hooks/:hook_id/pings"
  5124. },
  5125. "publicizeMembership": {
  5126. "method": "PUT",
  5127. "params": {
  5128. "org": {
  5129. "required": true,
  5130. "type": "string"
  5131. },
  5132. "username": {
  5133. "required": true,
  5134. "type": "string"
  5135. }
  5136. },
  5137. "url": "/orgs/:org/public_members/:username"
  5138. },
  5139. "removeMember": {
  5140. "method": "DELETE",
  5141. "params": {
  5142. "org": {
  5143. "required": true,
  5144. "type": "string"
  5145. },
  5146. "username": {
  5147. "required": true,
  5148. "type": "string"
  5149. }
  5150. },
  5151. "url": "/orgs/:org/members/:username"
  5152. },
  5153. "removeOrgMembership": {
  5154. "method": "DELETE",
  5155. "params": {
  5156. "org": {
  5157. "required": true,
  5158. "type": "string"
  5159. },
  5160. "username": {
  5161. "required": true,
  5162. "type": "string"
  5163. }
  5164. },
  5165. "url": "/orgs/:org/memberships/:username"
  5166. },
  5167. "removeOutsideCollaborator": {
  5168. "method": "DELETE",
  5169. "params": {
  5170. "org": {
  5171. "required": true,
  5172. "type": "string"
  5173. },
  5174. "username": {
  5175. "required": true,
  5176. "type": "string"
  5177. }
  5178. },
  5179. "url": "/orgs/:org/outside_collaborators/:username"
  5180. },
  5181. "removeTeamMembership": {
  5182. "headers": {
  5183. "accept": "application/vnd.github.hellcat-preview+json"
  5184. },
  5185. "method": "DELETE",
  5186. "params": {
  5187. "id": {
  5188. "alias": "team_id",
  5189. "deprecated": true
  5190. },
  5191. "team_id": {
  5192. "required": true,
  5193. "type": "string"
  5194. },
  5195. "username": {
  5196. "required": true,
  5197. "type": "string"
  5198. }
  5199. },
  5200. "url": "/teams/:team_id/memberships/:username"
  5201. },
  5202. "unblockUser": {
  5203. "headers": {
  5204. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  5205. },
  5206. "method": "DELETE",
  5207. "params": {
  5208. "org": {
  5209. "required": true,
  5210. "type": "string"
  5211. },
  5212. "username": {
  5213. "required": true,
  5214. "type": "string"
  5215. }
  5216. },
  5217. "url": "/orgs/:org/blocks/:username"
  5218. },
  5219. "update": {
  5220. "method": "PATCH",
  5221. "params": {
  5222. "billing_email": {
  5223. "type": "string"
  5224. },
  5225. "company": {
  5226. "type": "string"
  5227. },
  5228. "default_repository_permission": {
  5229. "enum": [
  5230. "read",
  5231. "write",
  5232. "admin",
  5233. "none"
  5234. ],
  5235. "type": "string"
  5236. },
  5237. "description": {
  5238. "type": "string"
  5239. },
  5240. "email": {
  5241. "type": "string"
  5242. },
  5243. "has_organization_projects": {
  5244. "type": "boolean"
  5245. },
  5246. "has_repository_projects": {
  5247. "type": "boolean"
  5248. },
  5249. "location": {
  5250. "type": "string"
  5251. },
  5252. "members_can_create_repositories": {
  5253. "type": "boolean"
  5254. },
  5255. "name": {
  5256. "type": "string"
  5257. },
  5258. "org": {
  5259. "required": true,
  5260. "type": "string"
  5261. }
  5262. },
  5263. "url": "/orgs/:org"
  5264. }
  5265. },
  5266. "projects": {
  5267. "addCollaborator": {
  5268. "headers": {
  5269. "accept": "application/vnd.github.inertia-preview+json"
  5270. },
  5271. "method": "PUT",
  5272. "params": {
  5273. "id": {
  5274. "alias": "project_id",
  5275. "deprecated": true
  5276. },
  5277. "permission": {
  5278. "enum": [
  5279. "read",
  5280. "write",
  5281. "admin"
  5282. ],
  5283. "type": "string"
  5284. },
  5285. "project_id": {
  5286. "required": true,
  5287. "type": "string"
  5288. },
  5289. "username": {
  5290. "required": true,
  5291. "type": "string"
  5292. }
  5293. },
  5294. "url": "/projects/:project_id/collaborators/:username"
  5295. },
  5296. "createOrgProject": {
  5297. "headers": {
  5298. "accept": "application/vnd.github.inertia-preview+json"
  5299. },
  5300. "method": "POST",
  5301. "params": {
  5302. "body": {
  5303. "type": "string"
  5304. },
  5305. "name": {
  5306. "required": true,
  5307. "type": "string"
  5308. },
  5309. "org": {
  5310. "required": true,
  5311. "type": "string"
  5312. },
  5313. "page": {
  5314. "type": "integer"
  5315. },
  5316. "per_page": {
  5317. "type": "integer"
  5318. }
  5319. },
  5320. "url": "/orgs/:org/projects"
  5321. },
  5322. "createProjectCard": {
  5323. "headers": {
  5324. "accept": "application/vnd.github.inertia-preview+json"
  5325. },
  5326. "method": "POST",
  5327. "params": {
  5328. "column_id": {
  5329. "required": true,
  5330. "type": "string"
  5331. },
  5332. "content_id": {
  5333. "type": "integer"
  5334. },
  5335. "content_type": {
  5336. "type": "string"
  5337. },
  5338. "note": {
  5339. "type": "string"
  5340. }
  5341. },
  5342. "url": "/projects/columns/:column_id/cards"
  5343. },
  5344. "createProjectColumn": {
  5345. "headers": {
  5346. "accept": "application/vnd.github.inertia-preview+json"
  5347. },
  5348. "method": "POST",
  5349. "params": {
  5350. "id": {
  5351. "alias": "project_id"
  5352. },
  5353. "name": {
  5354. "required": true,
  5355. "type": "string"
  5356. },
  5357. "project_id": {
  5358. "required": true,
  5359. "type": "string"
  5360. }
  5361. },
  5362. "url": "/projects/:project_id/columns"
  5363. },
  5364. "createRepoProject": {
  5365. "headers": {
  5366. "accept": "application/vnd.github.inertia-preview+json"
  5367. },
  5368. "method": "POST",
  5369. "params": {
  5370. "body": {
  5371. "type": "string"
  5372. },
  5373. "name": {
  5374. "required": true,
  5375. "type": "string"
  5376. },
  5377. "owner": {
  5378. "required": true,
  5379. "type": "string"
  5380. },
  5381. "page": {
  5382. "type": "integer"
  5383. },
  5384. "per_page": {
  5385. "type": "integer"
  5386. },
  5387. "repo": {
  5388. "required": true,
  5389. "type": "string"
  5390. }
  5391. },
  5392. "url": "/repos/:owner/:repo/projects"
  5393. },
  5394. "deleteProject": {
  5395. "headers": {
  5396. "accept": "application/vnd.github.inertia-preview+json"
  5397. },
  5398. "method": "DELETE",
  5399. "params": {
  5400. "id": {
  5401. "alias": "project_id"
  5402. },
  5403. "project_id": {
  5404. "required": true,
  5405. "type": "string"
  5406. }
  5407. },
  5408. "url": "/projects/:project_id"
  5409. },
  5410. "deleteProjectCard": {
  5411. "headers": {
  5412. "accept": "application/vnd.github.inertia-preview+json"
  5413. },
  5414. "method": "DELETE",
  5415. "params": {
  5416. "card_id": {
  5417. "required": true,
  5418. "type": "string"
  5419. },
  5420. "id": {
  5421. "alias": "card_id"
  5422. }
  5423. },
  5424. "url": "/projects/columns/cards/:card_id"
  5425. },
  5426. "deleteProjectColumn": {
  5427. "headers": {
  5428. "accept": "application/vnd.github.inertia-preview+json"
  5429. },
  5430. "method": "DELETE",
  5431. "params": {
  5432. "column_id": {
  5433. "required": true,
  5434. "type": "string"
  5435. },
  5436. "id": {
  5437. "alias": "column_id"
  5438. }
  5439. },
  5440. "url": "/projects/columns/:column_id"
  5441. },
  5442. "getCollaborators": {
  5443. "headers": {
  5444. "accept": "application/vnd.github.inertia-preview+json"
  5445. },
  5446. "method": "GET",
  5447. "params": {
  5448. "affiliation": {
  5449. "enum": [
  5450. "outside",
  5451. "direct",
  5452. "all"
  5453. ],
  5454. "type": "string"
  5455. },
  5456. "id": {
  5457. "alias": "project_id",
  5458. "deprecated": true
  5459. },
  5460. "page": {
  5461. "type": "integer"
  5462. },
  5463. "per_page": {
  5464. "type": "integer"
  5465. },
  5466. "project_id": {
  5467. "required": true,
  5468. "type": "string"
  5469. }
  5470. },
  5471. "url": "/projects/:project_id/collaborators"
  5472. },
  5473. "getOrgProjects": {
  5474. "headers": {
  5475. "accept": "application/vnd.github.inertia-preview+json"
  5476. },
  5477. "method": "GET",
  5478. "params": {
  5479. "org": {
  5480. "required": true,
  5481. "type": "string"
  5482. },
  5483. "page": {
  5484. "type": "integer"
  5485. },
  5486. "per_page": {
  5487. "type": "integer"
  5488. },
  5489. "state": {
  5490. "enum": [
  5491. "open",
  5492. "closed",
  5493. "all"
  5494. ],
  5495. "type": "string"
  5496. }
  5497. },
  5498. "url": "/orgs/:org/projects"
  5499. },
  5500. "getProject": {
  5501. "headers": {
  5502. "accept": "application/vnd.github.inertia-preview+json"
  5503. },
  5504. "method": "GET",
  5505. "params": {
  5506. "id": {
  5507. "alias": "project_id"
  5508. },
  5509. "page": {
  5510. "type": "integer"
  5511. },
  5512. "per_page": {
  5513. "type": "integer"
  5514. },
  5515. "project_id": {
  5516. "required": true,
  5517. "type": "string"
  5518. }
  5519. },
  5520. "url": "/projects/:project_id"
  5521. },
  5522. "getProjectCard": {
  5523. "headers": {
  5524. "accept": "application/vnd.github.inertia-preview+json"
  5525. },
  5526. "method": "GET",
  5527. "params": {
  5528. "card_id": {
  5529. "required": true,
  5530. "type": "string"
  5531. },
  5532. "id": {
  5533. "alias": "card_id"
  5534. }
  5535. },
  5536. "url": "/projects/columns/cards/:card_id"
  5537. },
  5538. "getProjectCards": {
  5539. "headers": {
  5540. "accept": "application/vnd.github.inertia-preview+json"
  5541. },
  5542. "method": "GET",
  5543. "params": {
  5544. "column_id": {
  5545. "required": true,
  5546. "type": "string"
  5547. },
  5548. "page": {
  5549. "type": "integer"
  5550. },
  5551. "per_page": {
  5552. "type": "integer"
  5553. }
  5554. },
  5555. "url": "/projects/columns/:column_id/cards"
  5556. },
  5557. "getProjectColumn": {
  5558. "headers": {
  5559. "accept": "application/vnd.github.inertia-preview+json"
  5560. },
  5561. "method": "GET",
  5562. "params": {
  5563. "column_id": {
  5564. "required": true,
  5565. "type": "string"
  5566. },
  5567. "id": {
  5568. "alias": "column_id"
  5569. }
  5570. },
  5571. "url": "/projects/columns/:column_id"
  5572. },
  5573. "getProjectColumns": {
  5574. "headers": {
  5575. "accept": "application/vnd.github.inertia-preview+json"
  5576. },
  5577. "method": "GET",
  5578. "params": {
  5579. "id": {
  5580. "alias": "project_id"
  5581. },
  5582. "page": {
  5583. "type": "integer"
  5584. },
  5585. "per_page": {
  5586. "type": "integer"
  5587. },
  5588. "project_id": {
  5589. "required": true,
  5590. "type": "string"
  5591. }
  5592. },
  5593. "url": "/projects/:project_id/columns"
  5594. },
  5595. "getRepoProjects": {
  5596. "headers": {
  5597. "accept": "application/vnd.github.inertia-preview+json"
  5598. },
  5599. "method": "GET",
  5600. "params": {
  5601. "owner": {
  5602. "required": true,
  5603. "type": "string"
  5604. },
  5605. "page": {
  5606. "type": "integer"
  5607. },
  5608. "per_page": {
  5609. "type": "integer"
  5610. },
  5611. "repo": {
  5612. "required": true,
  5613. "type": "string"
  5614. },
  5615. "state": {
  5616. "enum": [
  5617. "open",
  5618. "closed",
  5619. "all"
  5620. ],
  5621. "type": "string"
  5622. }
  5623. },
  5624. "url": "/repos/:owner/:repo/projects"
  5625. },
  5626. "getUserPermissionLevel": {
  5627. "headers": {
  5628. "accept": "application/vnd.github.inertia-preview+json"
  5629. },
  5630. "method": "GET",
  5631. "params": {
  5632. "id": {
  5633. "alias": "project_id",
  5634. "deprecated": true
  5635. },
  5636. "project_id": {
  5637. "required": true,
  5638. "type": "string"
  5639. },
  5640. "username": {
  5641. "required": true,
  5642. "type": "string"
  5643. }
  5644. },
  5645. "url": "/projects/:project_id/collaborators/:username/permission"
  5646. },
  5647. "moveProjectCard": {
  5648. "headers": {
  5649. "accept": "application/vnd.github.inertia-preview+json"
  5650. },
  5651. "method": "POST",
  5652. "params": {
  5653. "card_id": {
  5654. "required": true,
  5655. "type": "string"
  5656. },
  5657. "column_id": {
  5658. "type": "integer"
  5659. },
  5660. "id": {
  5661. "alias": "card_id"
  5662. },
  5663. "position": {
  5664. "required": true,
  5665. "type": "string",
  5666. "validation": "^(top|bottom|after:\\d+)$"
  5667. }
  5668. },
  5669. "url": "/projects/columns/cards/:card_id/moves"
  5670. },
  5671. "moveProjectColumn": {
  5672. "headers": {
  5673. "accept": "application/vnd.github.inertia-preview+json"
  5674. },
  5675. "method": "POST",
  5676. "params": {
  5677. "column_id": {
  5678. "required": true,
  5679. "type": "string"
  5680. },
  5681. "id": {
  5682. "alias": "column_id"
  5683. },
  5684. "position": {
  5685. "required": true,
  5686. "type": "string",
  5687. "validation": "^(first|last|after:\\d+)$"
  5688. }
  5689. },
  5690. "url": "/projects/columns/:column_id/moves"
  5691. },
  5692. "removeCollaborator": {
  5693. "headers": {
  5694. "accept": "application/vnd.github.inertia-preview+json"
  5695. },
  5696. "method": "DELETE",
  5697. "params": {
  5698. "id": {
  5699. "alias": "project_id",
  5700. "deprecated": true
  5701. },
  5702. "project_id": {
  5703. "required": true,
  5704. "type": "string"
  5705. },
  5706. "username": {
  5707. "required": true,
  5708. "type": "string"
  5709. }
  5710. },
  5711. "url": "/projects/:project_id/collaborators/:username"
  5712. },
  5713. "updateProject": {
  5714. "headers": {
  5715. "accept": "application/vnd.github.inertia-preview+json"
  5716. },
  5717. "method": "PATCH",
  5718. "params": {
  5719. "body": {
  5720. "type": "string"
  5721. },
  5722. "id": {
  5723. "alias": "project_id"
  5724. },
  5725. "name": {
  5726. "type": "string"
  5727. },
  5728. "organization_permission": {
  5729. "type": "string"
  5730. },
  5731. "page": {
  5732. "type": "integer"
  5733. },
  5734. "per_page": {
  5735. "type": "integer"
  5736. },
  5737. "project_id": {
  5738. "required": true,
  5739. "type": "string"
  5740. },
  5741. "public": {
  5742. "type": "boolean"
  5743. },
  5744. "state": {
  5745. "enum": [
  5746. "open",
  5747. "closed"
  5748. ],
  5749. "type": "string"
  5750. }
  5751. },
  5752. "url": "/projects/:project_id"
  5753. },
  5754. "updateProjectCard": {
  5755. "headers": {
  5756. "accept": "application/vnd.github.inertia-preview+json"
  5757. },
  5758. "method": "PATCH",
  5759. "params": {
  5760. "card_id": {
  5761. "required": true,
  5762. "type": "string"
  5763. },
  5764. "id": {
  5765. "alias": "card_id"
  5766. },
  5767. "note": {
  5768. "type": "string"
  5769. }
  5770. },
  5771. "url": "/projects/columns/cards/:card_id"
  5772. },
  5773. "updateProjectColumn": {
  5774. "headers": {
  5775. "accept": "application/vnd.github.inertia-preview+json"
  5776. },
  5777. "method": "PATCH",
  5778. "params": {
  5779. "column_id": {
  5780. "required": true,
  5781. "type": "string"
  5782. },
  5783. "id": {
  5784. "alias": "column_id"
  5785. },
  5786. "name": {
  5787. "required": true,
  5788. "type": "string"
  5789. }
  5790. },
  5791. "url": "/projects/columns/:column_id"
  5792. }
  5793. },
  5794. "pullRequests": {
  5795. "checkMerged": {
  5796. "headers": {
  5797. "accept": "application/vnd.github.polaris-preview"
  5798. },
  5799. "method": "GET",
  5800. "params": {
  5801. "number": {
  5802. "required": true,
  5803. "type": "integer"
  5804. },
  5805. "owner": {
  5806. "required": true,
  5807. "type": "string"
  5808. },
  5809. "repo": {
  5810. "required": true,
  5811. "type": "string"
  5812. }
  5813. },
  5814. "url": "/repos/:owner/:repo/pulls/:number/merge"
  5815. },
  5816. "create": {
  5817. "method": "POST",
  5818. "params": {
  5819. "base": {
  5820. "required": true,
  5821. "type": "string"
  5822. },
  5823. "body": {
  5824. "type": "string"
  5825. },
  5826. "head": {
  5827. "required": true,
  5828. "type": "string"
  5829. },
  5830. "maintainer_can_modify": {
  5831. "type": "boolean"
  5832. },
  5833. "owner": {
  5834. "required": true,
  5835. "type": "string"
  5836. },
  5837. "repo": {
  5838. "required": true,
  5839. "type": "string"
  5840. },
  5841. "title": {
  5842. "required": true,
  5843. "type": "string"
  5844. }
  5845. },
  5846. "url": "/repos/:owner/:repo/pulls"
  5847. },
  5848. "createComment": {
  5849. "headers": {
  5850. "accept": "application/vnd.github.squirrel-girl-preview"
  5851. },
  5852. "method": "POST",
  5853. "params": {
  5854. "body": {
  5855. "required": true,
  5856. "type": "string"
  5857. },
  5858. "commit_id": {
  5859. "required": true,
  5860. "type": "string"
  5861. },
  5862. "number": {
  5863. "required": true,
  5864. "type": "integer"
  5865. },
  5866. "owner": {
  5867. "required": true,
  5868. "type": "string"
  5869. },
  5870. "path": {
  5871. "required": true,
  5872. "type": "string"
  5873. },
  5874. "position": {
  5875. "required": true,
  5876. "type": "integer"
  5877. },
  5878. "repo": {
  5879. "required": true,
  5880. "type": "string"
  5881. }
  5882. },
  5883. "url": "/repos/:owner/:repo/pulls/:number/comments"
  5884. },
  5885. "createCommentReply": {
  5886. "headers": {
  5887. "accept": "application/vnd.github.squirrel-girl-preview"
  5888. },
  5889. "method": "POST",
  5890. "params": {
  5891. "body": {
  5892. "required": true,
  5893. "type": "string"
  5894. },
  5895. "in_reply_to": {
  5896. "required": true,
  5897. "type": "integer"
  5898. },
  5899. "number": {
  5900. "required": true,
  5901. "type": "integer"
  5902. },
  5903. "owner": {
  5904. "required": true,
  5905. "type": "string"
  5906. },
  5907. "repo": {
  5908. "required": true,
  5909. "type": "string"
  5910. }
  5911. },
  5912. "url": "/repos/:owner/:repo/pulls/:number/comments"
  5913. },
  5914. "createFromIssue": {
  5915. "method": "POST",
  5916. "params": {
  5917. "base": {
  5918. "required": true,
  5919. "type": "string"
  5920. },
  5921. "body": {
  5922. "type": "string"
  5923. },
  5924. "head": {
  5925. "required": true,
  5926. "type": "string"
  5927. },
  5928. "maintainer_can_modify": {
  5929. "type": "boolean"
  5930. },
  5931. "owner": {
  5932. "required": true,
  5933. "type": "string"
  5934. },
  5935. "repo": {
  5936. "required": true,
  5937. "type": "string"
  5938. },
  5939. "title": {
  5940. "required": true,
  5941. "type": "string"
  5942. }
  5943. },
  5944. "url": "/repos/:owner/:repo/pulls"
  5945. },
  5946. "createReview": {
  5947. "method": "POST",
  5948. "params": {
  5949. "body": {
  5950. "type": "string"
  5951. },
  5952. "comments": {
  5953. "type": "object[]"
  5954. },
  5955. "comments[].body": {
  5956. "type": "string"
  5957. },
  5958. "comments[].path": {
  5959. "type": "string"
  5960. },
  5961. "comments[].position": {
  5962. "type": "integer"
  5963. },
  5964. "commit_id": {
  5965. "type": "string"
  5966. },
  5967. "event": {
  5968. "enum": [
  5969. "APPROVE",
  5970. "REQUEST_CHANGES",
  5971. "COMMENT"
  5972. ],
  5973. "type": "string"
  5974. },
  5975. "number": {
  5976. "required": true,
  5977. "type": "integer"
  5978. },
  5979. "owner": {
  5980. "required": true,
  5981. "type": "string"
  5982. },
  5983. "repo": {
  5984. "required": true,
  5985. "type": "string"
  5986. }
  5987. },
  5988. "url": "/repos/:owner/:repo/pulls/:number/reviews"
  5989. },
  5990. "createReviewRequest": {
  5991. "headers": {
  5992. "accept": "application/vnd.github.thor-preview+json"
  5993. },
  5994. "method": "POST",
  5995. "params": {
  5996. "number": {
  5997. "required": true,
  5998. "type": "integer"
  5999. },
  6000. "owner": {
  6001. "required": true,
  6002. "type": "string"
  6003. },
  6004. "repo": {
  6005. "required": true,
  6006. "type": "string"
  6007. },
  6008. "reviewers": {
  6009. "type": "string[]"
  6010. },
  6011. "team_reviewers": {
  6012. "type": "string[]"
  6013. }
  6014. },
  6015. "url": "/repos/:owner/:repo/pulls/:number/requested_reviewers"
  6016. },
  6017. "deleteComment": {
  6018. "headers": {
  6019. "accept": "application/vnd.github.squirrel-girl-preview"
  6020. },
  6021. "method": "DELETE",
  6022. "params": {
  6023. "comment_id": {
  6024. "required": true,
  6025. "type": "string"
  6026. },
  6027. "id": {
  6028. "alias": "comment_id",
  6029. "deprecated": true
  6030. },
  6031. "owner": {
  6032. "required": true,
  6033. "type": "string"
  6034. },
  6035. "repo": {
  6036. "required": true,
  6037. "type": "string"
  6038. }
  6039. },
  6040. "url": "/repos/:owner/:repo/pulls/comments/:comment_id"
  6041. },
  6042. "deletePendingReview": {
  6043. "method": "DELETE",
  6044. "params": {
  6045. "id": {
  6046. "alias": "review_id",
  6047. "deprecated": true
  6048. },
  6049. "number": {
  6050. "required": true,
  6051. "type": "integer"
  6052. },
  6053. "owner": {
  6054. "required": true,
  6055. "type": "string"
  6056. },
  6057. "repo": {
  6058. "required": true,
  6059. "type": "string"
  6060. },
  6061. "review_id": {
  6062. "required": true,
  6063. "type": "string"
  6064. }
  6065. },
  6066. "url": "/repos/:owner/:repo/pulls/:number/reviews/:review_id"
  6067. },
  6068. "deleteReviewRequest": {
  6069. "headers": {
  6070. "accept": "application/vnd.github.thor-preview+json"
  6071. },
  6072. "method": "DELETE",
  6073. "params": {
  6074. "number": {
  6075. "required": true,
  6076. "type": "integer"
  6077. },
  6078. "owner": {
  6079. "required": true,
  6080. "type": "string"
  6081. },
  6082. "repo": {
  6083. "required": true,
  6084. "type": "string"
  6085. },
  6086. "reviewers": {
  6087. "type": "string[]"
  6088. },
  6089. "team_reviewers": {
  6090. "type": "string[]"
  6091. }
  6092. },
  6093. "url": "/repos/:owner/:repo/pulls/:number/requested_reviewers"
  6094. },
  6095. "dismissReview": {
  6096. "method": "PUT",
  6097. "params": {
  6098. "id": {
  6099. "alias": "review_id",
  6100. "deprecated": true
  6101. },
  6102. "message": {
  6103. "type": "string"
  6104. },
  6105. "number": {
  6106. "required": true,
  6107. "type": "integer"
  6108. },
  6109. "owner": {
  6110. "required": true,
  6111. "type": "string"
  6112. },
  6113. "repo": {
  6114. "required": true,
  6115. "type": "string"
  6116. },
  6117. "review_id": {
  6118. "required": true,
  6119. "type": "string"
  6120. }
  6121. },
  6122. "url": "/repos/:owner/:repo/pulls/:number/reviews/:review_id/dismissals"
  6123. },
  6124. "editComment": {
  6125. "headers": {
  6126. "accept": "application/vnd.github.squirrel-girl-preview"
  6127. },
  6128. "method": "PATCH",
  6129. "params": {
  6130. "body": {
  6131. "required": true,
  6132. "type": "string"
  6133. },
  6134. "comment_id": {
  6135. "required": true,
  6136. "type": "string"
  6137. },
  6138. "id": {
  6139. "alias": "comment_id",
  6140. "deprecated": true
  6141. },
  6142. "owner": {
  6143. "required": true,
  6144. "type": "string"
  6145. },
  6146. "repo": {
  6147. "required": true,
  6148. "type": "string"
  6149. }
  6150. },
  6151. "url": "/repos/:owner/:repo/pulls/comments/:comment_id"
  6152. },
  6153. "get": {
  6154. "method": "GET",
  6155. "params": {
  6156. "number": {
  6157. "required": true,
  6158. "type": "integer"
  6159. },
  6160. "owner": {
  6161. "required": true,
  6162. "type": "string"
  6163. },
  6164. "repo": {
  6165. "required": true,
  6166. "type": "string"
  6167. }
  6168. },
  6169. "url": "/repos/:owner/:repo/pulls/:number"
  6170. },
  6171. "getAll": {
  6172. "method": "GET",
  6173. "params": {
  6174. "base": {
  6175. "type": "string"
  6176. },
  6177. "direction": {
  6178. "enum": [
  6179. "asc",
  6180. "desc"
  6181. ],
  6182. "type": "string"
  6183. },
  6184. "head": {
  6185. "type": "string"
  6186. },
  6187. "owner": {
  6188. "required": true,
  6189. "type": "string"
  6190. },
  6191. "page": {
  6192. "type": "integer"
  6193. },
  6194. "per_page": {
  6195. "type": "integer"
  6196. },
  6197. "repo": {
  6198. "required": true,
  6199. "type": "string"
  6200. },
  6201. "sort": {
  6202. "enum": [
  6203. "created",
  6204. "updated",
  6205. "popularity",
  6206. "long-running"
  6207. ],
  6208. "type": "string"
  6209. },
  6210. "state": {
  6211. "enum": [
  6212. "open",
  6213. "closed",
  6214. "all"
  6215. ],
  6216. "type": "string"
  6217. }
  6218. },
  6219. "url": "/repos/:owner/:repo/pulls"
  6220. },
  6221. "getComment": {
  6222. "headers": {
  6223. "accept": "application/vnd.github.squirrel-girl-preview"
  6224. },
  6225. "method": "GET",
  6226. "params": {
  6227. "comment_id": {
  6228. "required": true,
  6229. "type": "string"
  6230. },
  6231. "id": {
  6232. "alias": "comment_id",
  6233. "deprecated": true
  6234. },
  6235. "owner": {
  6236. "required": true,
  6237. "type": "string"
  6238. },
  6239. "repo": {
  6240. "required": true,
  6241. "type": "string"
  6242. }
  6243. },
  6244. "url": "/repos/:owner/:repo/pulls/comments/:comment_id"
  6245. },
  6246. "getComments": {
  6247. "headers": {
  6248. "accept": "application/vnd.github.squirrel-girl-preview"
  6249. },
  6250. "method": "GET",
  6251. "params": {
  6252. "direction": {
  6253. "enum": [
  6254. "asc",
  6255. "desc"
  6256. ],
  6257. "type": "string"
  6258. },
  6259. "number": {
  6260. "required": true,
  6261. "type": "integer"
  6262. },
  6263. "owner": {
  6264. "required": true,
  6265. "type": "string"
  6266. },
  6267. "page": {
  6268. "type": "integer"
  6269. },
  6270. "per_page": {
  6271. "type": "integer"
  6272. },
  6273. "repo": {
  6274. "required": true,
  6275. "type": "string"
  6276. },
  6277. "since": {
  6278. "type": "string"
  6279. },
  6280. "sort": {
  6281. "enum": [
  6282. "created",
  6283. "updated"
  6284. ],
  6285. "type": "string"
  6286. }
  6287. },
  6288. "url": "/repos/:owner/:repo/pulls/:number/comments"
  6289. },
  6290. "getCommentsForRepo": {
  6291. "headers": {
  6292. "accept": "application/vnd.github.squirrel-girl-preview"
  6293. },
  6294. "method": "GET",
  6295. "params": {
  6296. "direction": {
  6297. "enum": [
  6298. "asc",
  6299. "desc"
  6300. ],
  6301. "type": "string"
  6302. },
  6303. "owner": {
  6304. "required": true,
  6305. "type": "string"
  6306. },
  6307. "page": {
  6308. "type": "integer"
  6309. },
  6310. "per_page": {
  6311. "type": "integer"
  6312. },
  6313. "repo": {
  6314. "required": true,
  6315. "type": "string"
  6316. },
  6317. "since": {
  6318. "type": "string"
  6319. },
  6320. "sort": {
  6321. "enum": [
  6322. "created",
  6323. "updated"
  6324. ],
  6325. "type": "string"
  6326. }
  6327. },
  6328. "url": "/repos/:owner/:repo/pulls/comments"
  6329. },
  6330. "getCommits": {
  6331. "method": "GET",
  6332. "params": {
  6333. "number": {
  6334. "required": true,
  6335. "type": "integer"
  6336. },
  6337. "owner": {
  6338. "required": true,
  6339. "type": "string"
  6340. },
  6341. "page": {
  6342. "type": "integer"
  6343. },
  6344. "per_page": {
  6345. "type": "integer"
  6346. },
  6347. "repo": {
  6348. "required": true,
  6349. "type": "string"
  6350. }
  6351. },
  6352. "url": "/repos/:owner/:repo/pulls/:number/commits"
  6353. },
  6354. "getFiles": {
  6355. "method": "GET",
  6356. "params": {
  6357. "number": {
  6358. "required": true,
  6359. "type": "integer"
  6360. },
  6361. "owner": {
  6362. "required": true,
  6363. "type": "string"
  6364. },
  6365. "page": {
  6366. "type": "integer"
  6367. },
  6368. "per_page": {
  6369. "type": "integer"
  6370. },
  6371. "repo": {
  6372. "required": true,
  6373. "type": "string"
  6374. }
  6375. },
  6376. "url": "/repos/:owner/:repo/pulls/:number/files"
  6377. },
  6378. "getReview": {
  6379. "method": "GET",
  6380. "params": {
  6381. "id": {
  6382. "alias": "review_id",
  6383. "deprecated": true
  6384. },
  6385. "number": {
  6386. "required": true,
  6387. "type": "integer"
  6388. },
  6389. "owner": {
  6390. "required": true,
  6391. "type": "string"
  6392. },
  6393. "repo": {
  6394. "required": true,
  6395. "type": "string"
  6396. },
  6397. "review_id": {
  6398. "required": true,
  6399. "type": "string"
  6400. }
  6401. },
  6402. "url": "/repos/:owner/:repo/pulls/:number/reviews/:review_id"
  6403. },
  6404. "getReviewComments": {
  6405. "method": "GET",
  6406. "params": {
  6407. "id": {
  6408. "alias": "review_id",
  6409. "deprecated": true
  6410. },
  6411. "number": {
  6412. "required": true,
  6413. "type": "integer"
  6414. },
  6415. "owner": {
  6416. "required": true,
  6417. "type": "string"
  6418. },
  6419. "page": {
  6420. "type": "integer"
  6421. },
  6422. "per_page": {
  6423. "type": "integer"
  6424. },
  6425. "repo": {
  6426. "required": true,
  6427. "type": "string"
  6428. },
  6429. "review_id": {
  6430. "required": true,
  6431. "type": "string"
  6432. }
  6433. },
  6434. "url": "/repos/:owner/:repo/pulls/:number/reviews/:review_id/comments"
  6435. },
  6436. "getReviewRequests": {
  6437. "headers": {
  6438. "accept": "application/vnd.github.thor-preview+json"
  6439. },
  6440. "method": "GET",
  6441. "params": {
  6442. "number": {
  6443. "required": true,
  6444. "type": "integer"
  6445. },
  6446. "owner": {
  6447. "required": true,
  6448. "type": "string"
  6449. },
  6450. "page": {
  6451. "type": "integer"
  6452. },
  6453. "per_page": {
  6454. "type": "integer"
  6455. },
  6456. "repo": {
  6457. "required": true,
  6458. "type": "string"
  6459. }
  6460. },
  6461. "url": "/repos/:owner/:repo/pulls/:number/requested_reviewers"
  6462. },
  6463. "getReviews": {
  6464. "method": "GET",
  6465. "params": {
  6466. "number": {
  6467. "required": true,
  6468. "type": "integer"
  6469. },
  6470. "owner": {
  6471. "required": true,
  6472. "type": "string"
  6473. },
  6474. "page": {
  6475. "type": "integer"
  6476. },
  6477. "per_page": {
  6478. "type": "integer"
  6479. },
  6480. "repo": {
  6481. "required": true,
  6482. "type": "string"
  6483. }
  6484. },
  6485. "url": "/repos/:owner/:repo/pulls/:number/reviews"
  6486. },
  6487. "merge": {
  6488. "headers": {
  6489. "accept": "application/vnd.github.polaris-preview"
  6490. },
  6491. "method": "PUT",
  6492. "params": {
  6493. "commit_message": {
  6494. "type": "string"
  6495. },
  6496. "commit_title": {
  6497. "type": "string"
  6498. },
  6499. "merge_method": {
  6500. "enum": [
  6501. "merge",
  6502. "squash",
  6503. "rebase"
  6504. ],
  6505. "type": "string"
  6506. },
  6507. "number": {
  6508. "required": true,
  6509. "type": "integer"
  6510. },
  6511. "owner": {
  6512. "required": true,
  6513. "type": "string"
  6514. },
  6515. "repo": {
  6516. "required": true,
  6517. "type": "string"
  6518. },
  6519. "sha": {
  6520. "type": "string"
  6521. }
  6522. },
  6523. "url": "/repos/:owner/:repo/pulls/:number/merge"
  6524. },
  6525. "submitReview": {
  6526. "method": "POST",
  6527. "params": {
  6528. "body": {
  6529. "type": "string"
  6530. },
  6531. "event": {
  6532. "enum": [
  6533. "APPROVE",
  6534. "REQUEST_CHANGES",
  6535. "COMMENT"
  6536. ],
  6537. "type": "string"
  6538. },
  6539. "id": {
  6540. "alias": "review_id",
  6541. "deprecated": true
  6542. },
  6543. "number": {
  6544. "required": true,
  6545. "type": "integer"
  6546. },
  6547. "owner": {
  6548. "required": true,
  6549. "type": "string"
  6550. },
  6551. "repo": {
  6552. "required": true,
  6553. "type": "string"
  6554. },
  6555. "review_id": {
  6556. "required": true,
  6557. "type": "string"
  6558. }
  6559. },
  6560. "url": "/repos/:owner/:repo/pulls/:number/reviews/:review_id/events"
  6561. },
  6562. "update": {
  6563. "method": "PATCH",
  6564. "params": {
  6565. "base": {
  6566. "type": "string"
  6567. },
  6568. "body": {
  6569. "type": "string"
  6570. },
  6571. "maintainer_can_modify": {
  6572. "type": "boolean"
  6573. },
  6574. "number": {
  6575. "required": true,
  6576. "type": "integer"
  6577. },
  6578. "owner": {
  6579. "required": true,
  6580. "type": "string"
  6581. },
  6582. "repo": {
  6583. "required": true,
  6584. "type": "string"
  6585. },
  6586. "state": {
  6587. "enum": [
  6588. "open",
  6589. "closed"
  6590. ],
  6591. "type": "string"
  6592. },
  6593. "title": {
  6594. "type": "string"
  6595. }
  6596. },
  6597. "url": "/repos/:owner/:repo/pulls/:number"
  6598. }
  6599. },
  6600. "reactions": {
  6601. "createForCommitComment": {
  6602. "headers": {
  6603. "accept": "application/vnd.github.squirrel-girl-preview"
  6604. },
  6605. "method": "POST",
  6606. "params": {
  6607. "comment_id": {
  6608. "required": true,
  6609. "type": "string"
  6610. },
  6611. "content": {
  6612. "enum": [
  6613. "+1",
  6614. "-1",
  6615. "laugh",
  6616. "confused",
  6617. "heart",
  6618. "hooray"
  6619. ],
  6620. "required": true,
  6621. "type": "string"
  6622. },
  6623. "id": {
  6624. "alias": "comment_id",
  6625. "deprecated": true
  6626. },
  6627. "owner": {
  6628. "required": true,
  6629. "type": "string"
  6630. },
  6631. "repo": {
  6632. "required": true,
  6633. "type": "string"
  6634. }
  6635. },
  6636. "url": "/repos/:owner/:repo/comments/:comment_id/reactions"
  6637. },
  6638. "createForIssue": {
  6639. "headers": {
  6640. "accept": "application/vnd.github.squirrel-girl-preview"
  6641. },
  6642. "method": "POST",
  6643. "params": {
  6644. "content": {
  6645. "enum": [
  6646. "+1",
  6647. "-1",
  6648. "laugh",
  6649. "confused",
  6650. "heart",
  6651. "hooray"
  6652. ],
  6653. "required": true,
  6654. "type": "string"
  6655. },
  6656. "number": {
  6657. "required": true,
  6658. "type": "integer"
  6659. },
  6660. "owner": {
  6661. "required": true,
  6662. "type": "string"
  6663. },
  6664. "repo": {
  6665. "required": true,
  6666. "type": "string"
  6667. }
  6668. },
  6669. "url": "/repos/:owner/:repo/issues/:number/reactions"
  6670. },
  6671. "createForIssueComment": {
  6672. "headers": {
  6673. "accept": "application/vnd.github.squirrel-girl-preview"
  6674. },
  6675. "method": "POST",
  6676. "params": {
  6677. "comment_id": {
  6678. "required": true,
  6679. "type": "string"
  6680. },
  6681. "content": {
  6682. "enum": [
  6683. "+1",
  6684. "-1",
  6685. "laugh",
  6686. "confused",
  6687. "heart",
  6688. "hooray"
  6689. ],
  6690. "required": true,
  6691. "type": "string"
  6692. },
  6693. "id": {
  6694. "alias": "comment_id",
  6695. "deprecated": true
  6696. },
  6697. "owner": {
  6698. "required": true,
  6699. "type": "string"
  6700. },
  6701. "repo": {
  6702. "required": true,
  6703. "type": "string"
  6704. }
  6705. },
  6706. "url": "/repos/:owner/:repo/issues/comments/:comment_id/reactions"
  6707. },
  6708. "createForPullRequestReviewComment": {
  6709. "headers": {
  6710. "accept": "application/vnd.github.squirrel-girl-preview"
  6711. },
  6712. "method": "POST",
  6713. "params": {
  6714. "comment_id": {
  6715. "required": true,
  6716. "type": "string"
  6717. },
  6718. "content": {
  6719. "enum": [
  6720. "+1",
  6721. "-1",
  6722. "laugh",
  6723. "confused",
  6724. "heart",
  6725. "hooray"
  6726. ],
  6727. "required": true,
  6728. "type": "string"
  6729. },
  6730. "id": {
  6731. "alias": "comment_id",
  6732. "deprecated": true
  6733. },
  6734. "owner": {
  6735. "required": true,
  6736. "type": "string"
  6737. },
  6738. "repo": {
  6739. "required": true,
  6740. "type": "string"
  6741. }
  6742. },
  6743. "url": "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"
  6744. },
  6745. "createForTeamDiscussion": {
  6746. "headers": {
  6747. "accept": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"
  6748. },
  6749. "method": "POST",
  6750. "params": {
  6751. "content": {
  6752. "enum": [
  6753. "+1",
  6754. "-1",
  6755. "laugh",
  6756. "confused",
  6757. "heart",
  6758. "hooray"
  6759. ],
  6760. "required": true,
  6761. "type": "string"
  6762. },
  6763. "discussion_number": {
  6764. "required": true,
  6765. "type": "integer"
  6766. },
  6767. "team_id": {
  6768. "required": true,
  6769. "type": "string"
  6770. }
  6771. },
  6772. "url": "/teams/:team_id/discussions/:discussion_number/reactions"
  6773. },
  6774. "createForTeamDiscussionComment": {
  6775. "headers": {
  6776. "accept": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"
  6777. },
  6778. "method": "POST",
  6779. "params": {
  6780. "comment_number": {
  6781. "required": true,
  6782. "type": "integer"
  6783. },
  6784. "content": {
  6785. "enum": [
  6786. "+1",
  6787. "-1",
  6788. "laugh",
  6789. "confused",
  6790. "heart",
  6791. "hooray"
  6792. ],
  6793. "required": true,
  6794. "type": "string"
  6795. },
  6796. "discussion_number": {
  6797. "required": true,
  6798. "type": "integer"
  6799. },
  6800. "team_id": {
  6801. "required": true,
  6802. "type": "string"
  6803. }
  6804. },
  6805. "url": "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"
  6806. },
  6807. "delete": {
  6808. "headers": {
  6809. "accept": "application/vnd.github.squirrel-girl-preview"
  6810. },
  6811. "method": "DELETE",
  6812. "params": {
  6813. "id": {
  6814. "alias": "reaction_id",
  6815. "deprecated": true
  6816. },
  6817. "reaction_id": {
  6818. "required": true,
  6819. "type": "string"
  6820. }
  6821. },
  6822. "url": "/reactions/:reaction_id"
  6823. },
  6824. "getForCommitComment": {
  6825. "headers": {
  6826. "accept": "application/vnd.github.squirrel-girl-preview"
  6827. },
  6828. "method": "GET",
  6829. "params": {
  6830. "comment_id": {
  6831. "required": true,
  6832. "type": "string"
  6833. },
  6834. "content": {
  6835. "enum": [
  6836. "+1",
  6837. "-1",
  6838. "laugh",
  6839. "confused",
  6840. "heart",
  6841. "hooray"
  6842. ],
  6843. "type": "string"
  6844. },
  6845. "id": {
  6846. "alias": "comment_id",
  6847. "deprecated": true
  6848. },
  6849. "owner": {
  6850. "required": true,
  6851. "type": "string"
  6852. },
  6853. "page": {
  6854. "type": "integer"
  6855. },
  6856. "per_page": {
  6857. "type": "integer"
  6858. },
  6859. "repo": {
  6860. "required": true,
  6861. "type": "string"
  6862. }
  6863. },
  6864. "url": "/repos/:owner/:repo/comments/:comment_id/reactions"
  6865. },
  6866. "getForIssue": {
  6867. "headers": {
  6868. "accept": "application/vnd.github.squirrel-girl-preview"
  6869. },
  6870. "method": "GET",
  6871. "params": {
  6872. "content": {
  6873. "enum": [
  6874. "+1",
  6875. "-1",
  6876. "laugh",
  6877. "confused",
  6878. "heart",
  6879. "hooray"
  6880. ],
  6881. "type": "string"
  6882. },
  6883. "number": {
  6884. "required": true,
  6885. "type": "integer"
  6886. },
  6887. "owner": {
  6888. "required": true,
  6889. "type": "string"
  6890. },
  6891. "page": {
  6892. "type": "integer"
  6893. },
  6894. "per_page": {
  6895. "type": "integer"
  6896. },
  6897. "repo": {
  6898. "required": true,
  6899. "type": "string"
  6900. }
  6901. },
  6902. "url": "/repos/:owner/:repo/issues/:number/reactions"
  6903. },
  6904. "getForIssueComment": {
  6905. "headers": {
  6906. "accept": "application/vnd.github.squirrel-girl-preview"
  6907. },
  6908. "method": "GET",
  6909. "params": {
  6910. "comment_id": {
  6911. "required": true,
  6912. "type": "string"
  6913. },
  6914. "content": {
  6915. "enum": [
  6916. "+1",
  6917. "-1",
  6918. "laugh",
  6919. "confused",
  6920. "heart",
  6921. "hooray"
  6922. ],
  6923. "type": "string"
  6924. },
  6925. "id": {
  6926. "alias": "comment_id",
  6927. "deprecated": true
  6928. },
  6929. "owner": {
  6930. "required": true,
  6931. "type": "string"
  6932. },
  6933. "page": {
  6934. "type": "integer"
  6935. },
  6936. "per_page": {
  6937. "type": "integer"
  6938. },
  6939. "repo": {
  6940. "required": true,
  6941. "type": "string"
  6942. }
  6943. },
  6944. "url": "/repos/:owner/:repo/issues/comments/:comment_id/reactions"
  6945. },
  6946. "getForPullRequestReviewComment": {
  6947. "headers": {
  6948. "accept": "application/vnd.github.squirrel-girl-preview"
  6949. },
  6950. "method": "GET",
  6951. "params": {
  6952. "comment_id": {
  6953. "required": true,
  6954. "type": "string"
  6955. },
  6956. "content": {
  6957. "enum": [
  6958. "+1",
  6959. "-1",
  6960. "laugh",
  6961. "confused",
  6962. "heart",
  6963. "hooray"
  6964. ],
  6965. "type": "string"
  6966. },
  6967. "id": {
  6968. "alias": "comment_id",
  6969. "deprecated": true
  6970. },
  6971. "owner": {
  6972. "required": true,
  6973. "type": "string"
  6974. },
  6975. "page": {
  6976. "type": "integer"
  6977. },
  6978. "per_page": {
  6979. "type": "integer"
  6980. },
  6981. "repo": {
  6982. "required": true,
  6983. "type": "string"
  6984. }
  6985. },
  6986. "url": "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"
  6987. },
  6988. "getForTeamDiscussion": {
  6989. "headers": {
  6990. "accept": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"
  6991. },
  6992. "method": "GET",
  6993. "params": {
  6994. "content": {
  6995. "enum": [
  6996. "+1",
  6997. "-1",
  6998. "laugh",
  6999. "confused",
  7000. "heart",
  7001. "hooray"
  7002. ],
  7003. "type": "string"
  7004. },
  7005. "discussion_number": {
  7006. "required": true,
  7007. "type": "integer"
  7008. },
  7009. "page": {
  7010. "type": "integer"
  7011. },
  7012. "per_page": {
  7013. "type": "integer"
  7014. },
  7015. "team_id": {
  7016. "required": true,
  7017. "type": "string"
  7018. }
  7019. },
  7020. "url": "/teams/:team_id/discussions/:discussion_number/reactions"
  7021. },
  7022. "getForTeamDiscussionComment": {
  7023. "headers": {
  7024. "accept": "application/vnd.github.echo-preview+json,application/vnd.github.squirrel-girl-preview+json"
  7025. },
  7026. "method": "GET",
  7027. "params": {
  7028. "comment_number": {
  7029. "required": true,
  7030. "type": "integer"
  7031. },
  7032. "content": {
  7033. "enum": [
  7034. "+1",
  7035. "-1",
  7036. "laugh",
  7037. "confused",
  7038. "heart",
  7039. "hooray"
  7040. ],
  7041. "type": "string"
  7042. },
  7043. "discussion_number": {
  7044. "required": true,
  7045. "type": "integer"
  7046. },
  7047. "page": {
  7048. "type": "integer"
  7049. },
  7050. "per_page": {
  7051. "type": "integer"
  7052. },
  7053. "team_id": {
  7054. "required": true,
  7055. "type": "string"
  7056. }
  7057. },
  7058. "url": "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"
  7059. }
  7060. },
  7061. "repos": {
  7062. "addCollaborator": {
  7063. "method": "PUT",
  7064. "params": {
  7065. "owner": {
  7066. "required": true,
  7067. "type": "string"
  7068. },
  7069. "permission": {
  7070. "enum": [
  7071. "pull",
  7072. "push",
  7073. "admin"
  7074. ],
  7075. "type": "string"
  7076. },
  7077. "repo": {
  7078. "required": true,
  7079. "type": "string"
  7080. },
  7081. "username": {
  7082. "required": true,
  7083. "type": "string"
  7084. }
  7085. },
  7086. "url": "/repos/:owner/:repo/collaborators/:username"
  7087. },
  7088. "addDeployKey": {
  7089. "method": "POST",
  7090. "params": {
  7091. "key": {
  7092. "required": true,
  7093. "type": "string"
  7094. },
  7095. "owner": {
  7096. "required": true,
  7097. "type": "string"
  7098. },
  7099. "read_only": {
  7100. "type": "boolean"
  7101. },
  7102. "repo": {
  7103. "required": true,
  7104. "type": "string"
  7105. },
  7106. "title": {
  7107. "type": "string"
  7108. }
  7109. },
  7110. "url": "/repos/:owner/:repo/keys"
  7111. },
  7112. "addProtectedBranchAdminEnforcement": {
  7113. "method": "POST",
  7114. "params": {
  7115. "branch": {
  7116. "required": true,
  7117. "type": "string"
  7118. },
  7119. "owner": {
  7120. "required": true,
  7121. "type": "string"
  7122. },
  7123. "repo": {
  7124. "required": true,
  7125. "type": "string"
  7126. }
  7127. },
  7128. "url": "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"
  7129. },
  7130. "addProtectedBranchRequiredSignatures": {
  7131. "headers": {
  7132. "accept": "application/vnd.github.zzzax-preview+json"
  7133. },
  7134. "method": "POST",
  7135. "params": {
  7136. "branch": {
  7137. "required": true,
  7138. "type": "string"
  7139. },
  7140. "owner": {
  7141. "required": true,
  7142. "type": "string"
  7143. },
  7144. "repo": {
  7145. "required": true,
  7146. "type": "string"
  7147. }
  7148. },
  7149. "url": "/repos/:owner/:repo/branches/:branch/protection/required_signatures"
  7150. },
  7151. "addProtectedBranchRequiredStatusChecksContexts": {
  7152. "method": "POST",
  7153. "params": {
  7154. "branch": {
  7155. "required": true,
  7156. "type": "string"
  7157. },
  7158. "contexts": {
  7159. "mapTo": "input",
  7160. "required": true,
  7161. "type": "string[]"
  7162. },
  7163. "owner": {
  7164. "required": true,
  7165. "type": "string"
  7166. },
  7167. "repo": {
  7168. "required": true,
  7169. "type": "string"
  7170. }
  7171. },
  7172. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"
  7173. },
  7174. "addProtectedBranchTeamRestrictions": {
  7175. "method": "POST",
  7176. "params": {
  7177. "branch": {
  7178. "required": true,
  7179. "type": "string"
  7180. },
  7181. "owner": {
  7182. "required": true,
  7183. "type": "string"
  7184. },
  7185. "repo": {
  7186. "required": true,
  7187. "type": "string"
  7188. },
  7189. "teams": {
  7190. "mapTo": "input",
  7191. "required": true,
  7192. "type": "string[]"
  7193. }
  7194. },
  7195. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"
  7196. },
  7197. "addProtectedBranchUserRestrictions": {
  7198. "method": "POST",
  7199. "params": {
  7200. "branch": {
  7201. "required": true,
  7202. "type": "string"
  7203. },
  7204. "owner": {
  7205. "required": true,
  7206. "type": "string"
  7207. },
  7208. "repo": {
  7209. "required": true,
  7210. "type": "string"
  7211. },
  7212. "users": {
  7213. "mapTo": "input",
  7214. "required": true,
  7215. "type": "string[]"
  7216. }
  7217. },
  7218. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"
  7219. },
  7220. "checkCollaborator": {
  7221. "method": "GET",
  7222. "params": {
  7223. "owner": {
  7224. "required": true,
  7225. "type": "string"
  7226. },
  7227. "repo": {
  7228. "required": true,
  7229. "type": "string"
  7230. },
  7231. "username": {
  7232. "required": true,
  7233. "type": "string"
  7234. }
  7235. },
  7236. "url": "/repos/:owner/:repo/collaborators/:username"
  7237. },
  7238. "compareCommits": {
  7239. "method": "GET",
  7240. "params": {
  7241. "base": {
  7242. "required": true,
  7243. "type": "string"
  7244. },
  7245. "head": {
  7246. "required": true,
  7247. "type": "string"
  7248. },
  7249. "owner": {
  7250. "required": true,
  7251. "type": "string"
  7252. },
  7253. "repo": {
  7254. "required": true,
  7255. "type": "string"
  7256. }
  7257. },
  7258. "url": "/repos/:owner/:repo/compare/:base...:head"
  7259. },
  7260. "create": {
  7261. "method": "POST",
  7262. "params": {
  7263. "allow_merge_commit": {
  7264. "type": "boolean"
  7265. },
  7266. "allow_rebase_merge": {
  7267. "type": "boolean"
  7268. },
  7269. "allow_squash_merge": {
  7270. "type": "boolean"
  7271. },
  7272. "auto_init": {
  7273. "type": "boolean"
  7274. },
  7275. "description": {
  7276. "type": "string"
  7277. },
  7278. "gitignore_template": {
  7279. "type": "string"
  7280. },
  7281. "has_issues": {
  7282. "type": "boolean"
  7283. },
  7284. "has_projects": {
  7285. "type": "boolean"
  7286. },
  7287. "has_wiki": {
  7288. "type": "boolean"
  7289. },
  7290. "homepage": {
  7291. "type": "string"
  7292. },
  7293. "license_template": {
  7294. "type": "string"
  7295. },
  7296. "name": {
  7297. "required": true,
  7298. "type": "string"
  7299. },
  7300. "private": {
  7301. "type": "boolean"
  7302. },
  7303. "team_id": {
  7304. "type": "integer"
  7305. }
  7306. },
  7307. "url": "/user/repos"
  7308. },
  7309. "createCommitComment": {
  7310. "method": "POST",
  7311. "params": {
  7312. "body": {
  7313. "required": true,
  7314. "type": "string"
  7315. },
  7316. "line": {
  7317. "type": "integer"
  7318. },
  7319. "owner": {
  7320. "required": true,
  7321. "type": "string"
  7322. },
  7323. "path": {
  7324. "type": "string"
  7325. },
  7326. "position": {
  7327. "type": "integer"
  7328. },
  7329. "repo": {
  7330. "required": true,
  7331. "type": "string"
  7332. },
  7333. "sha": {
  7334. "required": true,
  7335. "type": "string"
  7336. }
  7337. },
  7338. "url": "/repos/:owner/:repo/commits/:sha/comments"
  7339. },
  7340. "createDeployment": {
  7341. "headers": {
  7342. "accept": "application/vnd.github.ant-man-preview+json"
  7343. },
  7344. "method": "POST",
  7345. "params": {
  7346. "auto_merge": {
  7347. "type": "boolean"
  7348. },
  7349. "description": {
  7350. "type": "string"
  7351. },
  7352. "environment": {
  7353. "type": "string"
  7354. },
  7355. "owner": {
  7356. "required": true,
  7357. "type": "string"
  7358. },
  7359. "payload": {
  7360. "type": "string"
  7361. },
  7362. "production_environment": {
  7363. "type": "boolean"
  7364. },
  7365. "ref": {
  7366. "required": true,
  7367. "type": "string"
  7368. },
  7369. "repo": {
  7370. "required": true,
  7371. "type": "string"
  7372. },
  7373. "required_contexts": {
  7374. "type": "string[]"
  7375. },
  7376. "task": {
  7377. "type": "string"
  7378. },
  7379. "transient_environment": {
  7380. "type": "boolean"
  7381. }
  7382. },
  7383. "url": "/repos/:owner/:repo/deployments"
  7384. },
  7385. "createDeploymentStatus": {
  7386. "headers": {
  7387. "accept": "application/vnd.github.ant-man-preview+json"
  7388. },
  7389. "method": "POST",
  7390. "params": {
  7391. "auto_inactive": {
  7392. "type": "boolean"
  7393. },
  7394. "deployment_id": {
  7395. "required": true,
  7396. "type": "string"
  7397. },
  7398. "description": {
  7399. "type": "string"
  7400. },
  7401. "environment_url": {
  7402. "type": "string"
  7403. },
  7404. "id": {
  7405. "alias": "deployment_id",
  7406. "deprecated": true
  7407. },
  7408. "log_url": {
  7409. "type": "string"
  7410. },
  7411. "owner": {
  7412. "required": true,
  7413. "type": "string"
  7414. },
  7415. "repo": {
  7416. "required": true,
  7417. "type": "string"
  7418. },
  7419. "state": {
  7420. "enum": [
  7421. "error",
  7422. "failure",
  7423. "inactive",
  7424. "pending",
  7425. "success"
  7426. ],
  7427. "required": true,
  7428. "type": "string"
  7429. },
  7430. "target_url": {
  7431. "type": "string"
  7432. }
  7433. },
  7434. "url": "/repos/:owner/:repo/deployments/:deployment_id/statuses"
  7435. },
  7436. "createFile": {
  7437. "method": "PUT",
  7438. "params": {
  7439. "author": {
  7440. "type": "object"
  7441. },
  7442. "branch": {
  7443. "type": "string"
  7444. },
  7445. "committer": {
  7446. "type": "object"
  7447. },
  7448. "content": {
  7449. "required": true,
  7450. "type": "string"
  7451. },
  7452. "message": {
  7453. "required": true,
  7454. "type": "string"
  7455. },
  7456. "owner": {
  7457. "required": true,
  7458. "type": "string"
  7459. },
  7460. "path": {
  7461. "required": true,
  7462. "type": "string"
  7463. },
  7464. "repo": {
  7465. "required": true,
  7466. "type": "string"
  7467. }
  7468. },
  7469. "url": "/repos/:owner/:repo/contents/:path"
  7470. },
  7471. "createForOrg": {
  7472. "method": "POST",
  7473. "params": {
  7474. "allow_merge_commit": {
  7475. "type": "boolean"
  7476. },
  7477. "allow_rebase_merge": {
  7478. "type": "boolean"
  7479. },
  7480. "allow_squash_merge": {
  7481. "type": "boolean"
  7482. },
  7483. "auto_init": {
  7484. "type": "boolean"
  7485. },
  7486. "description": {
  7487. "type": "string"
  7488. },
  7489. "gitignore_template": {
  7490. "type": "string"
  7491. },
  7492. "has_issues": {
  7493. "type": "boolean"
  7494. },
  7495. "has_projects": {
  7496. "type": "boolean"
  7497. },
  7498. "has_wiki": {
  7499. "type": "boolean"
  7500. },
  7501. "homepage": {
  7502. "type": "string"
  7503. },
  7504. "license_template": {
  7505. "type": "string"
  7506. },
  7507. "name": {
  7508. "required": true,
  7509. "type": "string"
  7510. },
  7511. "org": {
  7512. "required": true,
  7513. "type": "string"
  7514. },
  7515. "private": {
  7516. "type": "boolean"
  7517. },
  7518. "team_id": {
  7519. "type": "integer"
  7520. }
  7521. },
  7522. "url": "/orgs/:org/repos"
  7523. },
  7524. "createHook": {
  7525. "method": "POST",
  7526. "params": {
  7527. "active": {
  7528. "type": "boolean"
  7529. },
  7530. "config": {
  7531. "required": true,
  7532. "type": "object"
  7533. },
  7534. "config.content_type": {
  7535. "type": "string"
  7536. },
  7537. "config.insecure_ssl": {
  7538. "type": "string"
  7539. },
  7540. "config.secret": {
  7541. "type": "string"
  7542. },
  7543. "config.url": {
  7544. "required": true,
  7545. "type": "string"
  7546. },
  7547. "events": {
  7548. "type": "string[]"
  7549. },
  7550. "name": {
  7551. "required": true,
  7552. "type": "string"
  7553. },
  7554. "owner": {
  7555. "required": true,
  7556. "type": "string"
  7557. },
  7558. "repo": {
  7559. "required": true,
  7560. "type": "string"
  7561. }
  7562. },
  7563. "url": "/repos/:owner/:repo/hooks"
  7564. },
  7565. "createRelease": {
  7566. "method": "POST",
  7567. "params": {
  7568. "body": {
  7569. "type": "string"
  7570. },
  7571. "draft": {
  7572. "type": "boolean"
  7573. },
  7574. "name": {
  7575. "type": "string"
  7576. },
  7577. "owner": {
  7578. "required": true,
  7579. "type": "string"
  7580. },
  7581. "prerelease": {
  7582. "type": "boolean"
  7583. },
  7584. "repo": {
  7585. "required": true,
  7586. "type": "string"
  7587. },
  7588. "tag_name": {
  7589. "required": true,
  7590. "type": "string"
  7591. },
  7592. "target_commitish": {
  7593. "type": "string"
  7594. }
  7595. },
  7596. "url": "/repos/:owner/:repo/releases"
  7597. },
  7598. "createStatus": {
  7599. "method": "POST",
  7600. "params": {
  7601. "context": {
  7602. "type": "string"
  7603. },
  7604. "description": {
  7605. "type": "string"
  7606. },
  7607. "owner": {
  7608. "required": true,
  7609. "type": "string"
  7610. },
  7611. "repo": {
  7612. "required": true,
  7613. "type": "string"
  7614. },
  7615. "sha": {
  7616. "required": true,
  7617. "type": "string"
  7618. },
  7619. "state": {
  7620. "enum": [
  7621. "error",
  7622. "failure",
  7623. "pending",
  7624. "success"
  7625. ],
  7626. "required": true,
  7627. "type": "string"
  7628. },
  7629. "target_url": {
  7630. "type": "string"
  7631. }
  7632. },
  7633. "url": "/repos/:owner/:repo/statuses/:sha"
  7634. },
  7635. "delete": {
  7636. "headers": {
  7637. "accept": "application/vnd.github.drax-preview+json"
  7638. },
  7639. "method": "DELETE",
  7640. "params": {
  7641. "owner": {
  7642. "required": true,
  7643. "type": "string"
  7644. },
  7645. "repo": {
  7646. "required": true,
  7647. "type": "string"
  7648. }
  7649. },
  7650. "url": "/repos/:owner/:repo"
  7651. },
  7652. "deleteAsset": {
  7653. "method": "DELETE",
  7654. "params": {
  7655. "asset_id": {
  7656. "required": true,
  7657. "type": "string"
  7658. },
  7659. "id": {
  7660. "alias": "asset_id",
  7661. "deprecated": true
  7662. },
  7663. "owner": {
  7664. "required": true,
  7665. "type": "string"
  7666. },
  7667. "repo": {
  7668. "required": true,
  7669. "type": "string"
  7670. }
  7671. },
  7672. "url": "/repos/:owner/:repo/releases/assets/:asset_id"
  7673. },
  7674. "deleteCommitComment": {
  7675. "method": "DELETE",
  7676. "params": {
  7677. "comment_id": {
  7678. "required": true,
  7679. "type": "string"
  7680. },
  7681. "id": {
  7682. "alias": "comment_id",
  7683. "deprecated": true
  7684. },
  7685. "owner": {
  7686. "required": true,
  7687. "type": "string"
  7688. },
  7689. "repo": {
  7690. "required": true,
  7691. "type": "string"
  7692. }
  7693. },
  7694. "url": "/repos/:owner/:repo/comments/:comment_id"
  7695. },
  7696. "deleteDeployKey": {
  7697. "method": "DELETE",
  7698. "params": {
  7699. "id": {
  7700. "alias": "key_id",
  7701. "deprecated": true
  7702. },
  7703. "key_id": {
  7704. "required": true,
  7705. "type": "string"
  7706. },
  7707. "owner": {
  7708. "required": true,
  7709. "type": "string"
  7710. },
  7711. "repo": {
  7712. "required": true,
  7713. "type": "string"
  7714. }
  7715. },
  7716. "url": "/repos/:owner/:repo/keys/:key_id"
  7717. },
  7718. "deleteDownload": {
  7719. "method": "DELETE",
  7720. "params": {
  7721. "download_id": {
  7722. "required": true,
  7723. "type": "string"
  7724. },
  7725. "id": {
  7726. "alias": "download_id",
  7727. "deprecated": true
  7728. },
  7729. "owner": {
  7730. "required": true,
  7731. "type": "string"
  7732. },
  7733. "repo": {
  7734. "required": true,
  7735. "type": "string"
  7736. }
  7737. },
  7738. "url": "/repos/:owner/:repo/downloads/:download_id"
  7739. },
  7740. "deleteFile": {
  7741. "method": "DELETE",
  7742. "params": {
  7743. "author": {
  7744. "type": "object"
  7745. },
  7746. "branch": {
  7747. "type": "string"
  7748. },
  7749. "committer": {
  7750. "type": "object"
  7751. },
  7752. "message": {
  7753. "required": true,
  7754. "type": "string"
  7755. },
  7756. "owner": {
  7757. "required": true,
  7758. "type": "string"
  7759. },
  7760. "path": {
  7761. "required": true,
  7762. "type": "string"
  7763. },
  7764. "repo": {
  7765. "required": true,
  7766. "type": "string"
  7767. },
  7768. "sha": {
  7769. "required": true,
  7770. "type": "string"
  7771. }
  7772. },
  7773. "url": "/repos/:owner/:repo/contents/:path"
  7774. },
  7775. "deleteHook": {
  7776. "method": "DELETE",
  7777. "params": {
  7778. "hook_id": {
  7779. "required": true,
  7780. "type": "string"
  7781. },
  7782. "id": {
  7783. "alias": "hook_id",
  7784. "required": true
  7785. },
  7786. "owner": {
  7787. "required": true,
  7788. "type": "string"
  7789. },
  7790. "repo": {
  7791. "required": true,
  7792. "type": "string"
  7793. }
  7794. },
  7795. "url": "/repos/:owner/:repo/hooks/:hook_id"
  7796. },
  7797. "deleteInvite": {
  7798. "method": "DELETE",
  7799. "params": {
  7800. "invitation_id": {
  7801. "required": true,
  7802. "type": "string"
  7803. },
  7804. "owner": {
  7805. "required": true,
  7806. "type": "string"
  7807. },
  7808. "repo": {
  7809. "required": true,
  7810. "type": "string"
  7811. }
  7812. },
  7813. "url": "/repos/:owner/:repo/invitations/:invitation_id"
  7814. },
  7815. "deleteRelease": {
  7816. "method": "DELETE",
  7817. "params": {
  7818. "id": {
  7819. "alias": "release_id",
  7820. "deprecated": true
  7821. },
  7822. "owner": {
  7823. "required": true,
  7824. "type": "string"
  7825. },
  7826. "release_id": {
  7827. "required": true,
  7828. "type": "string"
  7829. },
  7830. "repo": {
  7831. "required": true,
  7832. "type": "string"
  7833. }
  7834. },
  7835. "url": "/repos/:owner/:repo/releases/:release_id"
  7836. },
  7837. "edit": {
  7838. "headers": {
  7839. "accept": "application/vnd.github.drax-preview+json"
  7840. },
  7841. "method": "PATCH",
  7842. "params": {
  7843. "allow_merge_commit": {
  7844. "type": "boolean"
  7845. },
  7846. "allow_rebase_merge": {
  7847. "type": "boolean"
  7848. },
  7849. "allow_squash_merge": {
  7850. "type": "boolean"
  7851. },
  7852. "archived": {
  7853. "type": "boolean"
  7854. },
  7855. "default_branch": {
  7856. "type": "string"
  7857. },
  7858. "description": {
  7859. "type": "string"
  7860. },
  7861. "has_issues": {
  7862. "type": "boolean"
  7863. },
  7864. "has_projects": {
  7865. "type": "boolean"
  7866. },
  7867. "has_wiki": {
  7868. "type": "boolean"
  7869. },
  7870. "homepage": {
  7871. "type": "string"
  7872. },
  7873. "name": {
  7874. "required": true,
  7875. "type": "string"
  7876. },
  7877. "owner": {
  7878. "required": true,
  7879. "type": "string"
  7880. },
  7881. "private": {
  7882. "type": "boolean"
  7883. },
  7884. "repo": {
  7885. "required": true,
  7886. "type": "string"
  7887. }
  7888. },
  7889. "url": "/repos/:owner/:repo"
  7890. },
  7891. "editAsset": {
  7892. "method": "PATCH",
  7893. "params": {
  7894. "asset_id": {
  7895. "required": true,
  7896. "type": "string"
  7897. },
  7898. "id": {
  7899. "alias": "asset_id",
  7900. "deprecated": true
  7901. },
  7902. "label": {
  7903. "type": "string"
  7904. },
  7905. "name": {
  7906. "type": "string"
  7907. },
  7908. "owner": {
  7909. "required": true,
  7910. "type": "string"
  7911. },
  7912. "repo": {
  7913. "required": true,
  7914. "type": "string"
  7915. }
  7916. },
  7917. "url": "/repos/:owner/:repo/releases/assets/:asset_id"
  7918. },
  7919. "editHook": {
  7920. "method": "PATCH",
  7921. "params": {
  7922. "active": {
  7923. "type": "boolean"
  7924. },
  7925. "add_events": {
  7926. "type": "string[]"
  7927. },
  7928. "config": {
  7929. "type": "object"
  7930. },
  7931. "config.content_type": {
  7932. "type": "string"
  7933. },
  7934. "config.insecure_ssl": {
  7935. "type": "string"
  7936. },
  7937. "config.secret": {
  7938. "type": "string"
  7939. },
  7940. "config.url": {
  7941. "required": true,
  7942. "type": "string"
  7943. },
  7944. "events": {
  7945. "type": "string[]"
  7946. },
  7947. "hook_id": {
  7948. "required": true,
  7949. "type": "string"
  7950. },
  7951. "id": {
  7952. "alias": "hook_id",
  7953. "required": true
  7954. },
  7955. "owner": {
  7956. "required": true,
  7957. "type": "string"
  7958. },
  7959. "remove_events": {
  7960. "type": "string[]"
  7961. },
  7962. "repo": {
  7963. "required": true,
  7964. "type": "string"
  7965. }
  7966. },
  7967. "url": "/repos/:owner/:repo/hooks/:hook_id"
  7968. },
  7969. "editRelease": {
  7970. "method": "PATCH",
  7971. "params": {
  7972. "body": {
  7973. "type": "string"
  7974. },
  7975. "draft": {
  7976. "type": "boolean"
  7977. },
  7978. "id": {
  7979. "alias": "release_id",
  7980. "deprecated": true
  7981. },
  7982. "name": {
  7983. "type": "string"
  7984. },
  7985. "owner": {
  7986. "required": true,
  7987. "type": "string"
  7988. },
  7989. "prerelease": {
  7990. "type": "boolean"
  7991. },
  7992. "release_id": {
  7993. "required": true,
  7994. "type": "string"
  7995. },
  7996. "repo": {
  7997. "required": true,
  7998. "type": "string"
  7999. },
  8000. "tag_name": {
  8001. "type": "string"
  8002. },
  8003. "target_commitish": {
  8004. "type": "string"
  8005. }
  8006. },
  8007. "url": "/repos/:owner/:repo/releases/:release_id"
  8008. },
  8009. "fork": {
  8010. "method": "POST",
  8011. "params": {
  8012. "organization": {
  8013. "type": "string"
  8014. },
  8015. "owner": {
  8016. "required": true,
  8017. "type": "string"
  8018. },
  8019. "repo": {
  8020. "required": true,
  8021. "type": "string"
  8022. }
  8023. },
  8024. "url": "/repos/:owner/:repo/forks"
  8025. },
  8026. "get": {
  8027. "headers": {
  8028. "accept": "application/vnd.github.drax-preview+json"
  8029. },
  8030. "method": "GET",
  8031. "params": {
  8032. "owner": {
  8033. "required": true,
  8034. "type": "string"
  8035. },
  8036. "repo": {
  8037. "required": true,
  8038. "type": "string"
  8039. }
  8040. },
  8041. "url": "/repos/:owner/:repo"
  8042. },
  8043. "getAll": {
  8044. "method": "GET",
  8045. "params": {
  8046. "affiliation": {
  8047. "enum": [
  8048. "owner",
  8049. "collaborator",
  8050. "organization_member"
  8051. ],
  8052. "type": "string"
  8053. },
  8054. "direction": {
  8055. "enum": [
  8056. "asc",
  8057. "desc"
  8058. ],
  8059. "type": "string"
  8060. },
  8061. "page": {
  8062. "type": "integer"
  8063. },
  8064. "per_page": {
  8065. "type": "integer"
  8066. },
  8067. "sort": {
  8068. "enum": [
  8069. "created",
  8070. "updated",
  8071. "pushed",
  8072. "full_name"
  8073. ],
  8074. "type": "string"
  8075. },
  8076. "type": {
  8077. "enum": [
  8078. "all",
  8079. "owner",
  8080. "public",
  8081. "private",
  8082. "member"
  8083. ],
  8084. "type": "string"
  8085. },
  8086. "visibility": {
  8087. "enum": [
  8088. "all",
  8089. "public",
  8090. "private"
  8091. ],
  8092. "type": "string"
  8093. }
  8094. },
  8095. "url": "/user/repos"
  8096. },
  8097. "getAllCommitComments": {
  8098. "method": "GET",
  8099. "params": {
  8100. "owner": {
  8101. "required": true,
  8102. "type": "string"
  8103. },
  8104. "page": {
  8105. "type": "integer"
  8106. },
  8107. "per_page": {
  8108. "type": "integer"
  8109. },
  8110. "repo": {
  8111. "required": true,
  8112. "type": "string"
  8113. }
  8114. },
  8115. "url": "/repos/:owner/:repo/comments"
  8116. },
  8117. "getArchiveLink": {
  8118. "method": "GET",
  8119. "params": {
  8120. "archive_format": {
  8121. "enum": [
  8122. "tarball",
  8123. "zipball"
  8124. ],
  8125. "required": true,
  8126. "type": "string"
  8127. },
  8128. "owner": {
  8129. "required": true,
  8130. "type": "string"
  8131. },
  8132. "ref": {
  8133. "required": true,
  8134. "type": "string"
  8135. },
  8136. "repo": {
  8137. "required": true,
  8138. "type": "string"
  8139. }
  8140. },
  8141. "url": "/repos/:owner/:repo/:archive_format/:ref"
  8142. },
  8143. "getAsset": {
  8144. "method": "GET",
  8145. "params": {
  8146. "asset_id": {
  8147. "required": true,
  8148. "type": "string"
  8149. },
  8150. "id": {
  8151. "alias": "asset_id",
  8152. "deprecated": true
  8153. },
  8154. "owner": {
  8155. "required": true,
  8156. "type": "string"
  8157. },
  8158. "repo": {
  8159. "required": true,
  8160. "type": "string"
  8161. }
  8162. },
  8163. "url": "/repos/:owner/:repo/releases/assets/:asset_id"
  8164. },
  8165. "getAssets": {
  8166. "method": "GET",
  8167. "params": {
  8168. "id": {
  8169. "alias": "release_id",
  8170. "deprecated": true
  8171. },
  8172. "owner": {
  8173. "required": true,
  8174. "type": "string"
  8175. },
  8176. "page": {
  8177. "type": "integer"
  8178. },
  8179. "per_page": {
  8180. "type": "integer"
  8181. },
  8182. "release_id": {
  8183. "required": true,
  8184. "type": "string"
  8185. },
  8186. "repo": {
  8187. "required": true,
  8188. "type": "string"
  8189. }
  8190. },
  8191. "url": "/repos/:owner/:repo/releases/:release_id/assets"
  8192. },
  8193. "getBranch": {
  8194. "method": "GET",
  8195. "params": {
  8196. "branch": {
  8197. "required": true,
  8198. "type": "string"
  8199. },
  8200. "owner": {
  8201. "required": true,
  8202. "type": "string"
  8203. },
  8204. "repo": {
  8205. "required": true,
  8206. "type": "string"
  8207. }
  8208. },
  8209. "url": "/repos/:owner/:repo/branches/:branch"
  8210. },
  8211. "getBranchProtection": {
  8212. "method": "GET",
  8213. "params": {
  8214. "branch": {
  8215. "required": true,
  8216. "type": "string"
  8217. },
  8218. "owner": {
  8219. "required": true,
  8220. "type": "string"
  8221. },
  8222. "repo": {
  8223. "required": true,
  8224. "type": "string"
  8225. }
  8226. },
  8227. "url": "/repos/:owner/:repo/branches/:branch/protection"
  8228. },
  8229. "getBranches": {
  8230. "method": "GET",
  8231. "params": {
  8232. "owner": {
  8233. "required": true,
  8234. "type": "string"
  8235. },
  8236. "page": {
  8237. "type": "integer"
  8238. },
  8239. "per_page": {
  8240. "type": "integer"
  8241. },
  8242. "protected": {
  8243. "type": "boolean"
  8244. },
  8245. "repo": {
  8246. "required": true,
  8247. "type": "string"
  8248. }
  8249. },
  8250. "url": "/repos/:owner/:repo/branches"
  8251. },
  8252. "getById": {
  8253. "method": "GET",
  8254. "params": {
  8255. "id": {
  8256. "required": true,
  8257. "type": "string"
  8258. }
  8259. },
  8260. "url": "/repositories/:id"
  8261. },
  8262. "getClones": {
  8263. "method": "GET",
  8264. "params": {
  8265. "owner": {
  8266. "required": true,
  8267. "type": "string"
  8268. },
  8269. "per": {
  8270. "enum": [
  8271. "day",
  8272. "week"
  8273. ],
  8274. "type": "string"
  8275. },
  8276. "repo": {
  8277. "required": true,
  8278. "type": "string"
  8279. }
  8280. },
  8281. "url": "/repos/:owner/:repo/traffic/clones"
  8282. },
  8283. "getCollaborators": {
  8284. "method": "GET",
  8285. "params": {
  8286. "affiliation": {
  8287. "enum": [
  8288. "outside",
  8289. "direct",
  8290. "all"
  8291. ],
  8292. "type": "string"
  8293. },
  8294. "owner": {
  8295. "required": true,
  8296. "type": "string"
  8297. },
  8298. "page": {
  8299. "type": "integer"
  8300. },
  8301. "per_page": {
  8302. "type": "integer"
  8303. },
  8304. "repo": {
  8305. "required": true,
  8306. "type": "string"
  8307. }
  8308. },
  8309. "url": "/repos/:owner/:repo/collaborators"
  8310. },
  8311. "getCombinedStatusForRef": {
  8312. "method": "GET",
  8313. "params": {
  8314. "owner": {
  8315. "required": true,
  8316. "type": "string"
  8317. },
  8318. "ref": {
  8319. "required": true,
  8320. "type": "string"
  8321. },
  8322. "repo": {
  8323. "required": true,
  8324. "type": "string"
  8325. }
  8326. },
  8327. "url": "/repos/:owner/:repo/commits/:ref/status"
  8328. },
  8329. "getCommit": {
  8330. "headers": {
  8331. "accept": "application/vnd.github.cryptographer-preview"
  8332. },
  8333. "method": "GET",
  8334. "params": {
  8335. "owner": {
  8336. "required": true,
  8337. "type": "string"
  8338. },
  8339. "repo": {
  8340. "required": true,
  8341. "type": "string"
  8342. },
  8343. "sha": {
  8344. "required": true,
  8345. "type": "string"
  8346. }
  8347. },
  8348. "url": "/repos/:owner/:repo/commits/:sha"
  8349. },
  8350. "getCommitComment": {
  8351. "method": "GET",
  8352. "params": {
  8353. "comment_id": {
  8354. "required": true,
  8355. "type": "string"
  8356. },
  8357. "id": {
  8358. "alias": "comment_id",
  8359. "deprecated": true
  8360. },
  8361. "owner": {
  8362. "required": true,
  8363. "type": "string"
  8364. },
  8365. "repo": {
  8366. "required": true,
  8367. "type": "string"
  8368. }
  8369. },
  8370. "url": "/repos/:owner/:repo/comments/:comment_id"
  8371. },
  8372. "getCommitComments": {
  8373. "method": "GET",
  8374. "params": {
  8375. "owner": {
  8376. "required": true,
  8377. "type": "string"
  8378. },
  8379. "page": {
  8380. "type": "integer"
  8381. },
  8382. "per_page": {
  8383. "type": "integer"
  8384. },
  8385. "ref": {
  8386. "required": true,
  8387. "type": "string"
  8388. },
  8389. "repo": {
  8390. "required": true,
  8391. "type": "string"
  8392. }
  8393. },
  8394. "url": "/repos/:owner/:repo/commits/:ref/comments"
  8395. },
  8396. "getCommits": {
  8397. "method": "GET",
  8398. "params": {
  8399. "author": {
  8400. "type": "string"
  8401. },
  8402. "owner": {
  8403. "required": true,
  8404. "type": "string"
  8405. },
  8406. "page": {
  8407. "type": "integer"
  8408. },
  8409. "path": {
  8410. "type": "string"
  8411. },
  8412. "per_page": {
  8413. "type": "integer"
  8414. },
  8415. "repo": {
  8416. "required": true,
  8417. "type": "string"
  8418. },
  8419. "sha": {
  8420. "type": "string"
  8421. },
  8422. "since": {
  8423. "type": "string"
  8424. },
  8425. "until": {
  8426. "type": "string"
  8427. }
  8428. },
  8429. "url": "/repos/:owner/:repo/commits"
  8430. },
  8431. "getCommunityProfileMetrics": {
  8432. "headers": {
  8433. "accept": "application/vnd.github.black-panther-preview+json"
  8434. },
  8435. "method": "GET",
  8436. "params": {
  8437. "name": {
  8438. "alias": "repo",
  8439. "deprecated": true
  8440. },
  8441. "owner": {
  8442. "required": true,
  8443. "type": "string"
  8444. },
  8445. "repo": {
  8446. "required": true,
  8447. "type": "string"
  8448. }
  8449. },
  8450. "url": "/repos/:owner/:repo/community/profile"
  8451. },
  8452. "getContent": {
  8453. "method": "GET",
  8454. "params": {
  8455. "owner": {
  8456. "required": true,
  8457. "type": "string"
  8458. },
  8459. "path": {
  8460. "required": true,
  8461. "type": "string"
  8462. },
  8463. "ref": {
  8464. "type": "string"
  8465. },
  8466. "repo": {
  8467. "required": true,
  8468. "type": "string"
  8469. }
  8470. },
  8471. "url": "/repos/:owner/:repo/contents/:path"
  8472. },
  8473. "getContributors": {
  8474. "method": "GET",
  8475. "params": {
  8476. "anon": {
  8477. "type": "string"
  8478. },
  8479. "owner": {
  8480. "required": true,
  8481. "type": "string"
  8482. },
  8483. "page": {
  8484. "type": "integer"
  8485. },
  8486. "per_page": {
  8487. "type": "integer"
  8488. },
  8489. "repo": {
  8490. "required": true,
  8491. "type": "string"
  8492. }
  8493. },
  8494. "url": "/repos/:owner/:repo/contributors"
  8495. },
  8496. "getDeployKey": {
  8497. "method": "GET",
  8498. "params": {
  8499. "id": {
  8500. "alias": "key_id",
  8501. "deprecated": true
  8502. },
  8503. "key_id": {
  8504. "required": true,
  8505. "type": "string"
  8506. },
  8507. "owner": {
  8508. "required": true,
  8509. "type": "string"
  8510. },
  8511. "repo": {
  8512. "required": true,
  8513. "type": "string"
  8514. }
  8515. },
  8516. "url": "/repos/:owner/:repo/keys/:key_id"
  8517. },
  8518. "getDeployKeys": {
  8519. "method": "GET",
  8520. "params": {
  8521. "owner": {
  8522. "required": true,
  8523. "type": "string"
  8524. },
  8525. "page": {
  8526. "type": "integer"
  8527. },
  8528. "per_page": {
  8529. "type": "integer"
  8530. },
  8531. "repo": {
  8532. "required": true,
  8533. "type": "string"
  8534. }
  8535. },
  8536. "url": "/repos/:owner/:repo/keys"
  8537. },
  8538. "getDeployment": {
  8539. "method": "GET",
  8540. "params": {
  8541. "deployment_id": {
  8542. "required": true,
  8543. "type": "string"
  8544. },
  8545. "id": {
  8546. "alias": "deployment_id",
  8547. "deprecated": true
  8548. },
  8549. "owner": {
  8550. "required": true,
  8551. "type": "string"
  8552. },
  8553. "repo": {
  8554. "required": true,
  8555. "type": "string"
  8556. }
  8557. },
  8558. "url": "/repos/:owner/:repo/deployments/:deployment_id"
  8559. },
  8560. "getDeploymentStatus": {
  8561. "method": "GET",
  8562. "params": {
  8563. "deployment_id": {
  8564. "required": true,
  8565. "type": "string"
  8566. },
  8567. "id": {
  8568. "alias": "deployment_id",
  8569. "deprecated": true
  8570. },
  8571. "owner": {
  8572. "required": true,
  8573. "type": "string"
  8574. },
  8575. "repo": {
  8576. "required": true,
  8577. "type": "string"
  8578. },
  8579. "status_id": {
  8580. "required": true,
  8581. "type": "integer"
  8582. }
  8583. },
  8584. "url": "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"
  8585. },
  8586. "getDeploymentStatuses": {
  8587. "headers": {
  8588. "accept": "application/vnd.github.ant-man-preview+json"
  8589. },
  8590. "method": "GET",
  8591. "params": {
  8592. "deployment_id": {
  8593. "required": true,
  8594. "type": "string"
  8595. },
  8596. "id": {
  8597. "alias": "deployment_id",
  8598. "deprecated": true
  8599. },
  8600. "owner": {
  8601. "required": true,
  8602. "type": "string"
  8603. },
  8604. "page": {
  8605. "type": "integer"
  8606. },
  8607. "per_page": {
  8608. "type": "integer"
  8609. },
  8610. "repo": {
  8611. "required": true,
  8612. "type": "string"
  8613. }
  8614. },
  8615. "url": "/repos/:owner/:repo/deployments/:deployment_id/statuses"
  8616. },
  8617. "getDeployments": {
  8618. "headers": {
  8619. "accept": "application/vnd.github.ant-man-preview+json"
  8620. },
  8621. "method": "GET",
  8622. "params": {
  8623. "environment": {
  8624. "type": "string"
  8625. },
  8626. "owner": {
  8627. "required": true,
  8628. "type": "string"
  8629. },
  8630. "page": {
  8631. "type": "integer"
  8632. },
  8633. "per_page": {
  8634. "type": "integer"
  8635. },
  8636. "ref": {
  8637. "type": "string"
  8638. },
  8639. "repo": {
  8640. "required": true,
  8641. "type": "string"
  8642. },
  8643. "sha": {
  8644. "type": "string"
  8645. },
  8646. "task": {
  8647. "type": "string"
  8648. }
  8649. },
  8650. "url": "/repos/:owner/:repo/deployments"
  8651. },
  8652. "getDownload": {
  8653. "method": "GET",
  8654. "params": {
  8655. "download_id": {
  8656. "required": true,
  8657. "type": "string"
  8658. },
  8659. "id": {
  8660. "alias": "download_id",
  8661. "deprecated": true
  8662. },
  8663. "owner": {
  8664. "required": true,
  8665. "type": "string"
  8666. },
  8667. "repo": {
  8668. "required": true,
  8669. "type": "string"
  8670. }
  8671. },
  8672. "url": "/repos/:owner/:repo/downloads/:download_id"
  8673. },
  8674. "getDownloads": {
  8675. "method": "GET",
  8676. "params": {
  8677. "owner": {
  8678. "required": true,
  8679. "type": "string"
  8680. },
  8681. "page": {
  8682. "type": "integer"
  8683. },
  8684. "per_page": {
  8685. "type": "integer"
  8686. },
  8687. "repo": {
  8688. "required": true,
  8689. "type": "string"
  8690. }
  8691. },
  8692. "url": "/repos/:owner/:repo/downloads"
  8693. },
  8694. "getForOrg": {
  8695. "method": "GET",
  8696. "params": {
  8697. "org": {
  8698. "required": true,
  8699. "type": "string"
  8700. },
  8701. "page": {
  8702. "type": "integer"
  8703. },
  8704. "per_page": {
  8705. "type": "integer"
  8706. },
  8707. "type": {
  8708. "enum": [
  8709. "all",
  8710. "public",
  8711. "private",
  8712. "forks",
  8713. "sources",
  8714. "member"
  8715. ],
  8716. "type": "string"
  8717. }
  8718. },
  8719. "url": "/orgs/:org/repos"
  8720. },
  8721. "getForUser": {
  8722. "method": "GET",
  8723. "params": {
  8724. "direction": {
  8725. "enum": [
  8726. "asc",
  8727. "desc"
  8728. ],
  8729. "type": "string"
  8730. },
  8731. "page": {
  8732. "type": "integer"
  8733. },
  8734. "per_page": {
  8735. "type": "integer"
  8736. },
  8737. "sort": {
  8738. "enum": [
  8739. "created",
  8740. "updated",
  8741. "pushed",
  8742. "full_name"
  8743. ],
  8744. "type": "string"
  8745. },
  8746. "type": {
  8747. "enum": [
  8748. "all",
  8749. "owner",
  8750. "member"
  8751. ],
  8752. "type": "string"
  8753. },
  8754. "username": {
  8755. "required": true,
  8756. "type": "string"
  8757. }
  8758. },
  8759. "url": "/users/:username/repos"
  8760. },
  8761. "getForks": {
  8762. "method": "GET",
  8763. "params": {
  8764. "owner": {
  8765. "required": true,
  8766. "type": "string"
  8767. },
  8768. "page": {
  8769. "type": "integer"
  8770. },
  8771. "per_page": {
  8772. "type": "integer"
  8773. },
  8774. "repo": {
  8775. "required": true,
  8776. "type": "string"
  8777. },
  8778. "sort": {
  8779. "enum": [
  8780. "newest",
  8781. "oldest",
  8782. "stargazers"
  8783. ],
  8784. "type": "string"
  8785. }
  8786. },
  8787. "url": "/repos/:owner/:repo/forks"
  8788. },
  8789. "getHook": {
  8790. "method": "GET",
  8791. "params": {
  8792. "hook_id": {
  8793. "required": true,
  8794. "type": "string"
  8795. },
  8796. "id": {
  8797. "alias": "hook_id",
  8798. "required": true
  8799. },
  8800. "owner": {
  8801. "required": true,
  8802. "type": "string"
  8803. },
  8804. "repo": {
  8805. "required": true,
  8806. "type": "string"
  8807. }
  8808. },
  8809. "url": "/repos/:owner/:repo/hooks/:hook_id"
  8810. },
  8811. "getHooks": {
  8812. "method": "GET",
  8813. "params": {
  8814. "owner": {
  8815. "required": true,
  8816. "type": "string"
  8817. },
  8818. "page": {
  8819. "type": "integer"
  8820. },
  8821. "per_page": {
  8822. "type": "integer"
  8823. },
  8824. "repo": {
  8825. "required": true,
  8826. "type": "string"
  8827. }
  8828. },
  8829. "url": "/repos/:owner/:repo/hooks"
  8830. },
  8831. "getInvites": {
  8832. "method": "GET",
  8833. "params": {
  8834. "owner": {
  8835. "required": true,
  8836. "type": "string"
  8837. },
  8838. "page": {
  8839. "type": "integer"
  8840. },
  8841. "per_page": {
  8842. "type": "integer"
  8843. },
  8844. "repo": {
  8845. "required": true,
  8846. "type": "string"
  8847. }
  8848. },
  8849. "url": "/repos/:owner/:repo/invitations"
  8850. },
  8851. "getLanguages": {
  8852. "method": "GET",
  8853. "params": {
  8854. "owner": {
  8855. "required": true,
  8856. "type": "string"
  8857. },
  8858. "repo": {
  8859. "required": true,
  8860. "type": "string"
  8861. }
  8862. },
  8863. "url": "/repos/:owner/:repo/languages"
  8864. },
  8865. "getLatestPagesBuild": {
  8866. "headers": {
  8867. "accept": "application/vnd.github.mister-fantastic-preview+json"
  8868. },
  8869. "method": "GET",
  8870. "params": {
  8871. "owner": {
  8872. "required": true,
  8873. "type": "string"
  8874. },
  8875. "repo": {
  8876. "required": true,
  8877. "type": "string"
  8878. }
  8879. },
  8880. "url": "/repos/:owner/:repo/pages/builds/latest"
  8881. },
  8882. "getLatestRelease": {
  8883. "method": "GET",
  8884. "params": {
  8885. "owner": {
  8886. "required": true,
  8887. "type": "string"
  8888. },
  8889. "repo": {
  8890. "required": true,
  8891. "type": "string"
  8892. }
  8893. },
  8894. "url": "/repos/:owner/:repo/releases/latest"
  8895. },
  8896. "getPages": {
  8897. "headers": {
  8898. "accept": "application/vnd.github.mister-fantastic-preview+json"
  8899. },
  8900. "method": "GET",
  8901. "params": {
  8902. "owner": {
  8903. "required": true,
  8904. "type": "string"
  8905. },
  8906. "repo": {
  8907. "required": true,
  8908. "type": "string"
  8909. }
  8910. },
  8911. "url": "/repos/:owner/:repo/pages"
  8912. },
  8913. "getPagesBuild": {
  8914. "headers": {
  8915. "accept": "application/vnd.github.mister-fantastic-preview+json"
  8916. },
  8917. "method": "GET",
  8918. "params": {
  8919. "build_id": {
  8920. "required": true,
  8921. "type": "string"
  8922. },
  8923. "id": {
  8924. "alias": "build_id",
  8925. "deprecated": true
  8926. },
  8927. "owner": {
  8928. "required": true,
  8929. "type": "string"
  8930. },
  8931. "repo": {
  8932. "required": true,
  8933. "type": "string"
  8934. }
  8935. },
  8936. "url": "/repos/:owner/:repo/pages/builds/:build_id"
  8937. },
  8938. "getPagesBuilds": {
  8939. "headers": {
  8940. "accept": "application/vnd.github.mister-fantastic-preview+json"
  8941. },
  8942. "method": "GET",
  8943. "params": {
  8944. "owner": {
  8945. "required": true,
  8946. "type": "string"
  8947. },
  8948. "page": {
  8949. "type": "integer"
  8950. },
  8951. "per_page": {
  8952. "type": "integer"
  8953. },
  8954. "repo": {
  8955. "required": true,
  8956. "type": "string"
  8957. }
  8958. },
  8959. "url": "/repos/:owner/:repo/pages/builds"
  8960. },
  8961. "getPaths": {
  8962. "method": "GET",
  8963. "params": {
  8964. "owner": {
  8965. "required": true,
  8966. "type": "string"
  8967. },
  8968. "repo": {
  8969. "required": true,
  8970. "type": "string"
  8971. }
  8972. },
  8973. "url": "/repos/:owner/:repo/traffic/popular/paths"
  8974. },
  8975. "getProtectedBranchAdminEnforcement": {
  8976. "method": "GET",
  8977. "params": {
  8978. "branch": {
  8979. "required": true,
  8980. "type": "string"
  8981. },
  8982. "owner": {
  8983. "required": true,
  8984. "type": "string"
  8985. },
  8986. "repo": {
  8987. "required": true,
  8988. "type": "string"
  8989. }
  8990. },
  8991. "url": "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"
  8992. },
  8993. "getProtectedBranchPullRequestReviewEnforcement": {
  8994. "method": "GET",
  8995. "params": {
  8996. "branch": {
  8997. "required": true,
  8998. "type": "string"
  8999. },
  9000. "owner": {
  9001. "required": true,
  9002. "type": "string"
  9003. },
  9004. "repo": {
  9005. "required": true,
  9006. "type": "string"
  9007. }
  9008. },
  9009. "url": "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"
  9010. },
  9011. "getProtectedBranchRequiredSignatures": {
  9012. "headers": {
  9013. "accept": "application/vnd.github.zzzax-preview+json"
  9014. },
  9015. "method": "GET",
  9016. "params": {
  9017. "branch": {
  9018. "required": true,
  9019. "type": "string"
  9020. },
  9021. "owner": {
  9022. "required": true,
  9023. "type": "string"
  9024. },
  9025. "repo": {
  9026. "required": true,
  9027. "type": "string"
  9028. }
  9029. },
  9030. "url": "/repos/:owner/:repo/branches/:branch/protection/required_signatures"
  9031. },
  9032. "getProtectedBranchRequiredStatusChecks": {
  9033. "method": "GET",
  9034. "params": {
  9035. "branch": {
  9036. "required": true,
  9037. "type": "string"
  9038. },
  9039. "owner": {
  9040. "required": true,
  9041. "type": "string"
  9042. },
  9043. "repo": {
  9044. "required": true,
  9045. "type": "string"
  9046. }
  9047. },
  9048. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"
  9049. },
  9050. "getProtectedBranchRequiredStatusChecksContexts": {
  9051. "method": "GET",
  9052. "params": {
  9053. "branch": {
  9054. "required": true,
  9055. "type": "string"
  9056. },
  9057. "owner": {
  9058. "required": true,
  9059. "type": "string"
  9060. },
  9061. "repo": {
  9062. "required": true,
  9063. "type": "string"
  9064. }
  9065. },
  9066. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"
  9067. },
  9068. "getProtectedBranchRestrictions": {
  9069. "method": "GET",
  9070. "params": {
  9071. "branch": {
  9072. "required": true,
  9073. "type": "string"
  9074. },
  9075. "owner": {
  9076. "required": true,
  9077. "type": "string"
  9078. },
  9079. "repo": {
  9080. "required": true,
  9081. "type": "string"
  9082. }
  9083. },
  9084. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions"
  9085. },
  9086. "getProtectedBranchTeamRestrictions": {
  9087. "method": "GET",
  9088. "params": {
  9089. "branch": {
  9090. "required": true,
  9091. "type": "string"
  9092. },
  9093. "owner": {
  9094. "required": true,
  9095. "type": "string"
  9096. },
  9097. "repo": {
  9098. "required": true,
  9099. "type": "string"
  9100. }
  9101. },
  9102. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"
  9103. },
  9104. "getProtectedBranchUserRestrictions": {
  9105. "method": "GET",
  9106. "params": {
  9107. "branch": {
  9108. "required": true,
  9109. "type": "string"
  9110. },
  9111. "owner": {
  9112. "required": true,
  9113. "type": "string"
  9114. },
  9115. "repo": {
  9116. "required": true,
  9117. "type": "string"
  9118. }
  9119. },
  9120. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"
  9121. },
  9122. "getPublic": {
  9123. "method": "GET",
  9124. "params": {
  9125. "page": {
  9126. "type": "integer"
  9127. },
  9128. "per_page": {
  9129. "type": "integer"
  9130. },
  9131. "since": {
  9132. "type": "string"
  9133. }
  9134. },
  9135. "url": "/repositories"
  9136. },
  9137. "getReadme": {
  9138. "method": "GET",
  9139. "params": {
  9140. "owner": {
  9141. "required": true,
  9142. "type": "string"
  9143. },
  9144. "ref": {
  9145. "type": "string"
  9146. },
  9147. "repo": {
  9148. "required": true,
  9149. "type": "string"
  9150. }
  9151. },
  9152. "url": "/repos/:owner/:repo/readme"
  9153. },
  9154. "getReferrers": {
  9155. "method": "GET",
  9156. "params": {
  9157. "owner": {
  9158. "required": true,
  9159. "type": "string"
  9160. },
  9161. "repo": {
  9162. "required": true,
  9163. "type": "string"
  9164. }
  9165. },
  9166. "url": "/repos/:owner/:repo/traffic/popular/referrers"
  9167. },
  9168. "getRelease": {
  9169. "method": "GET",
  9170. "params": {
  9171. "id": {
  9172. "alias": "release_id",
  9173. "deprecated": true
  9174. },
  9175. "owner": {
  9176. "required": true,
  9177. "type": "string"
  9178. },
  9179. "release_id": {
  9180. "required": true,
  9181. "type": "string"
  9182. },
  9183. "repo": {
  9184. "required": true,
  9185. "type": "string"
  9186. }
  9187. },
  9188. "url": "/repos/:owner/:repo/releases/:release_id"
  9189. },
  9190. "getReleaseByTag": {
  9191. "method": "GET",
  9192. "params": {
  9193. "owner": {
  9194. "required": true,
  9195. "type": "string"
  9196. },
  9197. "repo": {
  9198. "required": true,
  9199. "type": "string"
  9200. },
  9201. "tag": {
  9202. "required": true,
  9203. "type": "string"
  9204. }
  9205. },
  9206. "url": "/repos/:owner/:repo/releases/tags/:tag"
  9207. },
  9208. "getReleases": {
  9209. "method": "GET",
  9210. "params": {
  9211. "owner": {
  9212. "required": true,
  9213. "type": "string"
  9214. },
  9215. "page": {
  9216. "type": "integer"
  9217. },
  9218. "per_page": {
  9219. "type": "integer"
  9220. },
  9221. "repo": {
  9222. "required": true,
  9223. "type": "string"
  9224. }
  9225. },
  9226. "url": "/repos/:owner/:repo/releases"
  9227. },
  9228. "getShaOfCommitRef": {
  9229. "method": "GET",
  9230. "params": {
  9231. "owner": {
  9232. "required": true,
  9233. "type": "string"
  9234. },
  9235. "ref": {
  9236. "required": true,
  9237. "type": "string"
  9238. },
  9239. "repo": {
  9240. "required": true,
  9241. "type": "string"
  9242. }
  9243. },
  9244. "url": "/repos/:owner/:repo/commits/:ref"
  9245. },
  9246. "getStatsCodeFrequency": {
  9247. "method": "GET",
  9248. "params": {
  9249. "owner": {
  9250. "required": true,
  9251. "type": "string"
  9252. },
  9253. "repo": {
  9254. "required": true,
  9255. "type": "string"
  9256. }
  9257. },
  9258. "url": "/repos/:owner/:repo/stats/code_frequency"
  9259. },
  9260. "getStatsCommitActivity": {
  9261. "method": "GET",
  9262. "params": {
  9263. "owner": {
  9264. "required": true,
  9265. "type": "string"
  9266. },
  9267. "repo": {
  9268. "required": true,
  9269. "type": "string"
  9270. }
  9271. },
  9272. "url": "/repos/:owner/:repo/stats/commit_activity"
  9273. },
  9274. "getStatsContributors": {
  9275. "method": "GET",
  9276. "params": {
  9277. "owner": {
  9278. "required": true,
  9279. "type": "string"
  9280. },
  9281. "repo": {
  9282. "required": true,
  9283. "type": "string"
  9284. }
  9285. },
  9286. "url": "/repos/:owner/:repo/stats/contributors"
  9287. },
  9288. "getStatsParticipation": {
  9289. "method": "GET",
  9290. "params": {
  9291. "owner": {
  9292. "required": true,
  9293. "type": "string"
  9294. },
  9295. "repo": {
  9296. "required": true,
  9297. "type": "string"
  9298. }
  9299. },
  9300. "url": "/repos/:owner/:repo/stats/participation"
  9301. },
  9302. "getStatsPunchCard": {
  9303. "method": "GET",
  9304. "params": {
  9305. "owner": {
  9306. "required": true,
  9307. "type": "string"
  9308. },
  9309. "repo": {
  9310. "required": true,
  9311. "type": "string"
  9312. }
  9313. },
  9314. "url": "/repos/:owner/:repo/stats/punch_card"
  9315. },
  9316. "getStatuses": {
  9317. "method": "GET",
  9318. "params": {
  9319. "owner": {
  9320. "required": true,
  9321. "type": "string"
  9322. },
  9323. "page": {
  9324. "type": "integer"
  9325. },
  9326. "per_page": {
  9327. "type": "integer"
  9328. },
  9329. "ref": {
  9330. "required": true,
  9331. "type": "string"
  9332. },
  9333. "repo": {
  9334. "required": true,
  9335. "type": "string"
  9336. }
  9337. },
  9338. "url": "/repos/:owner/:repo/commits/:ref/statuses"
  9339. },
  9340. "getTags": {
  9341. "method": "GET",
  9342. "params": {
  9343. "owner": {
  9344. "required": true,
  9345. "type": "string"
  9346. },
  9347. "page": {
  9348. "type": "integer"
  9349. },
  9350. "per_page": {
  9351. "type": "integer"
  9352. },
  9353. "repo": {
  9354. "required": true,
  9355. "type": "string"
  9356. }
  9357. },
  9358. "url": "/repos/:owner/:repo/tags"
  9359. },
  9360. "getTeams": {
  9361. "method": "GET",
  9362. "params": {
  9363. "owner": {
  9364. "required": true,
  9365. "type": "string"
  9366. },
  9367. "page": {
  9368. "type": "integer"
  9369. },
  9370. "per_page": {
  9371. "type": "integer"
  9372. },
  9373. "repo": {
  9374. "required": true,
  9375. "type": "string"
  9376. }
  9377. },
  9378. "url": "/repos/:owner/:repo/teams"
  9379. },
  9380. "getTopics": {
  9381. "headers": {
  9382. "accept": "application/vnd.github.mercy-preview+json"
  9383. },
  9384. "method": "GET",
  9385. "params": {
  9386. "owner": {
  9387. "required": true,
  9388. "type": "string"
  9389. },
  9390. "repo": {
  9391. "required": true,
  9392. "type": "string"
  9393. }
  9394. },
  9395. "url": "/repos/:owner/:repo/topics"
  9396. },
  9397. "getViews": {
  9398. "method": "GET",
  9399. "params": {
  9400. "owner": {
  9401. "required": true,
  9402. "type": "string"
  9403. },
  9404. "per": {
  9405. "enum": [
  9406. "day",
  9407. "week"
  9408. ],
  9409. "type": "string"
  9410. },
  9411. "repo": {
  9412. "required": true,
  9413. "type": "string"
  9414. }
  9415. },
  9416. "url": "/repos/:owner/:repo/traffic/views"
  9417. },
  9418. "merge": {
  9419. "method": "POST",
  9420. "params": {
  9421. "base": {
  9422. "required": true,
  9423. "type": "string"
  9424. },
  9425. "commit_message": {
  9426. "type": "string"
  9427. },
  9428. "head": {
  9429. "required": true,
  9430. "type": "string"
  9431. },
  9432. "owner": {
  9433. "required": true,
  9434. "type": "string"
  9435. },
  9436. "repo": {
  9437. "required": true,
  9438. "type": "string"
  9439. }
  9440. },
  9441. "url": "/repos/:owner/:repo/merges"
  9442. },
  9443. "pingHook": {
  9444. "method": "POST",
  9445. "params": {
  9446. "hook_id": {
  9447. "required": true,
  9448. "type": "string"
  9449. },
  9450. "id": {
  9451. "alias": "hook_id",
  9452. "required": true
  9453. },
  9454. "owner": {
  9455. "required": true,
  9456. "type": "string"
  9457. },
  9458. "repo": {
  9459. "required": true,
  9460. "type": "string"
  9461. }
  9462. },
  9463. "url": "/repos/:owner/:repo/hooks/:hook_id/pings"
  9464. },
  9465. "removeBranchProtection": {
  9466. "method": "DELETE",
  9467. "params": {
  9468. "branch": {
  9469. "required": true,
  9470. "type": "string"
  9471. },
  9472. "owner": {
  9473. "required": true,
  9474. "type": "string"
  9475. },
  9476. "repo": {
  9477. "required": true,
  9478. "type": "string"
  9479. }
  9480. },
  9481. "url": "/repos/:owner/:repo/branches/:branch/protection"
  9482. },
  9483. "removeCollaborator": {
  9484. "method": "DELETE",
  9485. "params": {
  9486. "owner": {
  9487. "required": true,
  9488. "type": "string"
  9489. },
  9490. "repo": {
  9491. "required": true,
  9492. "type": "string"
  9493. },
  9494. "username": {
  9495. "required": true,
  9496. "type": "string"
  9497. }
  9498. },
  9499. "url": "/repos/:owner/:repo/collaborators/:username"
  9500. },
  9501. "removeProtectedBranchAdminEnforcement": {
  9502. "method": "DELETE",
  9503. "params": {
  9504. "branch": {
  9505. "required": true,
  9506. "type": "string"
  9507. },
  9508. "owner": {
  9509. "required": true,
  9510. "type": "string"
  9511. },
  9512. "repo": {
  9513. "required": true,
  9514. "type": "string"
  9515. }
  9516. },
  9517. "url": "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"
  9518. },
  9519. "removeProtectedBranchPullRequestReviewEnforcement": {
  9520. "method": "DELETE",
  9521. "params": {
  9522. "branch": {
  9523. "required": true,
  9524. "type": "string"
  9525. },
  9526. "owner": {
  9527. "required": true,
  9528. "type": "string"
  9529. },
  9530. "repo": {
  9531. "required": true,
  9532. "type": "string"
  9533. }
  9534. },
  9535. "url": "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"
  9536. },
  9537. "removeProtectedBranchRequiredSignatures": {
  9538. "headers": {
  9539. "accept": "application/vnd.github.zzzax-preview+json"
  9540. },
  9541. "method": "DELETE",
  9542. "params": {
  9543. "branch": {
  9544. "required": true,
  9545. "type": "string"
  9546. },
  9547. "owner": {
  9548. "required": true,
  9549. "type": "string"
  9550. },
  9551. "repo": {
  9552. "required": true,
  9553. "type": "string"
  9554. }
  9555. },
  9556. "url": "/repos/:owner/:repo/branches/:branch/protection/required_signatures"
  9557. },
  9558. "removeProtectedBranchRequiredStatusChecks": {
  9559. "method": "DELETE",
  9560. "params": {
  9561. "branch": {
  9562. "required": true,
  9563. "type": "string"
  9564. },
  9565. "owner": {
  9566. "required": true,
  9567. "type": "string"
  9568. },
  9569. "repo": {
  9570. "required": true,
  9571. "type": "string"
  9572. }
  9573. },
  9574. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"
  9575. },
  9576. "removeProtectedBranchRequiredStatusChecksContexts": {
  9577. "method": "DELETE",
  9578. "params": {
  9579. "branch": {
  9580. "required": true,
  9581. "type": "string"
  9582. },
  9583. "contexts": {
  9584. "mapTo": "input",
  9585. "required": true,
  9586. "type": "string[]"
  9587. },
  9588. "owner": {
  9589. "required": true,
  9590. "type": "string"
  9591. },
  9592. "repo": {
  9593. "required": true,
  9594. "type": "string"
  9595. }
  9596. },
  9597. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"
  9598. },
  9599. "removeProtectedBranchRestrictions": {
  9600. "method": "DELETE",
  9601. "params": {
  9602. "branch": {
  9603. "required": true,
  9604. "type": "string"
  9605. },
  9606. "owner": {
  9607. "required": true,
  9608. "type": "string"
  9609. },
  9610. "repo": {
  9611. "required": true,
  9612. "type": "string"
  9613. }
  9614. },
  9615. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions"
  9616. },
  9617. "removeProtectedBranchTeamRestrictions": {
  9618. "method": "DELETE",
  9619. "params": {
  9620. "branch": {
  9621. "required": true,
  9622. "type": "string"
  9623. },
  9624. "owner": {
  9625. "required": true,
  9626. "type": "string"
  9627. },
  9628. "repo": {
  9629. "required": true,
  9630. "type": "string"
  9631. },
  9632. "teams": {
  9633. "mapTo": "input",
  9634. "required": true,
  9635. "type": "string[]"
  9636. }
  9637. },
  9638. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"
  9639. },
  9640. "removeProtectedBranchUserRestrictions": {
  9641. "method": "DELETE",
  9642. "params": {
  9643. "branch": {
  9644. "required": true,
  9645. "type": "string"
  9646. },
  9647. "owner": {
  9648. "required": true,
  9649. "type": "string"
  9650. },
  9651. "repo": {
  9652. "required": true,
  9653. "type": "string"
  9654. },
  9655. "users": {
  9656. "mapTo": "input",
  9657. "required": true,
  9658. "type": "string[]"
  9659. }
  9660. },
  9661. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"
  9662. },
  9663. "replaceProtectedBranchRequiredStatusChecksContexts": {
  9664. "method": "PUT",
  9665. "params": {
  9666. "branch": {
  9667. "required": true,
  9668. "type": "string"
  9669. },
  9670. "contexts": {
  9671. "mapTo": "input",
  9672. "required": true,
  9673. "type": "string[]"
  9674. },
  9675. "owner": {
  9676. "required": true,
  9677. "type": "string"
  9678. },
  9679. "repo": {
  9680. "required": true,
  9681. "type": "string"
  9682. }
  9683. },
  9684. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"
  9685. },
  9686. "replaceProtectedBranchTeamRestrictions": {
  9687. "method": "PUT",
  9688. "params": {
  9689. "branch": {
  9690. "required": true,
  9691. "type": "string"
  9692. },
  9693. "owner": {
  9694. "required": true,
  9695. "type": "string"
  9696. },
  9697. "repo": {
  9698. "required": true,
  9699. "type": "string"
  9700. },
  9701. "teams": {
  9702. "mapTo": "input",
  9703. "required": true,
  9704. "type": "string[]"
  9705. }
  9706. },
  9707. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"
  9708. },
  9709. "replaceProtectedBranchUserRestrictions": {
  9710. "method": "PUT",
  9711. "params": {
  9712. "branch": {
  9713. "required": true,
  9714. "type": "string"
  9715. },
  9716. "owner": {
  9717. "required": true,
  9718. "type": "string"
  9719. },
  9720. "repo": {
  9721. "required": true,
  9722. "type": "string"
  9723. },
  9724. "users": {
  9725. "mapTo": "input",
  9726. "required": true,
  9727. "type": "string[]"
  9728. }
  9729. },
  9730. "url": "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"
  9731. },
  9732. "replaceTopics": {
  9733. "headers": {
  9734. "accept": "application/vnd.github.mercy-preview+json"
  9735. },
  9736. "method": "PUT",
  9737. "params": {
  9738. "names": {
  9739. "required": true,
  9740. "type": "string[]"
  9741. },
  9742. "owner": {
  9743. "required": true,
  9744. "type": "string"
  9745. },
  9746. "repo": {
  9747. "required": true,
  9748. "type": "string"
  9749. }
  9750. },
  9751. "url": "/repos/:owner/:repo/topics"
  9752. },
  9753. "requestPageBuild": {
  9754. "headers": {
  9755. "accept": "application/vnd.github.mister-fantastic-preview+json"
  9756. },
  9757. "method": "POST",
  9758. "params": {
  9759. "owner": {
  9760. "required": true,
  9761. "type": "string"
  9762. },
  9763. "repo": {
  9764. "required": true,
  9765. "type": "string"
  9766. }
  9767. },
  9768. "url": "/repos/:owner/:repo/pages/builds"
  9769. },
  9770. "reviewUserPermissionLevel": {
  9771. "method": "GET",
  9772. "params": {
  9773. "owner": {
  9774. "required": true,
  9775. "type": "string"
  9776. },
  9777. "repo": {
  9778. "required": true,
  9779. "type": "string"
  9780. },
  9781. "username": {
  9782. "required": true,
  9783. "type": "string"
  9784. }
  9785. },
  9786. "url": "/repos/:owner/:repo/collaborators/:username/permission"
  9787. },
  9788. "testHook": {
  9789. "method": "POST",
  9790. "params": {
  9791. "hook_id": {
  9792. "required": true,
  9793. "type": "string"
  9794. },
  9795. "id": {
  9796. "alias": "hook_id",
  9797. "required": true
  9798. },
  9799. "owner": {
  9800. "required": true,
  9801. "type": "string"
  9802. },
  9803. "repo": {
  9804. "required": true,
  9805. "type": "string"
  9806. }
  9807. },
  9808. "url": "/repos/:owner/:repo/hooks/:hook_id/tests"
  9809. },
  9810. "transfer": {
  9811. "headers": {
  9812. "accept": "application/vnd.github.nightshade-preview+json"
  9813. },
  9814. "method": "POST",
  9815. "params": {
  9816. "new_owner": {
  9817. "type": "string"
  9818. },
  9819. "owner": {
  9820. "required": true,
  9821. "type": "string"
  9822. },
  9823. "repo": {
  9824. "required": true,
  9825. "type": "string"
  9826. },
  9827. "team_id": {
  9828. "type": "integer[]"
  9829. }
  9830. },
  9831. "url": "/repos/:owner/:repo/transfer"
  9832. },
  9833. "updateBranchProtection": {
  9834. "method": "PUT",
  9835. "params": {
  9836. "branch": {
  9837. "required": true,
  9838. "type": "string"
  9839. },
  9840. "enforce_admins": {
  9841. "allowNull": true,
  9842. "required": true,
  9843. "type": "boolean"
  9844. },
  9845. "owner": {
  9846. "required": true,
  9847. "type": "string"
  9848. },
  9849. "repo": {
  9850. "required": true,
  9851. "type": "string"
  9852. },
  9853. "required_pull_request_reviews": {
  9854. "allowNull": true,
  9855. "required": true,
  9856. "type": "object"
  9857. },
  9858. "required_pull_request_reviews.dismiss_stale_reviews": {
  9859. "type": "boolean"
  9860. },
  9861. "required_pull_request_reviews.dismissal_restrictions": {
  9862. "type": "object"
  9863. },
  9864. "required_pull_request_reviews.dismissal_restrictions.teams": {
  9865. "type": "string[]"
  9866. },
  9867. "required_pull_request_reviews.dismissal_restrictions.users": {
  9868. "type": "string[]"
  9869. },
  9870. "required_pull_request_reviews.require_code_owner_reviews": {
  9871. "type": "boolean"
  9872. },
  9873. "required_pull_request_reviews.required_approving_review_count": {
  9874. "type": "integer"
  9875. },
  9876. "required_status_checks": {
  9877. "allowNull": true,
  9878. "required": true,
  9879. "type": "object"
  9880. },
  9881. "required_status_checks.contexts": {
  9882. "required": true,
  9883. "type": "string[]"
  9884. },
  9885. "required_status_checks.strict": {
  9886. "required": true,
  9887. "type": "boolean"
  9888. },
  9889. "restrictions": {
  9890. "allowNull": true,
  9891. "required": true,
  9892. "type": "object"
  9893. },
  9894. "restrictions.teams": {
  9895. "type": "string[]"
  9896. },
  9897. "restrictions.users": {
  9898. "type": "string[]"
  9899. }
  9900. },
  9901. "url": "/repos/:owner/:repo/branches/:branch/protection"
  9902. },
  9903. "updateCommitComment": {
  9904. "method": "PATCH",
  9905. "params": {
  9906. "body": {
  9907. "required": true,
  9908. "type": "string"
  9909. },
  9910. "comment_id": {
  9911. "required": true,
  9912. "type": "string"
  9913. },
  9914. "id": {
  9915. "alias": "comment_id",
  9916. "deprecated": true
  9917. },
  9918. "owner": {
  9919. "required": true,
  9920. "type": "string"
  9921. },
  9922. "repo": {
  9923. "required": true,
  9924. "type": "string"
  9925. }
  9926. },
  9927. "url": "/repos/:owner/:repo/comments/:comment_id"
  9928. },
  9929. "updateFile": {
  9930. "method": "PUT",
  9931. "params": {
  9932. "author": {
  9933. "type": "object"
  9934. },
  9935. "branch": {
  9936. "type": "string"
  9937. },
  9938. "committer": {
  9939. "type": "object"
  9940. },
  9941. "content": {
  9942. "required": true,
  9943. "type": "string"
  9944. },
  9945. "message": {
  9946. "required": true,
  9947. "type": "string"
  9948. },
  9949. "owner": {
  9950. "required": true,
  9951. "type": "string"
  9952. },
  9953. "path": {
  9954. "required": true,
  9955. "type": "string"
  9956. },
  9957. "repo": {
  9958. "required": true,
  9959. "type": "string"
  9960. },
  9961. "sha": {
  9962. "required": true,
  9963. "type": "string"
  9964. }
  9965. },
  9966. "url": "/repos/:owner/:repo/contents/:path"
  9967. },
  9968. "updateInvite": {
  9969. "method": "PATCH",
  9970. "params": {
  9971. "invitation_id": {
  9972. "required": true,
  9973. "type": "string"
  9974. },
  9975. "owner": {
  9976. "required": true,
  9977. "type": "string"
  9978. },
  9979. "permissions": {
  9980. "enum": [
  9981. "read",
  9982. "write",
  9983. "admin"
  9984. ],
  9985. "type": "string"
  9986. },
  9987. "repo": {
  9988. "required": true,
  9989. "type": "string"
  9990. }
  9991. },
  9992. "url": "/repos/:owner/:repo/invitations/:invitation_id"
  9993. },
  9994. "updateProtectedBranchPullRequestReviewEnforcement": {
  9995. "method": "PATCH",
  9996. "params": {
  9997. "branch": {
  9998. "required": true,
  9999. "type": "string"
  10000. },
  10001. "dismiss_stale_reviews": {
  10002. "type": "boolean"
  10003. },
  10004. "dismissal_restrictions": {
  10005. "type": "object"
  10006. },
  10007. "dismissal_restrictions.teams": {
  10008. "type": "string[]"
  10009. },
  10010. "dismissal_restrictions.users": {
  10011. "type": "string[]"
  10012. },
  10013. "owner": {
  10014. "required": true,
  10015. "type": "string"
  10016. },
  10017. "repo": {
  10018. "required": true,
  10019. "type": "string"
  10020. },
  10021. "require_code_owner_reviews": {
  10022. "type": "boolean"
  10023. },
  10024. "required_approving_review_count": {
  10025. "type": "integer"
  10026. }
  10027. },
  10028. "url": "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"
  10029. },
  10030. "updateProtectedBranchRequiredStatusChecks": {
  10031. "method": "PATCH",
  10032. "params": {
  10033. "branch": {
  10034. "required": true,
  10035. "type": "string"
  10036. },
  10037. "contexts": {
  10038. "type": "string[]"
  10039. },
  10040. "owner": {
  10041. "required": true,
  10042. "type": "string"
  10043. },
  10044. "repo": {
  10045. "required": true,
  10046. "type": "string"
  10047. },
  10048. "strict": {
  10049. "type": "boolean"
  10050. }
  10051. },
  10052. "url": "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"
  10053. },
  10054. "uploadAsset": {
  10055. "method": "POST",
  10056. "params": {
  10057. "contentLength": {
  10058. "alias": "headers.content-length"
  10059. },
  10060. "contentType": {
  10061. "alias": "headers.content-type"
  10062. },
  10063. "file": {
  10064. "mapTo": "input",
  10065. "required": true,
  10066. "type": "string | object"
  10067. },
  10068. "headers.content-length": {
  10069. "required": true,
  10070. "type": "integer"
  10071. },
  10072. "headers.content-type": {
  10073. "required": true,
  10074. "type": "string"
  10075. },
  10076. "label": {
  10077. "type": "string"
  10078. },
  10079. "name": {
  10080. "required": true,
  10081. "type": "string"
  10082. },
  10083. "url": {
  10084. "required": true,
  10085. "type": "string"
  10086. }
  10087. },
  10088. "url": ":url"
  10089. }
  10090. },
  10091. "search": {
  10092. "code": {
  10093. "method": "GET",
  10094. "params": {
  10095. "order": {
  10096. "enum": [
  10097. "asc",
  10098. "desc"
  10099. ],
  10100. "type": "string"
  10101. },
  10102. "page": {
  10103. "type": "integer"
  10104. },
  10105. "per_page": {
  10106. "type": "integer"
  10107. },
  10108. "q": {
  10109. "required": true,
  10110. "type": "string"
  10111. },
  10112. "sort": {
  10113. "enum": [
  10114. "indexed"
  10115. ],
  10116. "type": "string"
  10117. }
  10118. },
  10119. "url": "/search/code"
  10120. },
  10121. "commits": {
  10122. "headers": {
  10123. "accept": "application/vnd.github.cloak-preview+json"
  10124. },
  10125. "method": "GET",
  10126. "params": {
  10127. "order": {
  10128. "enum": [
  10129. "asc",
  10130. "desc"
  10131. ],
  10132. "type": "string"
  10133. },
  10134. "page": {
  10135. "type": "integer"
  10136. },
  10137. "per_page": {
  10138. "type": "integer"
  10139. },
  10140. "q": {
  10141. "required": true,
  10142. "type": "string"
  10143. },
  10144. "sort": {
  10145. "enum": [
  10146. "author-date",
  10147. "committer-date"
  10148. ],
  10149. "type": "string"
  10150. }
  10151. },
  10152. "url": "/search/commits"
  10153. },
  10154. "issues": {
  10155. "method": "GET",
  10156. "params": {
  10157. "order": {
  10158. "enum": [
  10159. "asc",
  10160. "desc"
  10161. ],
  10162. "type": "string"
  10163. },
  10164. "page": {
  10165. "type": "integer"
  10166. },
  10167. "per_page": {
  10168. "type": "integer"
  10169. },
  10170. "q": {
  10171. "required": true,
  10172. "type": "string"
  10173. },
  10174. "sort": {
  10175. "enum": [
  10176. "comments",
  10177. "created",
  10178. "updated"
  10179. ],
  10180. "type": "string"
  10181. }
  10182. },
  10183. "url": "/search/issues"
  10184. },
  10185. "labels": {
  10186. "headers": {
  10187. "accept": "application/vnd.github.symmetra-preview+json"
  10188. },
  10189. "method": "GET",
  10190. "params": {
  10191. "order": {
  10192. "enum": [
  10193. "asc",
  10194. "desc"
  10195. ],
  10196. "type": "string"
  10197. },
  10198. "q": {
  10199. "required": true,
  10200. "type": "string"
  10201. },
  10202. "repository_id": {
  10203. "required": true,
  10204. "type": "integer"
  10205. },
  10206. "sort": {
  10207. "enum": [
  10208. "created",
  10209. "updated"
  10210. ],
  10211. "type": "string"
  10212. }
  10213. },
  10214. "url": "/search/labels"
  10215. },
  10216. "repos": {
  10217. "headers": {
  10218. "accept": "application/vnd.github.mercy-preview+json"
  10219. },
  10220. "method": "GET",
  10221. "params": {
  10222. "order": {
  10223. "enum": [
  10224. "asc",
  10225. "desc"
  10226. ],
  10227. "type": "string"
  10228. },
  10229. "page": {
  10230. "type": "integer"
  10231. },
  10232. "per_page": {
  10233. "type": "integer"
  10234. },
  10235. "q": {
  10236. "required": true,
  10237. "type": "string"
  10238. },
  10239. "sort": {
  10240. "enum": [
  10241. "stars",
  10242. "forks",
  10243. "updated"
  10244. ],
  10245. "type": "string"
  10246. }
  10247. },
  10248. "url": "/search/repositories"
  10249. },
  10250. "topics": {
  10251. "headers": {
  10252. "accept": "application/vnd.github.mercy-preview+json"
  10253. },
  10254. "method": "GET",
  10255. "params": {
  10256. "q": {
  10257. "required": true,
  10258. "type": "string"
  10259. }
  10260. },
  10261. "url": "/search/topics"
  10262. },
  10263. "users": {
  10264. "method": "GET",
  10265. "params": {
  10266. "order": {
  10267. "enum": [
  10268. "asc",
  10269. "desc"
  10270. ],
  10271. "type": "string"
  10272. },
  10273. "page": {
  10274. "type": "integer"
  10275. },
  10276. "per_page": {
  10277. "type": "integer"
  10278. },
  10279. "q": {
  10280. "required": true,
  10281. "type": "string"
  10282. },
  10283. "sort": {
  10284. "enum": [
  10285. "followers",
  10286. "repositories",
  10287. "joined"
  10288. ],
  10289. "type": "string"
  10290. }
  10291. },
  10292. "url": "/search/users"
  10293. }
  10294. },
  10295. "users": {
  10296. "acceptRepoInvite": {
  10297. "method": "PATCH",
  10298. "params": {
  10299. "invitation_id": {
  10300. "required": true,
  10301. "type": "string"
  10302. }
  10303. },
  10304. "url": "/user/repository_invitations/:invitation_id"
  10305. },
  10306. "addEmails": {
  10307. "method": "POST",
  10308. "params": {
  10309. "emails": {
  10310. "mapTo": "input",
  10311. "required": true,
  10312. "type": "string[]"
  10313. }
  10314. },
  10315. "url": "/user/emails"
  10316. },
  10317. "addRepoToInstallation": {
  10318. "headers": {
  10319. "accept": "application/vnd.github.machine-man-preview+json"
  10320. },
  10321. "method": "PUT",
  10322. "params": {
  10323. "installation_id": {
  10324. "required": true,
  10325. "type": "string"
  10326. },
  10327. "repository_id": {
  10328. "required": true,
  10329. "type": "string"
  10330. }
  10331. },
  10332. "url": "/user/installations/:installation_id/repositories/:repository_id"
  10333. },
  10334. "blockUser": {
  10335. "headers": {
  10336. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  10337. },
  10338. "method": "PUT",
  10339. "params": {
  10340. "username": {
  10341. "required": true,
  10342. "type": "string"
  10343. }
  10344. },
  10345. "url": "/user/blocks/:username"
  10346. },
  10347. "checkBlockedUser": {
  10348. "headers": {
  10349. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  10350. },
  10351. "method": "GET",
  10352. "params": {
  10353. "username": {
  10354. "required": true,
  10355. "type": "string"
  10356. }
  10357. },
  10358. "url": "/user/blocks/:username"
  10359. },
  10360. "checkFollowing": {
  10361. "method": "GET",
  10362. "params": {
  10363. "username": {
  10364. "required": true,
  10365. "type": "string"
  10366. }
  10367. },
  10368. "url": "/user/following/:username"
  10369. },
  10370. "checkIfOneFollowersOther": {
  10371. "method": "GET",
  10372. "params": {
  10373. "target_user": {
  10374. "required": true,
  10375. "type": "string"
  10376. },
  10377. "username": {
  10378. "required": true,
  10379. "type": "string"
  10380. }
  10381. },
  10382. "url": "/users/:username/following/:target_user"
  10383. },
  10384. "createGpgKey": {
  10385. "headers": {
  10386. "accept": "application/vnd.github.cryptographer-preview"
  10387. },
  10388. "method": "POST",
  10389. "params": {},
  10390. "url": "/user/gpg_keys"
  10391. },
  10392. "createKey": {
  10393. "method": "POST",
  10394. "params": {},
  10395. "url": "/user/keys"
  10396. },
  10397. "declineRepoInvite": {
  10398. "method": "DELETE",
  10399. "params": {
  10400. "invitation_id": {
  10401. "required": true,
  10402. "type": "string"
  10403. }
  10404. },
  10405. "url": "/user/repository_invitations/:invitation_id"
  10406. },
  10407. "deleteEmails": {
  10408. "method": "DELETE",
  10409. "params": {
  10410. "emails": {
  10411. "mapTo": "input",
  10412. "required": true,
  10413. "type": "string[]"
  10414. }
  10415. },
  10416. "url": "/user/emails"
  10417. },
  10418. "deleteGpgKey": {
  10419. "headers": {
  10420. "accept": "application/vnd.github.cryptographer-preview"
  10421. },
  10422. "method": "DELETE",
  10423. "params": {
  10424. "gpg_key_id": {
  10425. "required": true,
  10426. "type": "string"
  10427. },
  10428. "id": {
  10429. "alias": "gpg_key_id",
  10430. "deprecated": true
  10431. }
  10432. },
  10433. "url": "/user/gpg_keys/:gpg_key_id"
  10434. },
  10435. "deleteKey": {
  10436. "method": "DELETE",
  10437. "params": {
  10438. "id": {
  10439. "alias": "key_id",
  10440. "deprecated": true
  10441. },
  10442. "key_id": {
  10443. "required": true,
  10444. "type": "string"
  10445. }
  10446. },
  10447. "url": "/user/keys/:key_id"
  10448. },
  10449. "demote": {
  10450. "method": "DELETE",
  10451. "params": {
  10452. "username": {
  10453. "required": true,
  10454. "type": "string"
  10455. }
  10456. },
  10457. "url": "/users/:username/site_admin"
  10458. },
  10459. "editOrgMembership": {
  10460. "method": "PATCH",
  10461. "params": {
  10462. "org": {
  10463. "required": true,
  10464. "type": "string"
  10465. },
  10466. "state": {
  10467. "enum": [
  10468. "active"
  10469. ],
  10470. "required": true,
  10471. "type": "string"
  10472. }
  10473. },
  10474. "url": "/user/memberships/orgs/:org"
  10475. },
  10476. "followUser": {
  10477. "method": "PUT",
  10478. "params": {
  10479. "username": {
  10480. "required": true,
  10481. "type": "string"
  10482. }
  10483. },
  10484. "url": "/user/following/:username"
  10485. },
  10486. "get": {
  10487. "method": "GET",
  10488. "params": {},
  10489. "url": "/user"
  10490. },
  10491. "getAll": {
  10492. "method": "GET",
  10493. "params": {
  10494. "page": {
  10495. "type": "integer"
  10496. },
  10497. "per_page": {
  10498. "type": "integer"
  10499. },
  10500. "since": {
  10501. "type": "string"
  10502. }
  10503. },
  10504. "url": "/users"
  10505. },
  10506. "getBlockedUsers": {
  10507. "headers": {
  10508. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  10509. },
  10510. "method": "GET",
  10511. "params": {},
  10512. "url": "/user/blocks"
  10513. },
  10514. "getById": {
  10515. "method": "GET",
  10516. "params": {
  10517. "id": {
  10518. "required": true,
  10519. "type": "string"
  10520. }
  10521. },
  10522. "url": "/user/:id"
  10523. },
  10524. "getContextForUser": {
  10525. "headers": {
  10526. "accept": "application/vnd.github.hagar-preview+json"
  10527. },
  10528. "method": "GET",
  10529. "params": {
  10530. "subject_id": {
  10531. "type": "string"
  10532. },
  10533. "subject_type": {
  10534. "enum": [
  10535. "organization",
  10536. "repository",
  10537. "issue",
  10538. "pull_request"
  10539. ],
  10540. "type": "string"
  10541. },
  10542. "username": {
  10543. "required": true,
  10544. "type": "string"
  10545. }
  10546. },
  10547. "url": "/users/:username/hovercard"
  10548. },
  10549. "getEmails": {
  10550. "method": "GET",
  10551. "params": {
  10552. "page": {
  10553. "type": "integer"
  10554. },
  10555. "per_page": {
  10556. "type": "integer"
  10557. }
  10558. },
  10559. "url": "/user/emails"
  10560. },
  10561. "getFollowers": {
  10562. "method": "GET",
  10563. "params": {
  10564. "page": {
  10565. "type": "integer"
  10566. },
  10567. "per_page": {
  10568. "type": "integer"
  10569. }
  10570. },
  10571. "url": "/user/followers"
  10572. },
  10573. "getFollowersForUser": {
  10574. "method": "GET",
  10575. "params": {
  10576. "page": {
  10577. "type": "integer"
  10578. },
  10579. "per_page": {
  10580. "type": "integer"
  10581. },
  10582. "username": {
  10583. "required": true,
  10584. "type": "string"
  10585. }
  10586. },
  10587. "url": "/users/:username/followers"
  10588. },
  10589. "getFollowing": {
  10590. "method": "GET",
  10591. "params": {
  10592. "page": {
  10593. "type": "integer"
  10594. },
  10595. "per_page": {
  10596. "type": "integer"
  10597. }
  10598. },
  10599. "url": "/user/following"
  10600. },
  10601. "getFollowingForUser": {
  10602. "method": "GET",
  10603. "params": {
  10604. "page": {
  10605. "type": "integer"
  10606. },
  10607. "per_page": {
  10608. "type": "integer"
  10609. },
  10610. "username": {
  10611. "required": true,
  10612. "type": "string"
  10613. }
  10614. },
  10615. "url": "/users/:username/following"
  10616. },
  10617. "getForUser": {
  10618. "method": "GET",
  10619. "params": {
  10620. "username": {
  10621. "required": true,
  10622. "type": "string"
  10623. }
  10624. },
  10625. "url": "/users/:username"
  10626. },
  10627. "getGpgKey": {
  10628. "headers": {
  10629. "accept": "application/vnd.github.cryptographer-preview"
  10630. },
  10631. "method": "GET",
  10632. "params": {
  10633. "gpg_key_id": {
  10634. "required": true,
  10635. "type": "string"
  10636. },
  10637. "id": {
  10638. "alias": "gpg_key_id",
  10639. "deprecated": true
  10640. }
  10641. },
  10642. "url": "/user/gpg_keys/:gpg_key_id"
  10643. },
  10644. "getGpgKeys": {
  10645. "headers": {
  10646. "accept": "application/vnd.github.cryptographer-preview"
  10647. },
  10648. "method": "GET",
  10649. "params": {
  10650. "page": {
  10651. "type": "integer"
  10652. },
  10653. "per_page": {
  10654. "type": "integer"
  10655. }
  10656. },
  10657. "url": "/user/gpg_keys"
  10658. },
  10659. "getGpgKeysForUser": {
  10660. "headers": {
  10661. "accept": "application/vnd.github.cryptographer-preview"
  10662. },
  10663. "method": "GET",
  10664. "params": {
  10665. "page": {
  10666. "type": "integer"
  10667. },
  10668. "per_page": {
  10669. "type": "integer"
  10670. },
  10671. "username": {
  10672. "required": true,
  10673. "type": "string"
  10674. }
  10675. },
  10676. "url": "/users/:username/gpg_keys"
  10677. },
  10678. "getInstallationRepos": {
  10679. "method": "GET",
  10680. "params": {
  10681. "installation_id": {
  10682. "required": true,
  10683. "type": "string"
  10684. },
  10685. "page": {
  10686. "type": "integer"
  10687. },
  10688. "per_page": {
  10689. "type": "integer"
  10690. }
  10691. },
  10692. "url": "/user/installations/:installation_id/repositories"
  10693. },
  10694. "getInstallations": {
  10695. "headers": {
  10696. "accept": "application/vnd.github.machine-man-preview+json"
  10697. },
  10698. "method": "GET",
  10699. "params": {
  10700. "page": {
  10701. "type": "integer"
  10702. },
  10703. "per_page": {
  10704. "type": "integer"
  10705. }
  10706. },
  10707. "url": "/user/installations"
  10708. },
  10709. "getKey": {
  10710. "method": "GET",
  10711. "params": {
  10712. "id": {
  10713. "alias": "key_id",
  10714. "deprecated": true
  10715. },
  10716. "key_id": {
  10717. "required": true,
  10718. "type": "string"
  10719. }
  10720. },
  10721. "url": "/user/keys/:key_id"
  10722. },
  10723. "getKeys": {
  10724. "method": "GET",
  10725. "params": {
  10726. "page": {
  10727. "type": "integer"
  10728. },
  10729. "per_page": {
  10730. "type": "integer"
  10731. }
  10732. },
  10733. "url": "/user/keys"
  10734. },
  10735. "getKeysForUser": {
  10736. "method": "GET",
  10737. "params": {
  10738. "page": {
  10739. "type": "integer"
  10740. },
  10741. "per_page": {
  10742. "type": "integer"
  10743. },
  10744. "username": {
  10745. "required": true,
  10746. "type": "string"
  10747. }
  10748. },
  10749. "url": "/users/:username/keys"
  10750. },
  10751. "getMarketplacePurchases": {
  10752. "headers": {
  10753. "accept": "application/vnd.github.valkyrie-preview+json"
  10754. },
  10755. "method": "GET",
  10756. "params": {
  10757. "page": {
  10758. "type": "integer"
  10759. },
  10760. "per_page": {
  10761. "type": "integer"
  10762. }
  10763. },
  10764. "url": "/user/marketplace_purchases"
  10765. },
  10766. "getMarketplaceStubbedPurchases": {
  10767. "headers": {
  10768. "accept": "application/vnd.github.valkyrie-preview+json"
  10769. },
  10770. "method": "GET",
  10771. "params": {
  10772. "page": {
  10773. "type": "integer"
  10774. },
  10775. "per_page": {
  10776. "type": "integer"
  10777. }
  10778. },
  10779. "url": "/user/marketplace_purchases/stubbed"
  10780. },
  10781. "getOrgMembership": {
  10782. "method": "GET",
  10783. "params": {
  10784. "org": {
  10785. "required": true,
  10786. "type": "string"
  10787. }
  10788. },
  10789. "url": "/user/memberships/orgs/:org"
  10790. },
  10791. "getOrgMemberships": {
  10792. "method": "GET",
  10793. "params": {
  10794. "page": {
  10795. "type": "integer"
  10796. },
  10797. "per_page": {
  10798. "type": "integer"
  10799. },
  10800. "state": {
  10801. "enum": [
  10802. "active",
  10803. "pending"
  10804. ],
  10805. "type": "string"
  10806. }
  10807. },
  10808. "url": "/user/memberships/orgs"
  10809. },
  10810. "getOrgs": {
  10811. "method": "GET",
  10812. "params": {
  10813. "page": {
  10814. "type": "integer"
  10815. },
  10816. "per_page": {
  10817. "type": "integer"
  10818. }
  10819. },
  10820. "url": "/user/orgs"
  10821. },
  10822. "getPublicEmails": {
  10823. "method": "GET",
  10824. "params": {
  10825. "page": {
  10826. "type": "integer"
  10827. },
  10828. "per_page": {
  10829. "type": "integer"
  10830. }
  10831. },
  10832. "url": "/user/public_emails"
  10833. },
  10834. "getRepoInvites": {
  10835. "method": "GET",
  10836. "params": {
  10837. "page": {
  10838. "type": "integer"
  10839. },
  10840. "per_page": {
  10841. "type": "integer"
  10842. }
  10843. },
  10844. "url": "/user/repository_invitations"
  10845. },
  10846. "getTeams": {
  10847. "headers": {
  10848. "accept": "application/vnd.github.hellcat-preview+json"
  10849. },
  10850. "method": "GET",
  10851. "params": {
  10852. "page": {
  10853. "type": "integer"
  10854. },
  10855. "per_page": {
  10856. "type": "integer"
  10857. }
  10858. },
  10859. "url": "/user/teams"
  10860. },
  10861. "promote": {
  10862. "method": "PUT",
  10863. "params": {
  10864. "username": {
  10865. "required": true,
  10866. "type": "string"
  10867. }
  10868. },
  10869. "url": "/users/:username/site_admin"
  10870. },
  10871. "removeRepoFromInstallation": {
  10872. "headers": {
  10873. "accept": "application/vnd.github.machine-man-preview+json"
  10874. },
  10875. "method": "DELETE",
  10876. "params": {
  10877. "installation_id": {
  10878. "required": true,
  10879. "type": "string"
  10880. },
  10881. "repository_id": {
  10882. "required": true,
  10883. "type": "string"
  10884. }
  10885. },
  10886. "url": "/user/installations/:installation_id/repositories/:repository_id"
  10887. },
  10888. "suspend": {
  10889. "method": "PUT",
  10890. "params": {
  10891. "username": {
  10892. "required": true,
  10893. "type": "string"
  10894. }
  10895. },
  10896. "url": "/users/:username/suspended"
  10897. },
  10898. "togglePrimaryEmailVisibility": {
  10899. "method": "PATCH",
  10900. "params": {
  10901. "email": {
  10902. "required": true,
  10903. "type": "string"
  10904. },
  10905. "visibility": {
  10906. "required": true,
  10907. "type": "string"
  10908. }
  10909. },
  10910. "url": "/user/email/visibility"
  10911. },
  10912. "unblockUser": {
  10913. "headers": {
  10914. "accept": "application/vnd.github.giant-sentry-fist-preview+json"
  10915. },
  10916. "method": "DELETE",
  10917. "params": {
  10918. "username": {
  10919. "required": true,
  10920. "type": "string"
  10921. }
  10922. },
  10923. "url": "/user/blocks/:username"
  10924. },
  10925. "unfollowUser": {
  10926. "method": "DELETE",
  10927. "params": {
  10928. "username": {
  10929. "required": true,
  10930. "type": "string"
  10931. }
  10932. },
  10933. "url": "/user/following/:username"
  10934. },
  10935. "unsuspend": {
  10936. "method": "DELETE",
  10937. "params": {
  10938. "username": {
  10939. "required": true,
  10940. "type": "string"
  10941. }
  10942. },
  10943. "url": "/users/:username/suspended"
  10944. },
  10945. "update": {
  10946. "method": "PATCH",
  10947. "params": {
  10948. "bio": {
  10949. "type": "string"
  10950. },
  10951. "blog": {
  10952. "type": "string"
  10953. },
  10954. "company": {
  10955. "type": "string"
  10956. },
  10957. "email": {
  10958. "type": "string"
  10959. },
  10960. "hireable": {
  10961. "type": "boolean"
  10962. },
  10963. "location": {
  10964. "type": "string"
  10965. },
  10966. "name": {
  10967. "type": "string"
  10968. }
  10969. },
  10970. "url": "/user"
  10971. }
  10972. }
  10973. }