openapi-derefed.json 382 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "API Reference",
  5. "description": "Sentry Public API",
  6. "termsOfService": "http://sentry.io/terms/",
  7. "contact": {
  8. "email": "partners@sentry.io"
  9. },
  10. "license": {
  11. "name": "Apache 2.0",
  12. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  13. },
  14. "version": "v0"
  15. },
  16. "servers": [
  17. {
  18. "url": "https://sentry.io/"
  19. }
  20. ],
  21. "tags": [
  22. {
  23. "name": "Teams",
  24. "description": "Endpoints for teams",
  25. "externalDocs": {
  26. "description": "Found an error? Let us know.",
  27. "url": "https://github.com/getsentry/sentry-docs/issues/new/?title=API%20Documentation%20Error:%20/api/teams/&template=api_error_template.md"
  28. }
  29. },
  30. {
  31. "name": "Organizations",
  32. "description": "Endpoints for organizations",
  33. "externalDocs": {
  34. "description": "Found an error? Let us know.",
  35. "url": "https://github.com/getsentry/sentry-docs/issues/new/?title=API%20Documentation%20Error:%20/api/organizations/&template=api_error_template.md"
  36. }
  37. },
  38. {
  39. "name": "Projects",
  40. "description": "Endpoints for projects",
  41. "externalDocs": {
  42. "description": "Found an error? Let us know.",
  43. "url": "https://github.com/getsentry/sentry-docs/issues/new/?title=API%20Documentation%20Error:%20/api/organizations/&template=api_error_template.md"
  44. }
  45. },
  46. {
  47. "name": "Events",
  48. "description": "Endpoints for events",
  49. "externalDocs": {
  50. "description": "Found an error? Let us know.",
  51. "url": "https://github.com/getsentry/sentry-docs/issues/new/?title=API%20Documentation%20Error:%20/api/organizations/&template=api_error_template.md"
  52. }
  53. },
  54. {
  55. "name": "Releases",
  56. "description": "Endpoints for releases",
  57. "externalDocs": {
  58. "description": "Found an error? Let us know.",
  59. "url": "https://github.com/getsentry/sentry-docs/issues/new/?title=API%20Documentation%20Error:%20/api/teams/&template=api_error_template.md"
  60. }
  61. }
  62. ],
  63. "paths": {
  64. "/api/0/organizations/{organization_slug}/teams/": {
  65. "get": {
  66. "tags": [
  67. "Teams"
  68. ],
  69. "description": "Returns a list of teams bound to a organization.",
  70. "operationId": "List an Organization's Teams",
  71. "parameters": [
  72. {
  73. "name": "organization_slug",
  74. "in": "path",
  75. "description": "The slug of the organization for which the teams should be listed.",
  76. "required": true,
  77. "schema": {
  78. "type": "string"
  79. }
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "Success.",
  85. "content": {
  86. "application/json": {
  87. "schema": {
  88. "type": "array",
  89. "items": {
  90. "type": "object",
  91. "required": [
  92. "avatar",
  93. "dateCreated",
  94. "hasAccess",
  95. "id",
  96. "isMember",
  97. "isPending",
  98. "memberCount",
  99. "name",
  100. "projects",
  101. "slug"
  102. ],
  103. "properties": {
  104. "avatar": {
  105. "type": "object",
  106. "properties": {
  107. "avatarType": {
  108. "type": "string"
  109. },
  110. "avatarUuid": {
  111. "type": "string",
  112. "nullable": true
  113. }
  114. }
  115. },
  116. "dateCreated": {
  117. "type": "string",
  118. "format": "date-time"
  119. },
  120. "hasAccess": {
  121. "type": "boolean"
  122. },
  123. "id": {
  124. "type": "string"
  125. },
  126. "isMember": {
  127. "type": "boolean"
  128. },
  129. "isPending": {
  130. "type": "boolean"
  131. },
  132. "memberCount": {
  133. "type": "integer",
  134. "format": "int64"
  135. },
  136. "name": {
  137. "type": "string"
  138. },
  139. "projects": {
  140. "type": "array",
  141. "items": {
  142. "type": "object",
  143. "required": [
  144. "avatar",
  145. "color",
  146. "dateCreated",
  147. "features",
  148. "firstEvent",
  149. "hasAccess",
  150. "id",
  151. "isBookmarked",
  152. "isInternal",
  153. "isMember",
  154. "isPublic",
  155. "name",
  156. "platform",
  157. "slug",
  158. "status"
  159. ],
  160. "properties": {
  161. "avatar": {
  162. "type": "object",
  163. "properties": {
  164. "avatarType": {
  165. "type": "string"
  166. },
  167. "avatarUuid": {
  168. "type": "string",
  169. "nullable": true
  170. }
  171. }
  172. },
  173. "color": {
  174. "type": "string"
  175. },
  176. "dateCreated": {
  177. "type": "string",
  178. "format": "date-time"
  179. },
  180. "features": {
  181. "type": "array",
  182. "items": {
  183. "type": "string"
  184. }
  185. },
  186. "firstEvent": {
  187. "type": "string",
  188. "nullable": true
  189. },
  190. "hasAccess": {
  191. "type": "boolean"
  192. },
  193. "id": {
  194. "type": "string"
  195. },
  196. "isBookmarked": {
  197. "type": "boolean"
  198. },
  199. "isInternal": {
  200. "type": "boolean"
  201. },
  202. "isMember": {
  203. "type": "boolean"
  204. },
  205. "isPublic": {
  206. "type": "boolean"
  207. },
  208. "name": {
  209. "type": "string"
  210. },
  211. "platform": {
  212. "type": "string",
  213. "nullable": true
  214. },
  215. "slug": {
  216. "type": "string"
  217. },
  218. "status": {
  219. "type": "string",
  220. "enum": [
  221. "active",
  222. "disabled",
  223. "pending_deletion",
  224. "deletion_in_progress"
  225. ]
  226. }
  227. }
  228. }
  229. },
  230. "slug": {
  231. "type": "string"
  232. }
  233. }
  234. }
  235. },
  236. "example": [
  237. {
  238. "avatar": {
  239. "avatarType": "letter_avatar",
  240. "avatarUuid": null
  241. },
  242. "dateCreated": "2018-11-06T21:20:08.115Z",
  243. "hasAccess": true,
  244. "id": "3",
  245. "isMember": true,
  246. "isPending": false,
  247. "memberCount": 1,
  248. "name": "Ancient Gabelers",
  249. "projects": [],
  250. "slug": "ancient-gabelers"
  251. },
  252. {
  253. "avatar": {
  254. "avatarType": "letter_avatar",
  255. "avatarUuid": null
  256. },
  257. "dateCreated": "2018-11-06T21:19:55.114Z",
  258. "hasAccess": true,
  259. "id": "2",
  260. "isMember": true,
  261. "isPending": false,
  262. "memberCount": 1,
  263. "name": "Powerful Abolitionist",
  264. "projects": [
  265. {
  266. "avatar": {
  267. "avatarType": "letter_avatar",
  268. "avatarUuid": null
  269. },
  270. "color": "#bf5b3f",
  271. "dateCreated": "2018-11-06T21:19:58.536Z",
  272. "features": [
  273. "releases",
  274. "sample-events",
  275. "minidump",
  276. "servicehooks",
  277. "rate-limits",
  278. "data-forwarding"
  279. ],
  280. "firstEvent": null,
  281. "hasAccess": true,
  282. "id": "3",
  283. "isBookmarked": false,
  284. "isInternal": false,
  285. "isMember": true,
  286. "isPublic": false,
  287. "name": "Prime Mover",
  288. "platform": null,
  289. "slug": "prime-mover",
  290. "status": "active"
  291. },
  292. {
  293. "avatar": {
  294. "avatarType": "letter_avatar",
  295. "avatarUuid": null
  296. },
  297. "color": "#3fbf7f",
  298. "dateCreated": "2018-11-06T21:19:55.121Z",
  299. "features": [
  300. "releases",
  301. "sample-events",
  302. "minidump",
  303. "servicehooks",
  304. "rate-limits",
  305. "data-forwarding"
  306. ],
  307. "firstEvent": null,
  308. "hasAccess": true,
  309. "id": "2",
  310. "isBookmarked": false,
  311. "isInternal": false,
  312. "isMember": true,
  313. "isPublic": false,
  314. "name": "Pump Station",
  315. "platform": null,
  316. "slug": "pump-station",
  317. "status": "active"
  318. },
  319. {
  320. "avatar": {
  321. "avatarType": "letter_avatar",
  322. "avatarUuid": null
  323. },
  324. "color": "#bf6e3f",
  325. "dateCreated": "2018-11-06T21:20:08.064Z",
  326. "features": [
  327. "servicehooks",
  328. "sample-events",
  329. "data-forwarding",
  330. "rate-limits",
  331. "minidump"
  332. ],
  333. "firstEvent": null,
  334. "hasAccess": true,
  335. "id": "4",
  336. "isBookmarked": false,
  337. "isInternal": false,
  338. "isMember": true,
  339. "isPublic": false,
  340. "name": "The Spoiled Yoghurt",
  341. "platform": null,
  342. "slug": "the-spoiled-yoghurt",
  343. "status": "active"
  344. }
  345. ],
  346. "slug": "powerful-abolitionist"
  347. }
  348. ]
  349. }
  350. }
  351. },
  352. "403": {
  353. "description": "Forbidden"
  354. }
  355. },
  356. "security": [
  357. {
  358. "auth_token": [
  359. "team:read"
  360. ]
  361. }
  362. ]
  363. },
  364. "post": {
  365. "tags": [
  366. "Teams"
  367. ],
  368. "description": "Create a new team bound to an organization. Only the name of the team is needed to create it, the slug can be auto generated.",
  369. "operationId": "Create a New Team",
  370. "parameters": [
  371. {
  372. "name": "organization_slug",
  373. "in": "path",
  374. "description": "The slug of the organization the team should be created for.",
  375. "required": true,
  376. "schema": {
  377. "type": "string"
  378. }
  379. }
  380. ],
  381. "requestBody": {
  382. "content": {
  383. "application/json": {
  384. "schema": {
  385. "required": [
  386. "name"
  387. ],
  388. "type": "object",
  389. "properties": {
  390. "name": {
  391. "type": "string",
  392. "description": "The name of the team.",
  393. "example": "Ancient Gabelers"
  394. },
  395. "slug": {
  396. "type": "string",
  397. "description": "The optional slug for this team. If not provided it will be auto generated from the name",
  398. "example": "ancient-gabelers"
  399. }
  400. }
  401. }
  402. }
  403. },
  404. "required": true
  405. },
  406. "responses": {
  407. "201": {
  408. "description": "Success.",
  409. "content": {
  410. "application/json": {
  411. "schema": {
  412. "type": "object",
  413. "required": [
  414. "avatar",
  415. "dateCreated",
  416. "hasAccess",
  417. "id",
  418. "isMember",
  419. "isPending",
  420. "memberCount",
  421. "name",
  422. "slug"
  423. ],
  424. "properties": {
  425. "avatar": {
  426. "type": "object",
  427. "properties": {
  428. "avatarType": {
  429. "type": "string"
  430. },
  431. "avatarUuid": {
  432. "type": "string",
  433. "nullable": true
  434. }
  435. }
  436. },
  437. "dateCreated": {
  438. "type": "string",
  439. "format": "date-time"
  440. },
  441. "hasAccess": {
  442. "type": "boolean"
  443. },
  444. "id": {
  445. "type": "string"
  446. },
  447. "isMember": {
  448. "type": "boolean"
  449. },
  450. "isPending": {
  451. "type": "boolean"
  452. },
  453. "memberCount": {
  454. "type": "integer",
  455. "format": "int64"
  456. },
  457. "name": {
  458. "type": "string"
  459. },
  460. "slug": {
  461. "type": "string"
  462. }
  463. }
  464. },
  465. "example": {
  466. "memberCount": 0,
  467. "name": "Ancient Gabelers",
  468. "isMember": false,
  469. "hasAccess": true,
  470. "isPending": false,
  471. "dateCreated": "2020-08-19T21:46:47.877073Z",
  472. "id": "542610",
  473. "avatar": {
  474. "avatarUuid": null,
  475. "avatarType": "letter_avatar"
  476. },
  477. "slug": "ancient-gabelers"
  478. }
  479. }
  480. }
  481. },
  482. "400": {
  483. "description": "Bad input"
  484. },
  485. "403": {
  486. "description": "Forbidden"
  487. },
  488. "409": {
  489. "description": "Team slug already exists"
  490. }
  491. },
  492. "security": [
  493. {
  494. "auth_token": [
  495. "team:write"
  496. ]
  497. }
  498. ]
  499. }
  500. },
  501. "/api/0/teams/{organization_slug}/{team_slug}/": {
  502. "get": {
  503. "tags": [
  504. "Teams"
  505. ],
  506. "description": "Return details on an individual team.",
  507. "operationId": "Retrieve a Team",
  508. "parameters": [
  509. {
  510. "name": "organization_slug",
  511. "in": "path",
  512. "description": "The slug of the organization the team belongs to.",
  513. "required": true,
  514. "schema": {
  515. "type": "string"
  516. }
  517. },
  518. {
  519. "name": "team_slug",
  520. "in": "path",
  521. "description": "The slug of the team to get.",
  522. "required": true,
  523. "schema": {
  524. "type": "string"
  525. }
  526. }
  527. ],
  528. "responses": {
  529. "200": {
  530. "description": "Success.",
  531. "content": {
  532. "application/json": {
  533. "schema": {
  534. "type": "object",
  535. "required": [
  536. "avatar",
  537. "dateCreated",
  538. "hasAccess",
  539. "id",
  540. "isMember",
  541. "isPending",
  542. "memberCount",
  543. "name",
  544. "slug",
  545. "organization"
  546. ],
  547. "properties": {
  548. "avatar": {
  549. "type": "object",
  550. "properties": {
  551. "avatarType": {
  552. "type": "string"
  553. },
  554. "avatarUuid": {
  555. "type": "string",
  556. "nullable": true
  557. }
  558. }
  559. },
  560. "dateCreated": {
  561. "type": "string",
  562. "format": "date-time"
  563. },
  564. "hasAccess": {
  565. "type": "boolean"
  566. },
  567. "id": {
  568. "type": "string"
  569. },
  570. "isMember": {
  571. "type": "boolean"
  572. },
  573. "isPending": {
  574. "type": "boolean"
  575. },
  576. "memberCount": {
  577. "type": "integer",
  578. "format": "int64"
  579. },
  580. "organization": {
  581. "type": "object",
  582. "required": [
  583. "avatar",
  584. "dateCreated",
  585. "id",
  586. "isEarlyAdopter",
  587. "name",
  588. "require2FA",
  589. "slug",
  590. "status"
  591. ],
  592. "properties": {
  593. "avatar": {
  594. "type": "object",
  595. "properties": {
  596. "avatarType": {
  597. "type": "string"
  598. },
  599. "avatarUuid": {
  600. "type": "string",
  601. "nullable": true
  602. }
  603. }
  604. },
  605. "dateCreated": {
  606. "type": "string",
  607. "format": "date-time"
  608. },
  609. "id": {
  610. "type": "string"
  611. },
  612. "isEarlyAdopter": {
  613. "type": "boolean"
  614. },
  615. "name": {
  616. "type": "string"
  617. },
  618. "require2FA": {
  619. "type": "boolean"
  620. },
  621. "slug": {
  622. "type": "string"
  623. },
  624. "status": {
  625. "type": "object",
  626. "required": [
  627. "id",
  628. "name"
  629. ],
  630. "properties": {
  631. "id": {
  632. "type": "string"
  633. },
  634. "name": {
  635. "type": "string"
  636. }
  637. }
  638. }
  639. }
  640. },
  641. "name": {
  642. "type": "string"
  643. },
  644. "slug": {
  645. "type": "string"
  646. }
  647. }
  648. },
  649. "example": {
  650. "avatar": {
  651. "avatarType": "letter_avatar",
  652. "avatarUuid": null
  653. },
  654. "dateCreated": "2018-11-06T21:19:55.114Z",
  655. "hasAccess": true,
  656. "id": "2",
  657. "isMember": true,
  658. "isPending": false,
  659. "memberCount": 1,
  660. "name": "Powerful Abolitionist",
  661. "organization": {
  662. "avatar": {
  663. "avatarType": "letter_avatar",
  664. "avatarUuid": null
  665. },
  666. "dateCreated": "2018-11-06T21:19:55.101Z",
  667. "id": "2",
  668. "isEarlyAdopter": false,
  669. "name": "The Interstellar Jurisdiction",
  670. "require2FA": false,
  671. "slug": "the-interstellar-jurisdiction",
  672. "status": {
  673. "id": "active",
  674. "name": "active"
  675. }
  676. },
  677. "slug": "powerful-abolitionist"
  678. }
  679. }
  680. }
  681. },
  682. "403": {
  683. "description": "Forbidden"
  684. },
  685. "404": {
  686. "description": "Team not found"
  687. }
  688. },
  689. "security": [
  690. {
  691. "auth_token": [
  692. "team:read"
  693. ]
  694. }
  695. ]
  696. },
  697. "put": {
  698. "tags": [
  699. "Teams"
  700. ],
  701. "description": "Update various attributes and configurable settings for the given team.",
  702. "operationId": "Update a Team",
  703. "parameters": [
  704. {
  705. "name": "organization_slug",
  706. "in": "path",
  707. "description": "The slug of the organization the team belongs to.",
  708. "required": true,
  709. "schema": {
  710. "type": "string"
  711. }
  712. },
  713. {
  714. "name": "team_slug",
  715. "in": "path",
  716. "description": "The slug of the team to get.",
  717. "required": true,
  718. "schema": {
  719. "type": "string"
  720. }
  721. }
  722. ],
  723. "requestBody": {
  724. "content": {
  725. "application/json": {
  726. "schema": {
  727. "required": [
  728. "name"
  729. ],
  730. "type": "object",
  731. "properties": {
  732. "name": {
  733. "type": "string",
  734. "description": "The new name for the team.",
  735. "example": "The Inflated Philosophers"
  736. },
  737. "slug": {
  738. "type": "string",
  739. "description": "A new slug for the team. It has to be unique and available.",
  740. "example": "the-inflated-philosophers"
  741. }
  742. }
  743. }
  744. }
  745. },
  746. "required": true
  747. },
  748. "responses": {
  749. "200": {
  750. "description": "Success.",
  751. "content": {
  752. "application/json": {
  753. "schema": {
  754. "type": "object",
  755. "required": [
  756. "avatar",
  757. "dateCreated",
  758. "hasAccess",
  759. "id",
  760. "isMember",
  761. "isPending",
  762. "memberCount",
  763. "name",
  764. "slug"
  765. ],
  766. "properties": {
  767. "avatar": {
  768. "type": "object",
  769. "properties": {
  770. "avatarType": {
  771. "type": "string"
  772. },
  773. "avatarUuid": {
  774. "type": "string",
  775. "nullable": true
  776. }
  777. }
  778. },
  779. "dateCreated": {
  780. "type": "string",
  781. "format": "date-time"
  782. },
  783. "hasAccess": {
  784. "type": "boolean"
  785. },
  786. "id": {
  787. "type": "string"
  788. },
  789. "isMember": {
  790. "type": "boolean"
  791. },
  792. "isPending": {
  793. "type": "boolean"
  794. },
  795. "memberCount": {
  796. "type": "integer",
  797. "format": "int64"
  798. },
  799. "name": {
  800. "type": "string"
  801. },
  802. "slug": {
  803. "type": "string"
  804. }
  805. }
  806. },
  807. "example": {
  808. "avatar": {
  809. "avatarType": "letter_avatar"
  810. },
  811. "dateCreated": "2018-11-06T21:20:08.115Z",
  812. "hasAccess": true,
  813. "id": "3",
  814. "isMember": false,
  815. "isPending": false,
  816. "memberCount": 1,
  817. "name": "The Inflated Philosophers",
  818. "slug": "the-inflated-philosophers"
  819. }
  820. }
  821. }
  822. },
  823. "400": {
  824. "description": "Bad Input"
  825. },
  826. "403": {
  827. "description": "Forbidden"
  828. },
  829. "404": {
  830. "description": "Team not found"
  831. }
  832. },
  833. "security": [
  834. {
  835. "auth_token": [
  836. "team:write"
  837. ]
  838. }
  839. ]
  840. },
  841. "delete": {
  842. "tags": [
  843. "Teams"
  844. ],
  845. "description": "Schedules a team for deletion.\n\nNote: Deletion happens asynchronously and therefor is not immediate. However once deletion has begun the state of a project changes and will be hidden from most public views.",
  846. "operationId": "Delete a Team",
  847. "parameters": [
  848. {
  849. "name": "organization_slug",
  850. "in": "path",
  851. "description": "The slug of the organization the team belongs to.",
  852. "required": true,
  853. "schema": {
  854. "type": "string"
  855. }
  856. },
  857. {
  858. "name": "team_slug",
  859. "in": "path",
  860. "description": "The slug of the team to get.",
  861. "required": true,
  862. "schema": {
  863. "type": "string"
  864. }
  865. }
  866. ],
  867. "responses": {
  868. "204": {
  869. "description": "Success."
  870. },
  871. "403": {
  872. "description": "Forbidden"
  873. },
  874. "404": {
  875. "description": "Team not found"
  876. }
  877. },
  878. "security": [
  879. {
  880. "auth_token": [
  881. "team:admin"
  882. ]
  883. }
  884. ]
  885. }
  886. },
  887. "/api/0/teams/{organization_slug}/{team_slug}/projects/": {
  888. "get": {
  889. "tags": [
  890. "Teams"
  891. ],
  892. "description": "Return a list of projects bound to a team.",
  893. "operationId": "List a Team's Projects",
  894. "parameters": [
  895. {
  896. "name": "organization_slug",
  897. "in": "path",
  898. "description": "The slug of the organization the team belongs to.",
  899. "required": true,
  900. "schema": {
  901. "type": "string"
  902. }
  903. },
  904. {
  905. "name": "team_slug",
  906. "in": "path",
  907. "description": "The slug of the team to get.",
  908. "required": true,
  909. "schema": {
  910. "type": "string"
  911. }
  912. }
  913. ],
  914. "responses": {
  915. "200": {
  916. "description": "Success.",
  917. "content": {
  918. "application/json": {
  919. "schema": {
  920. "type": "array",
  921. "items": {
  922. "type": "object",
  923. "required": [
  924. "dateCreated",
  925. "features",
  926. "firstEvent",
  927. "hasAccess",
  928. "id",
  929. "isBookmarked",
  930. "isMember",
  931. "name",
  932. "platform",
  933. "slug",
  934. "team",
  935. "teams",
  936. "latestDeploys"
  937. ],
  938. "properties": {
  939. "dateCreated": {
  940. "type": "string",
  941. "format": "date-time"
  942. },
  943. "features": {
  944. "type": "array",
  945. "items": {
  946. "type": "string"
  947. }
  948. },
  949. "firstEvent": {
  950. "type": "string",
  951. "nullable": true
  952. },
  953. "hasAccess": {
  954. "type": "boolean"
  955. },
  956. "id": {
  957. "type": "string"
  958. },
  959. "isBookmarked": {
  960. "type": "boolean"
  961. },
  962. "isMember": {
  963. "type": "boolean"
  964. },
  965. "name": {
  966. "type": "string"
  967. },
  968. "platform": {
  969. "type": "string",
  970. "nullable": true
  971. },
  972. "slug": {
  973. "type": "string"
  974. },
  975. "team": {
  976. "type": "object",
  977. "required": [
  978. "id",
  979. "name",
  980. "slug"
  981. ],
  982. "properties": {
  983. "id": {
  984. "type": "string"
  985. },
  986. "name": {
  987. "type": "string"
  988. },
  989. "slug": {
  990. "type": "string"
  991. }
  992. }
  993. },
  994. "teams": {
  995. "type": "array",
  996. "items": {
  997. "type": "object",
  998. "required": [
  999. "id",
  1000. "name",
  1001. "slug"
  1002. ],
  1003. "properties": {
  1004. "id": {
  1005. "type": "string"
  1006. },
  1007. "name": {
  1008. "type": "string"
  1009. },
  1010. "slug": {
  1011. "type": "string"
  1012. }
  1013. }
  1014. }
  1015. },
  1016. "latestDeploys": {
  1017. "type": "string",
  1018. "nullable": true
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "example": [
  1024. {
  1025. "slug": "the-spoiled-yoghurt",
  1026. "name": "The Spoiled Yoghurt",
  1027. "hasAccess": true,
  1028. "teams": [
  1029. {
  1030. "id": "542609",
  1031. "name": "Powerful Abolitionist",
  1032. "slug": "powerful-abolitionist"
  1033. }
  1034. ],
  1035. "platform": null,
  1036. "firstEvent": null,
  1037. "isMember": false,
  1038. "team": {
  1039. "id": "542609",
  1040. "name": "Powerful Abolitionist",
  1041. "slug": "powerful-abolitionist"
  1042. },
  1043. "dateCreated": "2020-08-20T14:36:34.171255Z",
  1044. "isBookmarked": false,
  1045. "id": "5398494",
  1046. "latestDeploys": null,
  1047. "features": [
  1048. "custom-inbound-filters",
  1049. "discard-groups",
  1050. "rate-limits",
  1051. "data-forwarding",
  1052. "similarity-view",
  1053. "issue-alerts-targeting",
  1054. "servicehooks",
  1055. "minidump",
  1056. "similarity-indexing"
  1057. ]
  1058. }
  1059. ]
  1060. }
  1061. }
  1062. },
  1063. "403": {
  1064. "description": "Forbidden"
  1065. },
  1066. "404": {
  1067. "description": "Team not found"
  1068. }
  1069. },
  1070. "security": [
  1071. {
  1072. "auth_token": [
  1073. "project:read"
  1074. ]
  1075. }
  1076. ]
  1077. },
  1078. "post": {
  1079. "tags": [
  1080. "Teams"
  1081. ],
  1082. "description": "Create a new project bound to a team.",
  1083. "operationId": "Create a New Project",
  1084. "parameters": [
  1085. {
  1086. "name": "organization_slug",
  1087. "in": "path",
  1088. "description": "The slug of the organization the team belongs to.",
  1089. "required": true,
  1090. "schema": {
  1091. "type": "string"
  1092. }
  1093. },
  1094. {
  1095. "name": "team_slug",
  1096. "in": "path",
  1097. "description": "The slug of the team to create a new project for.",
  1098. "required": true,
  1099. "schema": {
  1100. "type": "string"
  1101. }
  1102. }
  1103. ],
  1104. "requestBody": {
  1105. "content": {
  1106. "application/json": {
  1107. "schema": {
  1108. "required": [
  1109. "name"
  1110. ],
  1111. "type": "object",
  1112. "properties": {
  1113. "name": {
  1114. "type": "string",
  1115. "description": "The name for the new project.",
  1116. "example": "The Spoiled Yoghurt"
  1117. },
  1118. "slug": {
  1119. "type": "string",
  1120. "description": "Optionally a slug for the new project. If it’s not provided a slug is generated from the name.",
  1121. "example": "the-spoiled-yoghurt"
  1122. }
  1123. }
  1124. }
  1125. }
  1126. },
  1127. "required": true
  1128. },
  1129. "responses": {
  1130. "201": {
  1131. "description": "Created.",
  1132. "content": {
  1133. "application/json": {
  1134. "schema": {
  1135. "type": "object",
  1136. "required": [
  1137. "avatar",
  1138. "color",
  1139. "dateCreated",
  1140. "features",
  1141. "firstEvent",
  1142. "hasAccess",
  1143. "id",
  1144. "isBookmarked",
  1145. "isInternal",
  1146. "isMember",
  1147. "isPublic",
  1148. "name",
  1149. "platform",
  1150. "slug",
  1151. "status"
  1152. ],
  1153. "properties": {
  1154. "avatar": {
  1155. "type": "object",
  1156. "properties": {
  1157. "avatarType": {
  1158. "type": "string"
  1159. },
  1160. "avatarUuid": {
  1161. "type": "string",
  1162. "nullable": true
  1163. }
  1164. }
  1165. },
  1166. "color": {
  1167. "type": "string"
  1168. },
  1169. "dateCreated": {
  1170. "type": "string",
  1171. "format": "date-time"
  1172. },
  1173. "features": {
  1174. "type": "array",
  1175. "items": {
  1176. "type": "string"
  1177. }
  1178. },
  1179. "firstEvent": {
  1180. "type": "string",
  1181. "nullable": true
  1182. },
  1183. "hasAccess": {
  1184. "type": "boolean"
  1185. },
  1186. "id": {
  1187. "type": "string"
  1188. },
  1189. "isBookmarked": {
  1190. "type": "boolean"
  1191. },
  1192. "isInternal": {
  1193. "type": "boolean"
  1194. },
  1195. "isMember": {
  1196. "type": "boolean"
  1197. },
  1198. "isPublic": {
  1199. "type": "boolean"
  1200. },
  1201. "name": {
  1202. "type": "string"
  1203. },
  1204. "platform": {
  1205. "type": "string",
  1206. "nullable": true
  1207. },
  1208. "slug": {
  1209. "type": "string"
  1210. },
  1211. "status": {
  1212. "type": "string",
  1213. "enum": [
  1214. "active",
  1215. "disabled",
  1216. "pending_deletion",
  1217. "deletion_in_progress"
  1218. ]
  1219. }
  1220. }
  1221. },
  1222. "example": {
  1223. "status": "active",
  1224. "name": "The Spoiled Yoghurt",
  1225. "color": "#bf6e3f",
  1226. "isInternal": false,
  1227. "isPublic": false,
  1228. "slug": "the-spoiled-yoghurt",
  1229. "platform": null,
  1230. "hasAccess": true,
  1231. "firstEvent": null,
  1232. "avatar": {
  1233. "avatarUuid": null,
  1234. "avatarType": "letter_avatar"
  1235. },
  1236. "isMember": false,
  1237. "dateCreated": "2020-08-20T14:36:34.171255Z",
  1238. "isBookmarked": false,
  1239. "id": "5398494",
  1240. "features": [
  1241. "custom-inbound-filters",
  1242. "discard-groups",
  1243. "rate-limits",
  1244. "data-forwarding",
  1245. "similarity-view",
  1246. "issue-alerts-targeting",
  1247. "servicehooks",
  1248. "minidump",
  1249. "similarity-indexing"
  1250. ]
  1251. }
  1252. }
  1253. }
  1254. },
  1255. "400": {
  1256. "description": "Bad input"
  1257. },
  1258. "403": {
  1259. "description": "Forbidden"
  1260. },
  1261. "404": {
  1262. "description": "Team not found"
  1263. },
  1264. "409": {
  1265. "description": "Team already exists"
  1266. }
  1267. },
  1268. "security": [
  1269. {
  1270. "auth_token": [
  1271. "project:write"
  1272. ]
  1273. }
  1274. ]
  1275. }
  1276. },
  1277. "/api/0/teams/{organization_slug}/{team_slug}/stats/": {
  1278. "get": {
  1279. "tags": [
  1280. "Teams"
  1281. ],
  1282. "summary": "Caution\nThis endpoint may change in the future without notice.",
  1283. "description": "Return a set of points representing a normalized timestamp and the number of events seen in the period.\n\nQuery ranges are limited to Sentry’s configured time-series resolutions.",
  1284. "operationId": "Retrieve Event Counts for a Team",
  1285. "parameters": [
  1286. {
  1287. "name": "organization_slug",
  1288. "in": "path",
  1289. "description": "The slug of the organization the team belongs to.",
  1290. "required": true,
  1291. "schema": {
  1292. "type": "string"
  1293. }
  1294. },
  1295. {
  1296. "name": "team_slug",
  1297. "in": "path",
  1298. "description": "The slug of the team to get.",
  1299. "required": true,
  1300. "schema": {
  1301. "type": "string"
  1302. }
  1303. },
  1304. {
  1305. "name": "stat",
  1306. "in": "query",
  1307. "description": "the name of the stat to query `(\"received\", \"rejected\")`",
  1308. "schema": {
  1309. "type": "string",
  1310. "enum": [
  1311. "received",
  1312. "rejected"
  1313. ]
  1314. }
  1315. },
  1316. {
  1317. "name": "since",
  1318. "in": "query",
  1319. "description": "A timestamp to set the start of the query in seconds since UNIX epoch.",
  1320. "schema": {
  1321. "type": "string",
  1322. "format": "date-time"
  1323. }
  1324. },
  1325. {
  1326. "name": "until",
  1327. "in": "query",
  1328. "description": "A timestamp to set the end of the query in seconds since UNIX epoch.",
  1329. "schema": {
  1330. "type": "string",
  1331. "format": "date-time"
  1332. }
  1333. },
  1334. {
  1335. "name": "resolution",
  1336. "in": "query",
  1337. "description": "An explicit resolution to search for (one of `10s`, `1h`, and `1d`).",
  1338. "schema": {
  1339. "type": "string",
  1340. "enum": [
  1341. "10s",
  1342. "1h",
  1343. "1d"
  1344. ]
  1345. }
  1346. }
  1347. ],
  1348. "responses": {
  1349. "200": {
  1350. "description": "Success.",
  1351. "content": {
  1352. "application/json": {
  1353. "schema": {
  1354. "type": "array",
  1355. "items": {
  1356. "type": "array",
  1357. "items": {
  1358. "type": "integer"
  1359. }
  1360. }
  1361. },
  1362. "example": [
  1363. [
  1364. 1541455200,
  1365. 3302
  1366. ],
  1367. [
  1368. 1541458800,
  1369. 3832
  1370. ],
  1371. [
  1372. 1541462400,
  1373. 3669
  1374. ],
  1375. [
  1376. 1541466000,
  1377. 3533
  1378. ],
  1379. [
  1380. 1541469600,
  1381. 3499
  1382. ],
  1383. [
  1384. 1541473200,
  1385. 3201
  1386. ],
  1387. [
  1388. 1541476800,
  1389. 3769
  1390. ],
  1391. [
  1392. 1541480400,
  1393. 2706
  1394. ],
  1395. [
  1396. 1541484000,
  1397. 2698
  1398. ],
  1399. [
  1400. 1541487600,
  1401. 3747
  1402. ],
  1403. [
  1404. 1541491200,
  1405. 3261
  1406. ],
  1407. [
  1408. 1541494800,
  1409. 2860
  1410. ],
  1411. [
  1412. 1541498400,
  1413. 4350
  1414. ],
  1415. [
  1416. 1541502000,
  1417. 2924
  1418. ],
  1419. [
  1420. 1541505600,
  1421. 3389
  1422. ],
  1423. [
  1424. 1541509200,
  1425. 2931
  1426. ],
  1427. [
  1428. 1541512800,
  1429. 3132
  1430. ],
  1431. [
  1432. 1541516400,
  1433. 3213
  1434. ],
  1435. [
  1436. 1541520000,
  1437. 3650
  1438. ],
  1439. [
  1440. 1541523600,
  1441. 3096
  1442. ],
  1443. [
  1444. 1541527200,
  1445. 3845
  1446. ],
  1447. [
  1448. 1541530800,
  1449. 3545
  1450. ],
  1451. [
  1452. 1541534400,
  1453. 2880
  1454. ],
  1455. [
  1456. 1541538000,
  1457. 4057
  1458. ]
  1459. ]
  1460. }
  1461. }
  1462. },
  1463. "403": {
  1464. "description": "Forbidden"
  1465. },
  1466. "404": {
  1467. "description": "Team not found"
  1468. }
  1469. },
  1470. "security": [
  1471. {
  1472. "auth_token": [
  1473. "team:read"
  1474. ]
  1475. }
  1476. ]
  1477. }
  1478. },
  1479. "/api/0/organizations/": {
  1480. "get": {
  1481. "tags": [
  1482. "Organizations"
  1483. ],
  1484. "description": "Return a list of organizations available to the authenticated session. This is particularly useful for requests with an user bound context. For API key based requests this will only return the organization that belongs to the key.",
  1485. "operationId": "List your Organizations",
  1486. "parameters": [
  1487. {
  1488. "name": "owner",
  1489. "in": "query",
  1490. "description": "restrict results to organizations in which you are an organization owner",
  1491. "schema": {
  1492. "type": "boolean"
  1493. }
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "Success.",
  1499. "content": {
  1500. "application/json": {
  1501. "schema": {
  1502. "type": "array",
  1503. "items": {
  1504. "type": "object",
  1505. "required": [
  1506. "avatar",
  1507. "dateCreated",
  1508. "id",
  1509. "isEarlyAdopter",
  1510. "name",
  1511. "require2FA",
  1512. "slug",
  1513. "status"
  1514. ],
  1515. "properties": {
  1516. "avatar": {
  1517. "type": "object",
  1518. "properties": {
  1519. "avatarType": {
  1520. "type": "string"
  1521. },
  1522. "avatarUuid": {
  1523. "type": "string",
  1524. "nullable": true
  1525. }
  1526. }
  1527. },
  1528. "dateCreated": {
  1529. "type": "string",
  1530. "format": "date-time"
  1531. },
  1532. "id": {
  1533. "type": "string"
  1534. },
  1535. "isEarlyAdopter": {
  1536. "type": "boolean"
  1537. },
  1538. "name": {
  1539. "type": "string"
  1540. },
  1541. "require2FA": {
  1542. "type": "boolean"
  1543. },
  1544. "slug": {
  1545. "type": "string"
  1546. },
  1547. "status": {
  1548. "type": "object",
  1549. "required": [
  1550. "id",
  1551. "name"
  1552. ],
  1553. "properties": {
  1554. "id": {
  1555. "type": "string"
  1556. },
  1557. "name": {
  1558. "type": "string"
  1559. }
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "example": [
  1566. {
  1567. "avatar": {
  1568. "avatarType": "letter_avatar",
  1569. "avatarUuid": null
  1570. },
  1571. "dateCreated": "2018-11-06T21:19:55.101Z",
  1572. "id": "2",
  1573. "isEarlyAdopter": false,
  1574. "name": "The Interstellar Jurisdiction",
  1575. "require2FA": false,
  1576. "slug": "the-interstellar-jurisdiction",
  1577. "status": {
  1578. "id": "active",
  1579. "name": "active"
  1580. }
  1581. }
  1582. ]
  1583. }
  1584. }
  1585. },
  1586. "403": {
  1587. "description": "Forbidden"
  1588. }
  1589. },
  1590. "security": [
  1591. {
  1592. "auth_token": [
  1593. "org: read"
  1594. ]
  1595. }
  1596. ]
  1597. }
  1598. },
  1599. "/api/0/organizations/{organization_slug}/eventids/{event_id}/": {
  1600. "get": {
  1601. "tags": [
  1602. "Organizations"
  1603. ],
  1604. "description": "This resolves an event ID to the project slug and internal issue ID and internal event ID.",
  1605. "operationId": "Resolve an Event ID",
  1606. "parameters": [
  1607. {
  1608. "name": "organization_slug",
  1609. "in": "path",
  1610. "description": "the slug of the organization the event ID should be looked up in.",
  1611. "required": true,
  1612. "schema": {
  1613. "type": "string"
  1614. }
  1615. },
  1616. {
  1617. "name": "event_id",
  1618. "in": "path",
  1619. "description": "the event ID to look up.",
  1620. "required": true,
  1621. "schema": {
  1622. "type": "string"
  1623. }
  1624. }
  1625. ],
  1626. "responses": {
  1627. "200": {
  1628. "description": "Success.",
  1629. "content": {
  1630. "application/json": {
  1631. "schema": {
  1632. "type": "object",
  1633. "required": [
  1634. "event",
  1635. "eventId",
  1636. "groupId",
  1637. "organizationSlug",
  1638. "projectSlug"
  1639. ],
  1640. "properties": {
  1641. "event": {
  1642. "type": "object"
  1643. },
  1644. "eventId": {
  1645. "type": "string"
  1646. },
  1647. "groupId": {
  1648. "type": "string"
  1649. },
  1650. "organizationSlug": {
  1651. "type": "string"
  1652. },
  1653. "projectSlug": {
  1654. "type": "string"
  1655. }
  1656. }
  1657. },
  1658. "example": {
  1659. "eventId": "1",
  1660. "groupId": "1",
  1661. "organizationSlug": "the-interstellar-jurisdiction",
  1662. "projectSlug": "pump-station",
  1663. "event": {}
  1664. }
  1665. }
  1666. }
  1667. },
  1668. "403": {
  1669. "description": "Forbidden"
  1670. }
  1671. },
  1672. "security": [
  1673. {
  1674. "auth_token": [
  1675. "org: read"
  1676. ]
  1677. }
  1678. ]
  1679. }
  1680. },
  1681. "/api/0/organizations/{organization_slug}/": {
  1682. "get": {
  1683. "tags": [
  1684. "Organizations"
  1685. ],
  1686. "description": "Return details on an individual organization including various details such as membership access, features, and teams.",
  1687. "operationId": "Retrieve an Organization",
  1688. "parameters": [
  1689. {
  1690. "name": "organization_slug",
  1691. "in": "path",
  1692. "description": "the slug of the organization to look up.",
  1693. "required": true,
  1694. "schema": {
  1695. "type": "string"
  1696. }
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "Success.",
  1702. "content": {
  1703. "application/json": {
  1704. "schema": {
  1705. "type": "object",
  1706. "required": [
  1707. "access",
  1708. "allowSharedIssues",
  1709. "availableRoles",
  1710. "avatar",
  1711. "dataScrubber",
  1712. "dataScrubberDefaults",
  1713. "dateCreated",
  1714. "defaultRole",
  1715. "enhancedPrivacy",
  1716. "experiments",
  1717. "features",
  1718. "id",
  1719. "isDefault",
  1720. "isEarlyAdopter",
  1721. "name",
  1722. "onboardingTasks",
  1723. "openMembership",
  1724. "pendingAccessRequests",
  1725. "projects",
  1726. "quota",
  1727. "require2FA",
  1728. "safeFields",
  1729. "scrapeJavaScript",
  1730. "scrubIPAddresses",
  1731. "sensitiveFields",
  1732. "slug",
  1733. "status",
  1734. "storeCrashReports",
  1735. "teams",
  1736. "trustedRelays"
  1737. ],
  1738. "properties": {
  1739. "access": {
  1740. "type": "array",
  1741. "items": {
  1742. "type": "string"
  1743. }
  1744. },
  1745. "allowSharedIssues": {
  1746. "type": "boolean"
  1747. },
  1748. "availableRoles": {
  1749. "type": "array",
  1750. "items": {
  1751. "type": "object",
  1752. "properties": {
  1753. "id": {
  1754. "type": "string"
  1755. },
  1756. "name": {
  1757. "type": "string"
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "avatar": {
  1763. "type": "object",
  1764. "properties": {
  1765. "avatarType": {
  1766. "type": "string"
  1767. },
  1768. "avatarUuid": {
  1769. "type": "string",
  1770. "nullable": true
  1771. }
  1772. }
  1773. },
  1774. "dataScrubber": {
  1775. "type": "boolean"
  1776. },
  1777. "dataScrubberDefaults": {
  1778. "type": "boolean"
  1779. },
  1780. "dateCreated": {
  1781. "type": "string",
  1782. "format": "date-time"
  1783. },
  1784. "defaultRole": {
  1785. "type": "string"
  1786. },
  1787. "enhancedPrivacy": {
  1788. "type": "boolean"
  1789. },
  1790. "experiments": {
  1791. "type": "object"
  1792. },
  1793. "features": {
  1794. "type": "array",
  1795. "items": {
  1796. "type": "string"
  1797. }
  1798. },
  1799. "id": {
  1800. "type": "string"
  1801. },
  1802. "isDefault": {
  1803. "type": "boolean"
  1804. },
  1805. "isEarlyAdopter": {
  1806. "type": "boolean"
  1807. },
  1808. "name": {
  1809. "type": "string"
  1810. },
  1811. "onboardingTasks": {
  1812. "type": "array",
  1813. "items": {
  1814. "type": "object"
  1815. }
  1816. },
  1817. "openMembership": {
  1818. "type": "boolean"
  1819. },
  1820. "pendingAccessRequests": {
  1821. "type": "integer",
  1822. "format": "int64"
  1823. },
  1824. "projects": {
  1825. "type": "array",
  1826. "items": {
  1827. "type": "object",
  1828. "required": [
  1829. "dateCreated",
  1830. "firstEvent",
  1831. "hasAccess",
  1832. "id",
  1833. "isBookmarked",
  1834. "isMember",
  1835. "latestDeploys",
  1836. "name",
  1837. "platform",
  1838. "platforms",
  1839. "slug",
  1840. "team",
  1841. "teams"
  1842. ],
  1843. "properties": {
  1844. "dateCreated": {
  1845. "type": "string"
  1846. },
  1847. "firstEvent": {
  1848. "type": "string",
  1849. "nullable": true
  1850. },
  1851. "hasAccess": {
  1852. "type": "boolean"
  1853. },
  1854. "id": {
  1855. "type": "string"
  1856. },
  1857. "isBookmarked": {
  1858. "type": "boolean"
  1859. },
  1860. "isMember": {
  1861. "type": "boolean"
  1862. },
  1863. "latestDeploys": {
  1864. "type": "string",
  1865. "nullable": true
  1866. },
  1867. "name": {
  1868. "type": "string"
  1869. },
  1870. "platform": {
  1871. "type": "string",
  1872. "nullable": true
  1873. },
  1874. "platforms": {
  1875. "type": "array",
  1876. "items": {
  1877. "type": "string"
  1878. }
  1879. },
  1880. "slug": {
  1881. "type": "string"
  1882. },
  1883. "team": {
  1884. "type": "object",
  1885. "required": [
  1886. "id",
  1887. "name",
  1888. "slug"
  1889. ],
  1890. "properties": {
  1891. "id": {
  1892. "type": "string"
  1893. },
  1894. "name": {
  1895. "type": "string"
  1896. },
  1897. "slug": {
  1898. "type": "string"
  1899. }
  1900. }
  1901. },
  1902. "teams": {
  1903. "type": "array",
  1904. "items": {
  1905. "type": "object",
  1906. "required": [
  1907. "id",
  1908. "name",
  1909. "slug"
  1910. ],
  1911. "properties": {
  1912. "id": {
  1913. "type": "string"
  1914. },
  1915. "name": {
  1916. "type": "string"
  1917. },
  1918. "slug": {
  1919. "type": "string"
  1920. }
  1921. }
  1922. }
  1923. }
  1924. }
  1925. }
  1926. },
  1927. "quota": {
  1928. "type": "object"
  1929. },
  1930. "require2FA": {
  1931. "type": "boolean"
  1932. },
  1933. "safeFields": {
  1934. "type": "array",
  1935. "items": {
  1936. "type": "string"
  1937. }
  1938. },
  1939. "scrapeJavaScript": {
  1940. "type": "boolean"
  1941. },
  1942. "scrubIPAddresses": {
  1943. "type": "boolean"
  1944. },
  1945. "sensitiveFields": {
  1946. "type": "array",
  1947. "items": {
  1948. "type": "string"
  1949. }
  1950. },
  1951. "slug": {
  1952. "type": "string"
  1953. },
  1954. "status": {
  1955. "type": "object",
  1956. "properties": {
  1957. "id": {
  1958. "type": "string"
  1959. },
  1960. "name": {
  1961. "type": "string"
  1962. }
  1963. }
  1964. },
  1965. "storeCrashReports": {
  1966. "type": "integer",
  1967. "format": "int64"
  1968. },
  1969. "teams": {
  1970. "type": "array",
  1971. "items": {
  1972. "type": "object",
  1973. "required": [
  1974. "avatar",
  1975. "dateCreated",
  1976. "hasAccess",
  1977. "id",
  1978. "isMember",
  1979. "isPending",
  1980. "memberCount",
  1981. "name",
  1982. "slug"
  1983. ],
  1984. "properties": {
  1985. "avatar": {
  1986. "type": "object",
  1987. "properties": {
  1988. "avatarType": {
  1989. "type": "string"
  1990. },
  1991. "avatarUuid": {
  1992. "type": "string",
  1993. "nullable": true
  1994. }
  1995. }
  1996. },
  1997. "dateCreated": {
  1998. "type": "string",
  1999. "format": "date-time"
  2000. },
  2001. "hasAccess": {
  2002. "type": "boolean"
  2003. },
  2004. "id": {
  2005. "type": "string"
  2006. },
  2007. "isMember": {
  2008. "type": "boolean"
  2009. },
  2010. "isPending": {
  2011. "type": "boolean"
  2012. },
  2013. "memberCount": {
  2014. "type": "integer",
  2015. "format": "int64"
  2016. },
  2017. "name": {
  2018. "type": "string"
  2019. },
  2020. "slug": {
  2021. "type": "string"
  2022. }
  2023. }
  2024. }
  2025. },
  2026. "trustedRelays": {
  2027. "type": "array",
  2028. "items": {
  2029. "type": "string"
  2030. }
  2031. }
  2032. }
  2033. },
  2034. "example": {
  2035. "access": [],
  2036. "allowSharedIssues": true,
  2037. "availableRoles": [
  2038. {
  2039. "id": "member",
  2040. "name": "Member"
  2041. },
  2042. {
  2043. "id": "admin",
  2044. "name": "Admin"
  2045. },
  2046. {
  2047. "id": "manager",
  2048. "name": "Manager"
  2049. },
  2050. {
  2051. "id": "owner",
  2052. "name": "Owner"
  2053. }
  2054. ],
  2055. "avatar": {
  2056. "avatarType": "letter_avatar",
  2057. "avatarUuid": null
  2058. },
  2059. "dataScrubber": false,
  2060. "dataScrubberDefaults": false,
  2061. "dateCreated": "2018-11-06T21:19:55.101Z",
  2062. "defaultRole": "member",
  2063. "enhancedPrivacy": false,
  2064. "experiments": {},
  2065. "features": [
  2066. "new-teams",
  2067. "shared-issues",
  2068. "new-issue-ui",
  2069. "repos",
  2070. "open-membership",
  2071. "invite-members",
  2072. "sso-saml2",
  2073. "sso-basic",
  2074. "suggested-commits"
  2075. ],
  2076. "id": "2",
  2077. "isDefault": false,
  2078. "isEarlyAdopter": false,
  2079. "name": "The Interstellar Jurisdiction",
  2080. "onboardingTasks": [
  2081. {
  2082. "data": {},
  2083. "dateCompleted": "2018-11-06T21:20:08.089Z",
  2084. "status": "complete",
  2085. "task": 1,
  2086. "user": ""
  2087. }
  2088. ],
  2089. "openMembership": true,
  2090. "pendingAccessRequests": 0,
  2091. "projects": [
  2092. {
  2093. "dateCreated": "2018-11-06T21:19:58.536Z",
  2094. "firstEvent": null,
  2095. "hasAccess": true,
  2096. "id": "3",
  2097. "isBookmarked": false,
  2098. "isMember": true,
  2099. "latestDeploys": null,
  2100. "name": "Prime Mover",
  2101. "platform": null,
  2102. "platforms": [],
  2103. "slug": "prime-mover",
  2104. "team": {
  2105. "id": "2",
  2106. "name": "Powerful Abolitionist",
  2107. "slug": "powerful-abolitionist"
  2108. },
  2109. "teams": [
  2110. {
  2111. "id": "2",
  2112. "name": "Powerful Abolitionist",
  2113. "slug": "powerful-abolitionist"
  2114. }
  2115. ]
  2116. },
  2117. {
  2118. "dateCreated": "2018-11-06T21:19:55.121Z",
  2119. "firstEvent": null,
  2120. "hasAccess": true,
  2121. "id": "2",
  2122. "isBookmarked": false,
  2123. "isMember": true,
  2124. "latestDeploys": null,
  2125. "name": "Pump Station",
  2126. "platform": null,
  2127. "platforms": [],
  2128. "slug": "pump-station",
  2129. "team": {
  2130. "id": "2",
  2131. "name": "Powerful Abolitionist",
  2132. "slug": "powerful-abolitionist"
  2133. },
  2134. "teams": [
  2135. {
  2136. "id": "2",
  2137. "name": "Powerful Abolitionist",
  2138. "slug": "powerful-abolitionist"
  2139. }
  2140. ]
  2141. },
  2142. {
  2143. "dateCreated": "2018-11-06T21:20:08.064Z",
  2144. "firstEvent": null,
  2145. "hasAccess": true,
  2146. "id": "4",
  2147. "isBookmarked": false,
  2148. "isMember": true,
  2149. "latestDeploys": null,
  2150. "name": "The Spoiled Yoghurt",
  2151. "platform": null,
  2152. "platforms": [],
  2153. "slug": "the-spoiled-yoghurt",
  2154. "team": {
  2155. "id": "2",
  2156. "name": "Powerful Abolitionist",
  2157. "slug": "powerful-abolitionist"
  2158. },
  2159. "teams": [
  2160. {
  2161. "id": "2",
  2162. "name": "Powerful Abolitionist",
  2163. "slug": "powerful-abolitionist"
  2164. }
  2165. ]
  2166. }
  2167. ],
  2168. "quota": {
  2169. "accountLimit": 0,
  2170. "maxRate": 0,
  2171. "maxRateInterval": 60,
  2172. "projectLimit": 100
  2173. },
  2174. "require2FA": false,
  2175. "safeFields": [],
  2176. "scrapeJavaScript": true,
  2177. "scrubIPAddresses": false,
  2178. "sensitiveFields": [],
  2179. "slug": "the-interstellar-jurisdiction",
  2180. "status": {
  2181. "id": "active",
  2182. "name": "active"
  2183. },
  2184. "storeCrashReports": 0,
  2185. "teams": [
  2186. {
  2187. "avatar": {
  2188. "avatarType": "letter_avatar",
  2189. "avatarUuid": null
  2190. },
  2191. "dateCreated": "2018-11-06T21:20:08.115Z",
  2192. "hasAccess": true,
  2193. "id": "3",
  2194. "isMember": true,
  2195. "isPending": false,
  2196. "memberCount": 1,
  2197. "name": "Ancient Gabelers",
  2198. "slug": "ancient-gabelers"
  2199. },
  2200. {
  2201. "avatar": {
  2202. "avatarType": "letter_avatar",
  2203. "avatarUuid": null
  2204. },
  2205. "dateCreated": "2018-11-06T21:19:55.114Z",
  2206. "hasAccess": true,
  2207. "id": "2",
  2208. "isMember": true,
  2209. "isPending": false,
  2210. "memberCount": 1,
  2211. "name": "Powerful Abolitionist",
  2212. "slug": "powerful-abolitionist"
  2213. }
  2214. ],
  2215. "trustedRelays": []
  2216. }
  2217. }
  2218. }
  2219. },
  2220. "403": {
  2221. "description": "Forbidden"
  2222. },
  2223. "404": {
  2224. "description": "The requested resource does not exist"
  2225. }
  2226. },
  2227. "security": [
  2228. {
  2229. "auth_token": [
  2230. "org: read"
  2231. ]
  2232. }
  2233. ]
  2234. },
  2235. "put": {
  2236. "tags": [
  2237. "Organizations"
  2238. ],
  2239. "description": "Update various attributes and configurable settings for the given organization.",
  2240. "operationId": "Update an Organization",
  2241. "parameters": [
  2242. {
  2243. "name": "organization_slug",
  2244. "in": "path",
  2245. "description": "The slug of the organization to update.",
  2246. "required": true,
  2247. "schema": {
  2248. "type": "string"
  2249. }
  2250. }
  2251. ],
  2252. "requestBody": {
  2253. "content": {
  2254. "application/json": {
  2255. "schema": {
  2256. "required": [
  2257. "name"
  2258. ],
  2259. "type": "object",
  2260. "properties": {
  2261. "name": {
  2262. "type": "string",
  2263. "description": "an optional new name for the organization.",
  2264. "example": "Impeccably Designated"
  2265. },
  2266. "slug": {
  2267. "type": "string",
  2268. "description": "an optional new slug for the organization. Needs to be available and unique.",
  2269. "example": "impeccably-designated"
  2270. }
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "required": false
  2276. },
  2277. "responses": {
  2278. "200": {
  2279. "description": "Success.",
  2280. "content": {
  2281. "application/json": {
  2282. "schema": {
  2283. "type": "object",
  2284. "required": [
  2285. "access",
  2286. "allowSharedIssues",
  2287. "availableRoles",
  2288. "avatar",
  2289. "dataScrubber",
  2290. "dataScrubberDefaults",
  2291. "dateCreated",
  2292. "defaultRole",
  2293. "enhancedPrivacy",
  2294. "experiments",
  2295. "features",
  2296. "id",
  2297. "isDefault",
  2298. "isEarlyAdopter",
  2299. "name",
  2300. "onboardingTasks",
  2301. "openMembership",
  2302. "pendingAccessRequests",
  2303. "projects",
  2304. "quota",
  2305. "require2FA",
  2306. "safeFields",
  2307. "scrapeJavaScript",
  2308. "scrubIPAddresses",
  2309. "sensitiveFields",
  2310. "slug",
  2311. "status",
  2312. "storeCrashReports",
  2313. "teams",
  2314. "trustedRelays"
  2315. ],
  2316. "properties": {
  2317. "access": {
  2318. "type": "array",
  2319. "items": {
  2320. "type": "string"
  2321. }
  2322. },
  2323. "allowSharedIssues": {
  2324. "type": "boolean"
  2325. },
  2326. "availableRoles": {
  2327. "type": "array",
  2328. "items": {
  2329. "type": "object",
  2330. "properties": {
  2331. "id": {
  2332. "type": "string"
  2333. },
  2334. "name": {
  2335. "type": "string"
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "avatar": {
  2341. "type": "object",
  2342. "properties": {
  2343. "avatarType": {
  2344. "type": "string"
  2345. },
  2346. "avatarUuid": {
  2347. "type": "string",
  2348. "nullable": true
  2349. }
  2350. }
  2351. },
  2352. "dataScrubber": {
  2353. "type": "boolean"
  2354. },
  2355. "dataScrubberDefaults": {
  2356. "type": "boolean"
  2357. },
  2358. "dateCreated": {
  2359. "type": "string",
  2360. "format": "date-time"
  2361. },
  2362. "defaultRole": {
  2363. "type": "string"
  2364. },
  2365. "enhancedPrivacy": {
  2366. "type": "boolean"
  2367. },
  2368. "experiments": {
  2369. "type": "object"
  2370. },
  2371. "features": {
  2372. "type": "array",
  2373. "items": {
  2374. "type": "string"
  2375. }
  2376. },
  2377. "id": {
  2378. "type": "string"
  2379. },
  2380. "isDefault": {
  2381. "type": "boolean"
  2382. },
  2383. "isEarlyAdopter": {
  2384. "type": "boolean"
  2385. },
  2386. "name": {
  2387. "type": "string"
  2388. },
  2389. "onboardingTasks": {
  2390. "type": "array",
  2391. "items": {
  2392. "type": "object"
  2393. }
  2394. },
  2395. "openMembership": {
  2396. "type": "boolean"
  2397. },
  2398. "pendingAccessRequests": {
  2399. "type": "integer",
  2400. "format": "int64"
  2401. },
  2402. "projects": {
  2403. "type": "array",
  2404. "items": {
  2405. "type": "object",
  2406. "required": [
  2407. "dateCreated",
  2408. "firstEvent",
  2409. "hasAccess",
  2410. "id",
  2411. "isBookmarked",
  2412. "isMember",
  2413. "latestDeploys",
  2414. "name",
  2415. "platform",
  2416. "platforms",
  2417. "slug",
  2418. "team",
  2419. "teams"
  2420. ],
  2421. "properties": {
  2422. "dateCreated": {
  2423. "type": "string"
  2424. },
  2425. "firstEvent": {
  2426. "type": "string",
  2427. "nullable": true
  2428. },
  2429. "hasAccess": {
  2430. "type": "boolean"
  2431. },
  2432. "id": {
  2433. "type": "string"
  2434. },
  2435. "isBookmarked": {
  2436. "type": "boolean"
  2437. },
  2438. "isMember": {
  2439. "type": "boolean"
  2440. },
  2441. "latestDeploys": {
  2442. "type": "string",
  2443. "nullable": true
  2444. },
  2445. "name": {
  2446. "type": "string"
  2447. },
  2448. "platform": {
  2449. "type": "string",
  2450. "nullable": true
  2451. },
  2452. "platforms": {
  2453. "type": "array",
  2454. "items": {
  2455. "type": "string"
  2456. }
  2457. },
  2458. "slug": {
  2459. "type": "string"
  2460. },
  2461. "team": {
  2462. "type": "object",
  2463. "required": [
  2464. "id",
  2465. "name",
  2466. "slug"
  2467. ],
  2468. "properties": {
  2469. "id": {
  2470. "type": "string"
  2471. },
  2472. "name": {
  2473. "type": "string"
  2474. },
  2475. "slug": {
  2476. "type": "string"
  2477. }
  2478. }
  2479. },
  2480. "teams": {
  2481. "type": "array",
  2482. "items": {
  2483. "type": "object",
  2484. "required": [
  2485. "id",
  2486. "name",
  2487. "slug"
  2488. ],
  2489. "properties": {
  2490. "id": {
  2491. "type": "string"
  2492. },
  2493. "name": {
  2494. "type": "string"
  2495. },
  2496. "slug": {
  2497. "type": "string"
  2498. }
  2499. }
  2500. }
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "quota": {
  2506. "type": "object"
  2507. },
  2508. "require2FA": {
  2509. "type": "boolean"
  2510. },
  2511. "safeFields": {
  2512. "type": "array",
  2513. "items": {
  2514. "type": "string"
  2515. }
  2516. },
  2517. "scrapeJavaScript": {
  2518. "type": "boolean"
  2519. },
  2520. "scrubIPAddresses": {
  2521. "type": "boolean"
  2522. },
  2523. "sensitiveFields": {
  2524. "type": "array",
  2525. "items": {
  2526. "type": "string"
  2527. }
  2528. },
  2529. "slug": {
  2530. "type": "string"
  2531. },
  2532. "status": {
  2533. "type": "object",
  2534. "properties": {
  2535. "id": {
  2536. "type": "string"
  2537. },
  2538. "name": {
  2539. "type": "string"
  2540. }
  2541. }
  2542. },
  2543. "storeCrashReports": {
  2544. "type": "integer",
  2545. "format": "int64"
  2546. },
  2547. "teams": {
  2548. "type": "array",
  2549. "items": {
  2550. "type": "object",
  2551. "required": [
  2552. "avatar",
  2553. "dateCreated",
  2554. "hasAccess",
  2555. "id",
  2556. "isMember",
  2557. "isPending",
  2558. "memberCount",
  2559. "name",
  2560. "slug"
  2561. ],
  2562. "properties": {
  2563. "avatar": {
  2564. "type": "object",
  2565. "properties": {
  2566. "avatarType": {
  2567. "type": "string"
  2568. },
  2569. "avatarUuid": {
  2570. "type": "string",
  2571. "nullable": true
  2572. }
  2573. }
  2574. },
  2575. "dateCreated": {
  2576. "type": "string",
  2577. "format": "date-time"
  2578. },
  2579. "hasAccess": {
  2580. "type": "boolean"
  2581. },
  2582. "id": {
  2583. "type": "string"
  2584. },
  2585. "isMember": {
  2586. "type": "boolean"
  2587. },
  2588. "isPending": {
  2589. "type": "boolean"
  2590. },
  2591. "memberCount": {
  2592. "type": "integer",
  2593. "format": "int64"
  2594. },
  2595. "name": {
  2596. "type": "string"
  2597. },
  2598. "slug": {
  2599. "type": "string"
  2600. }
  2601. }
  2602. }
  2603. },
  2604. "trustedRelays": {
  2605. "type": "array",
  2606. "items": {
  2607. "type": "string"
  2608. }
  2609. }
  2610. }
  2611. },
  2612. "example": {
  2613. "access": [],
  2614. "allowSharedIssues": true,
  2615. "availableRoles": [
  2616. {
  2617. "id": "member",
  2618. "name": "Member"
  2619. },
  2620. {
  2621. "id": "admin",
  2622. "name": "Admin"
  2623. },
  2624. {
  2625. "id": "manager",
  2626. "name": "Manager"
  2627. },
  2628. {
  2629. "id": "owner",
  2630. "name": "Owner"
  2631. }
  2632. ],
  2633. "avatar": {
  2634. "avatarType": "letter_avatar",
  2635. "avatarUuid": null
  2636. },
  2637. "dataScrubber": false,
  2638. "dataScrubberDefaults": false,
  2639. "dateCreated": "2018-11-06T21:20:19.548Z",
  2640. "defaultRole": "member",
  2641. "enhancedPrivacy": false,
  2642. "experiments": {},
  2643. "features": [
  2644. "new-teams",
  2645. "shared-issues",
  2646. "new-issue-ui",
  2647. "repos",
  2648. "open-membership",
  2649. "invite-members",
  2650. "sso-saml2",
  2651. "sso-basic",
  2652. "suggested-commits"
  2653. ],
  2654. "id": "3",
  2655. "isDefault": false,
  2656. "isEarlyAdopter": false,
  2657. "name": "Impeccably Designated",
  2658. "onboardingTasks": [],
  2659. "openMembership": true,
  2660. "pendingAccessRequests": 0,
  2661. "projects": [],
  2662. "quota": {
  2663. "accountLimit": 0,
  2664. "maxRate": 0,
  2665. "maxRateInterval": 60,
  2666. "projectLimit": 100
  2667. },
  2668. "require2FA": false,
  2669. "safeFields": [],
  2670. "scrapeJavaScript": true,
  2671. "scrubIPAddresses": false,
  2672. "sensitiveFields": [],
  2673. "slug": "impeccably-designated",
  2674. "status": {
  2675. "id": "active",
  2676. "name": "active"
  2677. },
  2678. "storeCrashReports": 0,
  2679. "teams": [],
  2680. "trustedRelays": []
  2681. }
  2682. }
  2683. }
  2684. },
  2685. "403": {
  2686. "description": "Forbidden"
  2687. },
  2688. "404": {
  2689. "description": "The requested resource does not exist"
  2690. }
  2691. },
  2692. "security": [
  2693. {
  2694. "auth_token": [
  2695. "org:write"
  2696. ]
  2697. }
  2698. ]
  2699. }
  2700. },
  2701. "/api/0/organizations/{organization_slug}/projects/": {
  2702. "get": {
  2703. "tags": [
  2704. "Organizations"
  2705. ],
  2706. "description": "Return a list of projects bound to a organization.",
  2707. "operationId": "List an Organization's Projects",
  2708. "parameters": [
  2709. {
  2710. "name": "organization_slug",
  2711. "in": "path",
  2712. "description": "the slug of the organization for which the projects should be listed.",
  2713. "required": true,
  2714. "schema": {
  2715. "type": "string"
  2716. }
  2717. }
  2718. ],
  2719. "responses": {
  2720. "200": {
  2721. "description": "Success.",
  2722. "content": {
  2723. "application/json": {
  2724. "schema": {
  2725. "type": "array",
  2726. "items": {
  2727. "type": "object",
  2728. "required": [
  2729. "dateCreated",
  2730. "firstEvent",
  2731. "hasAccess",
  2732. "id",
  2733. "isBookmarked",
  2734. "isMember",
  2735. "latestDeploys",
  2736. "name",
  2737. "platform",
  2738. "platforms",
  2739. "slug",
  2740. "team",
  2741. "teams"
  2742. ],
  2743. "properties": {
  2744. "dateCreated": {
  2745. "type": "string"
  2746. },
  2747. "firstEvent": {
  2748. "type": "string",
  2749. "nullable": true
  2750. },
  2751. "hasAccess": {
  2752. "type": "boolean"
  2753. },
  2754. "id": {
  2755. "type": "string"
  2756. },
  2757. "isBookmarked": {
  2758. "type": "boolean"
  2759. },
  2760. "isMember": {
  2761. "type": "boolean"
  2762. },
  2763. "latestDeploys": {
  2764. "type": "string",
  2765. "nullable": true
  2766. },
  2767. "name": {
  2768. "type": "string"
  2769. },
  2770. "platform": {
  2771. "type": "string",
  2772. "nullable": true
  2773. },
  2774. "platforms": {
  2775. "type": "array",
  2776. "items": {
  2777. "type": "string"
  2778. }
  2779. },
  2780. "slug": {
  2781. "type": "string"
  2782. },
  2783. "team": {
  2784. "type": "object",
  2785. "required": [
  2786. "id",
  2787. "name",
  2788. "slug"
  2789. ],
  2790. "properties": {
  2791. "id": {
  2792. "type": "string"
  2793. },
  2794. "name": {
  2795. "type": "string"
  2796. },
  2797. "slug": {
  2798. "type": "string"
  2799. }
  2800. }
  2801. },
  2802. "teams": {
  2803. "type": "array",
  2804. "items": {
  2805. "type": "object",
  2806. "required": [
  2807. "id",
  2808. "name",
  2809. "slug"
  2810. ],
  2811. "properties": {
  2812. "id": {
  2813. "type": "string"
  2814. },
  2815. "name": {
  2816. "type": "string"
  2817. },
  2818. "slug": {
  2819. "type": "string"
  2820. }
  2821. }
  2822. }
  2823. }
  2824. }
  2825. }
  2826. },
  2827. "example": [
  2828. {
  2829. "dateCreated": "2018-11-06T21:19:58.536Z",
  2830. "firstEvent": null,
  2831. "hasAccess": true,
  2832. "id": "3",
  2833. "isBookmarked": false,
  2834. "isMember": true,
  2835. "latestDeploys": null,
  2836. "name": "Prime Mover",
  2837. "platform": null,
  2838. "platforms": [],
  2839. "slug": "prime-mover",
  2840. "team": {
  2841. "id": "2",
  2842. "name": "Powerful Abolitionist",
  2843. "slug": "powerful-abolitionist"
  2844. },
  2845. "teams": [
  2846. {
  2847. "id": "2",
  2848. "name": "Powerful Abolitionist",
  2849. "slug": "powerful-abolitionist"
  2850. }
  2851. ]
  2852. }
  2853. ]
  2854. }
  2855. }
  2856. },
  2857. "403": {
  2858. "description": "Forbidden"
  2859. }
  2860. },
  2861. "security": [
  2862. {
  2863. "auth_token": [
  2864. "org: read"
  2865. ]
  2866. }
  2867. ]
  2868. }
  2869. },
  2870. "/api/0/organizations/{organization_slug}/repos/": {
  2871. "get": {
  2872. "tags": [
  2873. "Organizations"
  2874. ],
  2875. "description": "Return a list of version control repositories for a given organization.",
  2876. "operationId": "List an Organization's Repositories",
  2877. "parameters": [
  2878. {
  2879. "name": "organization_slug",
  2880. "in": "path",
  2881. "description": "the organization short name",
  2882. "required": true,
  2883. "schema": {
  2884. "type": "string"
  2885. }
  2886. }
  2887. ],
  2888. "responses": {
  2889. "200": {
  2890. "description": "Success.",
  2891. "content": {
  2892. "application/json": {
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "type": "object",
  2897. "required": [
  2898. "dateCreated",
  2899. "id",
  2900. "name"
  2901. ],
  2902. "properties": {
  2903. "dateCreated": {
  2904. "type": "string"
  2905. },
  2906. "id": {
  2907. "type": "string"
  2908. },
  2909. "name": {
  2910. "type": "string"
  2911. }
  2912. }
  2913. }
  2914. },
  2915. "example": [
  2916. {
  2917. "dateCreated": "2018-11-06T21:19:58.536Z",
  2918. "id": "3",
  2919. "name": "sentry/sentry"
  2920. }
  2921. ]
  2922. }
  2923. }
  2924. },
  2925. "403": {
  2926. "description": "Forbidden"
  2927. }
  2928. },
  2929. "security": [
  2930. {
  2931. "auth_token": [
  2932. "org: read"
  2933. ]
  2934. }
  2935. ]
  2936. }
  2937. },
  2938. "/api/0/organizations/{organization_slug}/repos/{repo_id}/commits/": {
  2939. "get": {
  2940. "tags": [
  2941. "Organizations"
  2942. ],
  2943. "description": "Return a list of commits for a given repository.",
  2944. "operationId": "List a Repository's Commits",
  2945. "parameters": [
  2946. {
  2947. "name": "organization_slug",
  2948. "in": "path",
  2949. "description": "the organization short name",
  2950. "required": true,
  2951. "schema": {
  2952. "type": "string"
  2953. }
  2954. },
  2955. {
  2956. "name": "repo_id",
  2957. "in": "path",
  2958. "description": "the repository ID",
  2959. "required": true,
  2960. "schema": {
  2961. "type": "string"
  2962. }
  2963. }
  2964. ],
  2965. "responses": {
  2966. "200": {
  2967. "description": "Success.",
  2968. "content": {
  2969. "application/json": {
  2970. "schema": {
  2971. "type": "array",
  2972. "items": {
  2973. "type": "object",
  2974. "required": [
  2975. "dateCreated",
  2976. "id",
  2977. "message"
  2978. ],
  2979. "properties": {
  2980. "dateCreated": {
  2981. "type": "string",
  2982. "format": "date-time"
  2983. },
  2984. "id": {
  2985. "type": "string"
  2986. },
  2987. "message": {
  2988. "type": "string"
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "example": [
  2994. {
  2995. "dateCreated": "2018-11-06T21:19:58.536Z",
  2996. "id": "acbafc639127fd89d10f474520104517ff1d709e",
  2997. "message": "Initial commit from Create Next App"
  2998. }
  2999. ]
  3000. }
  3001. }
  3002. },
  3003. "403": {
  3004. "description": "Forbidden"
  3005. }
  3006. },
  3007. "security": [
  3008. {
  3009. "auth_token": [
  3010. "org: read"
  3011. ]
  3012. }
  3013. ]
  3014. }
  3015. },
  3016. "/api/0/organizations/{organization_slug}/stats/": {
  3017. "get": {
  3018. "tags": [
  3019. "Organizations"
  3020. ],
  3021. "summary": "Caution\nThis endpoint may change in the future without notice.",
  3022. "description": "Return a set of points representing a normalized timestamp and the number of events seen in the period.",
  3023. "operationId": "Retrieve Event Counts for an Organization",
  3024. "parameters": [
  3025. {
  3026. "name": "organization_slug",
  3027. "in": "path",
  3028. "description": "the slug of the organization the event ID should be looked up in.",
  3029. "required": true,
  3030. "schema": {
  3031. "type": "string"
  3032. }
  3033. },
  3034. {
  3035. "name": "stat",
  3036. "in": "query",
  3037. "description": "the name of the stat to query `(\"received\", \"rejected\", \"blacklisted\")`",
  3038. "schema": {
  3039. "type": "string",
  3040. "enum": [
  3041. "received",
  3042. "rejected",
  3043. "blacklisted"
  3044. ]
  3045. }
  3046. },
  3047. {
  3048. "name": "since",
  3049. "in": "query",
  3050. "description": "A timestamp to set the start of the query in seconds since UNIX epoch.",
  3051. "schema": {
  3052. "type": "string",
  3053. "format": "date-time"
  3054. }
  3055. },
  3056. {
  3057. "name": "until",
  3058. "in": "query",
  3059. "description": "A timestamp to set the end of the query in seconds since UNIX epoch.",
  3060. "schema": {
  3061. "type": "string",
  3062. "format": "date-time"
  3063. }
  3064. },
  3065. {
  3066. "name": "resolution",
  3067. "in": "query",
  3068. "description": "An explicit resolution to search for (one of `10s`, `1h`, and `1d`).",
  3069. "schema": {
  3070. "type": "string",
  3071. "enum": [
  3072. "10s",
  3073. "1h",
  3074. "1d"
  3075. ]
  3076. }
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "Success.",
  3082. "content": {
  3083. "application/json": {
  3084. "schema": {
  3085. "type": "array",
  3086. "items": {
  3087. "type": "array",
  3088. "items": {
  3089. "type": "integer"
  3090. }
  3091. }
  3092. },
  3093. "example": [
  3094. [
  3095. 1541455200,
  3096. 8264
  3097. ],
  3098. [
  3099. 1541458800,
  3100. 6564
  3101. ],
  3102. [
  3103. 1541462400,
  3104. 8652
  3105. ],
  3106. [
  3107. 1541466000,
  3108. 7436
  3109. ],
  3110. [
  3111. 1541469600,
  3112. 8127
  3113. ],
  3114. [
  3115. 1541473200,
  3116. 7643
  3117. ],
  3118. [
  3119. 1541476800,
  3120. 6518
  3121. ],
  3122. [
  3123. 1541480400,
  3124. 6752
  3125. ],
  3126. [
  3127. 1541484000,
  3128. 6559
  3129. ],
  3130. [
  3131. 1541487600,
  3132. 7039
  3133. ],
  3134. [
  3135. 1541491200,
  3136. 7384
  3137. ],
  3138. [
  3139. 1541494800,
  3140. 6265
  3141. ],
  3142. [
  3143. 1541498400,
  3144. 8390
  3145. ],
  3146. [
  3147. 1541502000,
  3148. 6393
  3149. ],
  3150. [
  3151. 1541505600,
  3152. 7298
  3153. ],
  3154. [
  3155. 1541509200,
  3156. 7422
  3157. ],
  3158. [
  3159. 1541512800,
  3160. 5603
  3161. ],
  3162. [
  3163. 1541516400,
  3164. 6846
  3165. ],
  3166. [
  3167. 1541520000,
  3168. 8886
  3169. ],
  3170. [
  3171. 1541523600,
  3172. 6544
  3173. ],
  3174. [
  3175. 1541527200,
  3176. 8812
  3177. ],
  3178. [
  3179. 1541530800,
  3180. 8172
  3181. ],
  3182. [
  3183. 1541534400,
  3184. 5733
  3185. ],
  3186. [
  3187. 1541538000,
  3188. 9435
  3189. ]
  3190. ]
  3191. }
  3192. }
  3193. },
  3194. "403": {
  3195. "description": "Forbidden"
  3196. }
  3197. },
  3198. "security": [
  3199. {
  3200. "auth_token": [
  3201. "org: read"
  3202. ]
  3203. }
  3204. ]
  3205. }
  3206. },
  3207. "/api/0/organizations/{organization_slug}/users/": {
  3208. "get": {
  3209. "tags": [
  3210. "Organizations"
  3211. ],
  3212. "description": "Return a list of users that belong to a given organization.",
  3213. "operationId": "List an Organization's Users",
  3214. "parameters": [
  3215. {
  3216. "name": "organization_slug",
  3217. "in": "path",
  3218. "description": "the slug of the organization the event ID should be looked up in.",
  3219. "required": true,
  3220. "schema": {
  3221. "type": "string"
  3222. }
  3223. },
  3224. {
  3225. "name": "project",
  3226. "in": "query",
  3227. "description": "restrict results to users who have access to a given project ID",
  3228. "schema": {
  3229. "type": "string"
  3230. }
  3231. }
  3232. ],
  3233. "responses": {
  3234. "200": {
  3235. "description": "Success.",
  3236. "content": {
  3237. "application/json": {
  3238. "schema": {
  3239. "type": "array",
  3240. "items": {
  3241. "type": "object",
  3242. "required": [
  3243. "dateCreated",
  3244. "user",
  3245. "roleName",
  3246. "expired",
  3247. "id",
  3248. "projects",
  3249. "name",
  3250. "role",
  3251. "flags",
  3252. "email",
  3253. "pending"
  3254. ],
  3255. "properties": {
  3256. "dateCreated": {
  3257. "type": "string"
  3258. },
  3259. "user": {
  3260. "type": "object",
  3261. "required": [
  3262. "username",
  3263. "lastLogin",
  3264. "isSuperuser",
  3265. "isManaged",
  3266. "lastActive",
  3267. "isStaff",
  3268. "id",
  3269. "isActive",
  3270. "has2fa",
  3271. "name",
  3272. "avatarUrl",
  3273. "dateJoined",
  3274. "emails",
  3275. "avatar",
  3276. "hasPasswordAuth",
  3277. "email"
  3278. ],
  3279. "properties": {
  3280. "username": {
  3281. "type": "string"
  3282. },
  3283. "lastLogin": {
  3284. "type": "string"
  3285. },
  3286. "isSuperuser": {
  3287. "type": "boolean"
  3288. },
  3289. "isManaged": {
  3290. "type": "boolean"
  3291. },
  3292. "lastActive": {
  3293. "type": "string"
  3294. },
  3295. "isStaff": {
  3296. "type": "boolean"
  3297. },
  3298. "id": {
  3299. "type": "string"
  3300. },
  3301. "isActive": {
  3302. "type": "boolean"
  3303. },
  3304. "has2fa": {
  3305. "type": "boolean"
  3306. },
  3307. "name": {
  3308. "type": "string"
  3309. },
  3310. "avatarUrl": {
  3311. "type": "string"
  3312. },
  3313. "dateJoined": {
  3314. "type": "string"
  3315. },
  3316. "emails": {
  3317. "type": "array",
  3318. "items": {
  3319. "type": "object",
  3320. "properties": {
  3321. "is_verified": {
  3322. "type": "boolean"
  3323. },
  3324. "id": {
  3325. "type": "string"
  3326. },
  3327. "email": {
  3328. "type": "string"
  3329. }
  3330. }
  3331. }
  3332. },
  3333. "avatar": {
  3334. "type": "object",
  3335. "properties": {
  3336. "avatarType": {
  3337. "type": "string"
  3338. },
  3339. "avatarUuid": {
  3340. "type": "string",
  3341. "nullable": true
  3342. }
  3343. }
  3344. },
  3345. "hasPasswordAuth": {
  3346. "type": "boolean"
  3347. },
  3348. "email": {
  3349. "type": "string"
  3350. }
  3351. }
  3352. },
  3353. "roleName": {
  3354. "type": "string"
  3355. },
  3356. "expired": {
  3357. "type": "boolean"
  3358. },
  3359. "id": {
  3360. "type": "string"
  3361. },
  3362. "projects": {
  3363. "type": "array",
  3364. "items": {
  3365. "type": "string"
  3366. }
  3367. },
  3368. "name": {
  3369. "type": "string"
  3370. },
  3371. "role": {
  3372. "type": "string",
  3373. "enum": [
  3374. "owner",
  3375. "manager",
  3376. "admin",
  3377. "member",
  3378. "billing"
  3379. ]
  3380. },
  3381. "flags": {
  3382. "type": "object",
  3383. "properties": {
  3384. "sso: linked": {
  3385. "type": "boolean"
  3386. },
  3387. "sso: invalid": {
  3388. "type": "boolean"
  3389. }
  3390. }
  3391. },
  3392. "email": {
  3393. "type": "string"
  3394. },
  3395. "pending": {
  3396. "type": "boolean"
  3397. }
  3398. }
  3399. }
  3400. },
  3401. "example": [
  3402. {
  3403. "dateCreated": "2019-05-09T18:06:01.728Z",
  3404. "user": {
  3405. "username": "testEmail@test.com",
  3406. "lastLogin": "2019-09-16T02:56:06.806Z",
  3407. "isSuperuser": false,
  3408. "isManaged": false,
  3409. "lastActive": "2019-10-08T15:05:38.715Z",
  3410. "isStaff": false,
  3411. "id": "433307",
  3412. "isActive": true,
  3413. "has2fa": false,
  3414. "name": "OtherTest McTestuser",
  3415. "avatarUrl": "https: //secure.gravatar.com/avatar/1eb103c0e899f372a85eb0a44f0a0f42?s=32&d=mm",
  3416. "dateJoined": "2019-05-09T18:06:01.443Z",
  3417. "emails": [
  3418. {
  3419. "is_verified": true,
  3420. "id": "468229",
  3421. "email": "testEmail@test.com"
  3422. }
  3423. ],
  3424. "avatar": {
  3425. "avatarUuid": null,
  3426. "avatarType": "letter_avatar"
  3427. },
  3428. "hasPasswordAuth": false,
  3429. "email": "testEmail@test.com"
  3430. },
  3431. "roleName": "Organization Owner",
  3432. "expired": false,
  3433. "id": "9376061",
  3434. "projects": [
  3435. "buggy-sentry-project"
  3436. ],
  3437. "name": "OtherTest McTestuser",
  3438. "role": "owner",
  3439. "flags": {
  3440. "sso: linked": false,
  3441. "sso: invalid": false
  3442. },
  3443. "email": "testEmail@test.com",
  3444. "pending": false
  3445. }
  3446. ]
  3447. }
  3448. }
  3449. },
  3450. "403": {
  3451. "description": "Forbidden"
  3452. }
  3453. },
  3454. "security": [
  3455. {
  3456. "auth_token": [
  3457. "org: read"
  3458. ]
  3459. }
  3460. ]
  3461. }
  3462. },
  3463. "/api/0/organizations/{organization_slug}/shortids/{short_id}/": {
  3464. "get": {
  3465. "tags": [
  3466. "Organizations"
  3467. ],
  3468. "description": "This resolves a short ID to the project slug and internal issue ID.",
  3469. "operationId": "Resolve a Short ID",
  3470. "parameters": [
  3471. {
  3472. "name": "organization_slug",
  3473. "in": "path",
  3474. "description": "the slug of the organization the short ID should be looked up in.",
  3475. "required": true,
  3476. "schema": {
  3477. "type": "string"
  3478. }
  3479. },
  3480. {
  3481. "name": "short_id",
  3482. "in": "path",
  3483. "description": "the short ID to look up.",
  3484. "required": true,
  3485. "schema": {
  3486. "type": "string"
  3487. }
  3488. }
  3489. ],
  3490. "responses": {
  3491. "200": {
  3492. "description": "Success.",
  3493. "content": {
  3494. "application/json": {
  3495. "schema": {
  3496. "type": "object",
  3497. "required": [
  3498. "organizationSlug",
  3499. "projectSlug",
  3500. "shortId",
  3501. "group",
  3502. "groupId"
  3503. ],
  3504. "properties": {
  3505. "organizationSlug": {
  3506. "type": "string"
  3507. },
  3508. "projectSlug": {
  3509. "type": "string"
  3510. },
  3511. "shortId": {
  3512. "type": "string"
  3513. },
  3514. "group": {
  3515. "type": "object",
  3516. "required": [
  3517. "lastSeen",
  3518. "numComments",
  3519. "userCount",
  3520. "culprit",
  3521. "title",
  3522. "id",
  3523. "assignedTo",
  3524. "logger",
  3525. "type",
  3526. "annotations",
  3527. "metadata",
  3528. "status",
  3529. "subscriptionDetails",
  3530. "isPublic",
  3531. "hasSeen",
  3532. "shortId",
  3533. "shareId",
  3534. "firstSeen",
  3535. "count",
  3536. "permalink",
  3537. "level",
  3538. "isSubscribed",
  3539. "isBookmarked",
  3540. "project",
  3541. "statusDetails"
  3542. ],
  3543. "properties": {
  3544. "lastSeen": {
  3545. "type": "string"
  3546. },
  3547. "numComments": {
  3548. "type": "integer"
  3549. },
  3550. "userCount": {
  3551. "type": "integer"
  3552. },
  3553. "culprit": {
  3554. "type": "string"
  3555. },
  3556. "title": {
  3557. "type": "string"
  3558. },
  3559. "id": {
  3560. "type": "string"
  3561. },
  3562. "assignedTo": {
  3563. "type": "object",
  3564. "nullable": true,
  3565. "properties": {
  3566. "type": {
  3567. "type": "string"
  3568. },
  3569. "id": {
  3570. "type": "string"
  3571. },
  3572. "name": {
  3573. "type": "string"
  3574. }
  3575. }
  3576. },
  3577. "logger": {
  3578. "type": "string",
  3579. "nullable": true
  3580. },
  3581. "type": {
  3582. "type": "string"
  3583. },
  3584. "annotations": {
  3585. "type": "array",
  3586. "items": {
  3587. "type": "string"
  3588. }
  3589. },
  3590. "metadata": {
  3591. "type": "object",
  3592. "properties": {
  3593. "function": {
  3594. "type": "string"
  3595. },
  3596. "title": {
  3597. "type": "string"
  3598. },
  3599. "type": {
  3600. "type": "string"
  3601. },
  3602. "value": {
  3603. "type": "string"
  3604. },
  3605. "filename": {
  3606. "type": "string"
  3607. }
  3608. }
  3609. },
  3610. "status": {
  3611. "type": "string",
  3612. "enum": [
  3613. "resolved",
  3614. "unresolved",
  3615. "ignored"
  3616. ]
  3617. },
  3618. "subscriptionDetails": {
  3619. "type": "object",
  3620. "nullable": true,
  3621. "properties": {
  3622. "reason": {
  3623. "type": "string"
  3624. }
  3625. }
  3626. },
  3627. "isPublic": {
  3628. "type": "boolean"
  3629. },
  3630. "hasSeen": {
  3631. "type": "boolean"
  3632. },
  3633. "shortId": {
  3634. "type": "string"
  3635. },
  3636. "shareId": {
  3637. "type": "string",
  3638. "nullable": true
  3639. },
  3640. "firstSeen": {
  3641. "type": "string"
  3642. },
  3643. "count": {
  3644. "type": "string"
  3645. },
  3646. "permalink": {
  3647. "type": "string"
  3648. },
  3649. "level": {
  3650. "type": "string"
  3651. },
  3652. "isSubscribed": {
  3653. "type": "boolean"
  3654. },
  3655. "isBookmarked": {
  3656. "type": "boolean"
  3657. },
  3658. "project": {
  3659. "type": "object",
  3660. "properties": {
  3661. "slug": {
  3662. "type": "string"
  3663. },
  3664. "id": {
  3665. "type": "string"
  3666. },
  3667. "name": {
  3668. "type": "string"
  3669. }
  3670. }
  3671. },
  3672. "statusDetails": {
  3673. "type": "object"
  3674. }
  3675. }
  3676. },
  3677. "groupId": {
  3678. "type": "string"
  3679. }
  3680. }
  3681. },
  3682. "example": {
  3683. "group": {
  3684. "annotations": [],
  3685. "assignedTo": null,
  3686. "count": "1",
  3687. "culprit": "raven.scripts.runner in main",
  3688. "firstSeen": "2018-11-06T21:19:55Z",
  3689. "hasSeen": false,
  3690. "id": "1",
  3691. "isBookmarked": false,
  3692. "isPublic": false,
  3693. "isSubscribed": true,
  3694. "lastSeen": "2018-11-06T21:19:55Z",
  3695. "level": "error",
  3696. "logger": null,
  3697. "metadata": {
  3698. "title": "This is an example Python exception"
  3699. },
  3700. "numComments": 0,
  3701. "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
  3702. "project": {
  3703. "id": "2",
  3704. "name": "Pump Station",
  3705. "slug": "pump-station"
  3706. },
  3707. "shareId": null,
  3708. "shortId": "PUMP-STATION-1",
  3709. "status": "unresolved",
  3710. "statusDetails": {},
  3711. "subscriptionDetails": null,
  3712. "title": "This is an example Python exception",
  3713. "type": "default",
  3714. "userCount": 0
  3715. },
  3716. "groupId": "1",
  3717. "organizationSlug": "the-interstellar-jurisdiction",
  3718. "projectSlug": "pump-station",
  3719. "shortId": "PUMP-STATION-1"
  3720. }
  3721. }
  3722. }
  3723. },
  3724. "403": {
  3725. "description": "Forbidden"
  3726. }
  3727. },
  3728. "security": [
  3729. {
  3730. "auth_token": [
  3731. "org: read"
  3732. ]
  3733. }
  3734. ]
  3735. }
  3736. },
  3737. "/api/0/projects/": {
  3738. "get": {
  3739. "tags": [
  3740. "Projects"
  3741. ],
  3742. "description": "Return a list of projects available to the authenticated session.",
  3743. "operationId": "List your Projects",
  3744. "responses": {
  3745. "200": {
  3746. "description": "Success.",
  3747. "content": {
  3748. "application/json": {
  3749. "schema": {
  3750. "type": "array",
  3751. "items": {
  3752. "required": [
  3753. "avatar",
  3754. "color",
  3755. "dateCreated",
  3756. "features",
  3757. "firstEvent",
  3758. "hasAccess",
  3759. "id",
  3760. "isBookmarked",
  3761. "isInternal",
  3762. "isMember",
  3763. "isPublic",
  3764. "name",
  3765. "organization",
  3766. "platform",
  3767. "slug",
  3768. "status"
  3769. ],
  3770. "properties": {
  3771. "avatar": {
  3772. "type": "object",
  3773. "properties": {
  3774. "avatarType": {
  3775. "type": "string"
  3776. },
  3777. "avatarUuid": {
  3778. "type": "string",
  3779. "nullable": true
  3780. }
  3781. }
  3782. },
  3783. "color": {
  3784. "type": "string"
  3785. },
  3786. "dateCreated": {
  3787. "type": "string",
  3788. "format": "date-time"
  3789. },
  3790. "features": {
  3791. "type": "array",
  3792. "items": {
  3793. "type": "string"
  3794. }
  3795. },
  3796. "firstEvent": {
  3797. "type": "string",
  3798. "nullable": true
  3799. },
  3800. "hasAccess": {
  3801. "type": "boolean"
  3802. },
  3803. "id": {
  3804. "type": "string"
  3805. },
  3806. "isBookmarked": {
  3807. "type": "boolean"
  3808. },
  3809. "isInternal": {
  3810. "type": "boolean"
  3811. },
  3812. "isMember": {
  3813. "type": "boolean"
  3814. },
  3815. "isPublic": {
  3816. "type": "boolean"
  3817. },
  3818. "name": {
  3819. "type": "string"
  3820. },
  3821. "organization": {
  3822. "type": "object",
  3823. "required": [
  3824. "avatar",
  3825. "dateCreated",
  3826. "id",
  3827. "isEarlyAdopter",
  3828. "name",
  3829. "require2FA",
  3830. "slug",
  3831. "status"
  3832. ],
  3833. "properties": {
  3834. "avatar": {
  3835. "type": "object",
  3836. "properties": {
  3837. "avatarType": {
  3838. "type": "string"
  3839. },
  3840. "avatarUuid": {
  3841. "type": "string",
  3842. "nullable": true
  3843. }
  3844. }
  3845. },
  3846. "dateCreated": {
  3847. "type": "string",
  3848. "format": "date-time"
  3849. },
  3850. "id": {
  3851. "type": "string"
  3852. },
  3853. "isEarlyAdopter": {
  3854. "type": "boolean"
  3855. },
  3856. "name": {
  3857. "type": "string"
  3858. },
  3859. "require2FA": {
  3860. "type": "boolean"
  3861. },
  3862. "slug": {
  3863. "type": "string"
  3864. },
  3865. "status": {
  3866. "type": "object",
  3867. "required": [
  3868. "id",
  3869. "name"
  3870. ],
  3871. "properties": {
  3872. "id": {
  3873. "type": "string"
  3874. },
  3875. "name": {
  3876. "type": "string"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "platform": {
  3883. "type": "string",
  3884. "nullable": true
  3885. },
  3886. "slug": {
  3887. "type": "string"
  3888. },
  3889. "status": {
  3890. "type": "string",
  3891. "enum": [
  3892. "active",
  3893. "disabled",
  3894. "pending_deletion",
  3895. "deletion_in_progress"
  3896. ]
  3897. }
  3898. }
  3899. }
  3900. },
  3901. "example": [
  3902. {
  3903. "avatar": {
  3904. "avatarType": "letter_avatar",
  3905. "avatarUuid": null
  3906. },
  3907. "color": "#bf6e3f",
  3908. "dateCreated": "2018-11-06T21:20:08.064Z",
  3909. "features": [
  3910. "servicehooks",
  3911. "sample-events",
  3912. "data-forwarding",
  3913. "rate-limits",
  3914. "minidump"
  3915. ],
  3916. "firstEvent": null,
  3917. "hasAccess": true,
  3918. "id": "4",
  3919. "isBookmarked": false,
  3920. "isInternal": false,
  3921. "isMember": true,
  3922. "isPublic": false,
  3923. "name": "The Spoiled Yoghurt",
  3924. "organization": {
  3925. "avatar": {
  3926. "avatarType": "letter_avatar",
  3927. "avatarUuid": null
  3928. },
  3929. "dateCreated": "2018-11-06T21:19:55.101Z",
  3930. "id": "2",
  3931. "isEarlyAdopter": false,
  3932. "name": "The Interstellar Jurisdiction",
  3933. "require2FA": false,
  3934. "slug": "the-interstellar-jurisdiction",
  3935. "status": {
  3936. "id": "active",
  3937. "name": "active"
  3938. }
  3939. },
  3940. "platform": null,
  3941. "slug": "the-spoiled-yoghurt",
  3942. "status": "active"
  3943. },
  3944. {
  3945. "avatar": {
  3946. "avatarType": "letter_avatar",
  3947. "avatarUuid": null
  3948. },
  3949. "color": "#bf5b3f",
  3950. "dateCreated": "2018-11-06T21:19:58.536Z",
  3951. "features": [
  3952. "releases",
  3953. "sample-events",
  3954. "minidump",
  3955. "servicehooks",
  3956. "rate-limits",
  3957. "data-forwarding"
  3958. ],
  3959. "firstEvent": null,
  3960. "hasAccess": true,
  3961. "id": "3",
  3962. "isBookmarked": false,
  3963. "isInternal": false,
  3964. "isMember": true,
  3965. "isPublic": false,
  3966. "name": "Prime Mover",
  3967. "organization": {
  3968. "avatar": {
  3969. "avatarType": "letter_avatar",
  3970. "avatarUuid": null
  3971. },
  3972. "dateCreated": "2018-11-06T21:19:55.101Z",
  3973. "id": "2",
  3974. "isEarlyAdopter": false,
  3975. "name": "The Interstellar Jurisdiction",
  3976. "require2FA": false,
  3977. "slug": "the-interstellar-jurisdiction",
  3978. "status": {
  3979. "id": "active",
  3980. "name": "active"
  3981. }
  3982. },
  3983. "platform": null,
  3984. "slug": "prime-mover",
  3985. "status": "active"
  3986. },
  3987. {
  3988. "avatar": {
  3989. "avatarType": "letter_avatar",
  3990. "avatarUuid": null
  3991. },
  3992. "color": "#3fbf7f",
  3993. "dateCreated": "2018-11-06T21:19:55.121Z",
  3994. "features": [
  3995. "releases",
  3996. "sample-events",
  3997. "minidump",
  3998. "servicehooks",
  3999. "rate-limits",
  4000. "data-forwarding"
  4001. ],
  4002. "firstEvent": null,
  4003. "hasAccess": true,
  4004. "id": "2",
  4005. "isBookmarked": false,
  4006. "isInternal": false,
  4007. "isMember": true,
  4008. "isPublic": false,
  4009. "name": "Pump Station",
  4010. "organization": {
  4011. "avatar": {
  4012. "avatarType": "letter_avatar",
  4013. "avatarUuid": null
  4014. },
  4015. "dateCreated": "2018-11-06T21:19:55.101Z",
  4016. "id": "2",
  4017. "isEarlyAdopter": false,
  4018. "name": "The Interstellar Jurisdiction",
  4019. "require2FA": false,
  4020. "slug": "the-interstellar-jurisdiction",
  4021. "status": {
  4022. "id": "active",
  4023. "name": "active"
  4024. }
  4025. },
  4026. "platform": null,
  4027. "slug": "pump-station",
  4028. "status": "active"
  4029. }
  4030. ]
  4031. }
  4032. }
  4033. },
  4034. "403": {
  4035. "description": "Forbidden"
  4036. }
  4037. },
  4038. "security": [
  4039. {
  4040. "auth_token": [
  4041. "project:read"
  4042. ]
  4043. }
  4044. ]
  4045. }
  4046. },
  4047. "/api/0/projects/{organization_slug}/{project_slug}/": {
  4048. "get": {
  4049. "tags": [
  4050. "Projects"
  4051. ],
  4052. "description": "Return details on an individual project.",
  4053. "operationId": "Retrieve a Project",
  4054. "parameters": [
  4055. {
  4056. "name": "organization_slug",
  4057. "in": "path",
  4058. "description": "The slug of the organization the project belongs to.",
  4059. "required": true,
  4060. "schema": {
  4061. "type": "string"
  4062. }
  4063. },
  4064. {
  4065. "name": "project_slug",
  4066. "in": "path",
  4067. "description": "The slug of the project to retrieve.",
  4068. "required": true,
  4069. "schema": {
  4070. "type": "string"
  4071. }
  4072. }
  4073. ],
  4074. "responses": {
  4075. "200": {
  4076. "description": "Success.",
  4077. "content": {
  4078. "application/json": {
  4079. "schema": {
  4080. "type": "object",
  4081. "required": [
  4082. "allowedDomains",
  4083. "avatar",
  4084. "color",
  4085. "dataScrubber",
  4086. "dataScrubberDefaults",
  4087. "dateCreated",
  4088. "defaultEnvironment",
  4089. "digestsMaxDelay",
  4090. "digestsMinDelay",
  4091. "features",
  4092. "firstEvent",
  4093. "hasAccess",
  4094. "id",
  4095. "isBookmarked",
  4096. "isInternal",
  4097. "isMember",
  4098. "isPublic",
  4099. "latestRelease",
  4100. "name",
  4101. "options",
  4102. "organization",
  4103. "platform",
  4104. "platforms",
  4105. "processingIssues",
  4106. "relayPiiConfig",
  4107. "resolveAge",
  4108. "safeFields",
  4109. "scrapeJavaScript",
  4110. "scrubIPAddresses",
  4111. "securityToken",
  4112. "securityTokenHeader",
  4113. "sensitiveFields",
  4114. "slug",
  4115. "status",
  4116. "storeCrashReports",
  4117. "subjectPrefix",
  4118. "subjectTemplate",
  4119. "team",
  4120. "teams",
  4121. "verifySSL"
  4122. ],
  4123. "properties": {
  4124. "allowedDomains": {
  4125. "type": "array",
  4126. "items": {
  4127. "type": "string"
  4128. }
  4129. },
  4130. "avatar": {
  4131. "type": "object",
  4132. "properties": {
  4133. "avatarType": {
  4134. "type": "string"
  4135. },
  4136. "avatarUuid": {
  4137. "type": "string",
  4138. "nullable": true
  4139. }
  4140. }
  4141. },
  4142. "color": {
  4143. "type": "string"
  4144. },
  4145. "dataScrubber": {
  4146. "type": "boolean"
  4147. },
  4148. "dataScrubberDefaults": {
  4149. "type": "boolean"
  4150. },
  4151. "dateCreated": {
  4152. "type": "string"
  4153. },
  4154. "defaultEnvironment": {
  4155. "type": "string",
  4156. "nullable": true
  4157. },
  4158. "digestsMaxDelay": {
  4159. "type": "integer"
  4160. },
  4161. "digestsMinDelay": {
  4162. "type": "integer"
  4163. },
  4164. "features": {
  4165. "type": "array",
  4166. "items": {
  4167. "type": "string"
  4168. }
  4169. },
  4170. "firstEvent": {
  4171. "type": "string",
  4172. "nullable": true
  4173. },
  4174. "hasAccess": {
  4175. "type": "boolean"
  4176. },
  4177. "id": {
  4178. "type": "string"
  4179. },
  4180. "isBookmarked": {
  4181. "type": "boolean"
  4182. },
  4183. "isInternal": {
  4184. "type": "boolean"
  4185. },
  4186. "isMember": {
  4187. "type": "boolean"
  4188. },
  4189. "isPublic": {
  4190. "type": "boolean"
  4191. },
  4192. "latestRelease": {
  4193. "type": "object",
  4194. "required": [
  4195. "authors",
  4196. "commitCount",
  4197. "data",
  4198. "dateCreated",
  4199. "dateReleased",
  4200. "deployCount",
  4201. "firstEvent",
  4202. "lastCommit",
  4203. "lastDeploy",
  4204. "lastEvent",
  4205. "newGroups",
  4206. "owner",
  4207. "projects",
  4208. "ref",
  4209. "shortVersion",
  4210. "url",
  4211. "version"
  4212. ],
  4213. "properties": {
  4214. "authors": {
  4215. "type": "array",
  4216. "items": {
  4217. "type": "object",
  4218. "properties": {
  4219. "name": {
  4220. "type": "string"
  4221. },
  4222. "email": {
  4223. "type": "string"
  4224. }
  4225. }
  4226. }
  4227. },
  4228. "commitCount": {
  4229. "type": "integer"
  4230. },
  4231. "data": {
  4232. "type": "object"
  4233. },
  4234. "dateCreated": {
  4235. "type": "string"
  4236. },
  4237. "dateReleased": {
  4238. "type": "string",
  4239. "nullable": true
  4240. },
  4241. "deployCount": {
  4242. "type": "integer"
  4243. },
  4244. "firstEvent": {
  4245. "type": "string",
  4246. "nullable": true
  4247. },
  4248. "lastCommit": {
  4249. "type": "object",
  4250. "nullable": true
  4251. },
  4252. "lastDeploy": {
  4253. "type": "object",
  4254. "nullable": true
  4255. },
  4256. "lastEvent": {
  4257. "type": "string",
  4258. "nullable": true
  4259. },
  4260. "newGroups": {
  4261. "type": "integer"
  4262. },
  4263. "owner": {
  4264. "type": "string",
  4265. "nullable": true
  4266. },
  4267. "projects": {
  4268. "type": "array",
  4269. "items": {
  4270. "type": "object",
  4271. "properties": {
  4272. "name": {
  4273. "type": "string"
  4274. },
  4275. "slug": {
  4276. "type": "string"
  4277. }
  4278. }
  4279. }
  4280. },
  4281. "ref": {
  4282. "type": "string",
  4283. "nullable": true
  4284. },
  4285. "shortVersion": {
  4286. "type": "string"
  4287. },
  4288. "url": {
  4289. "type": "string",
  4290. "nullable": true
  4291. },
  4292. "version": {
  4293. "type": "string"
  4294. }
  4295. }
  4296. },
  4297. "name": {
  4298. "type": "string"
  4299. },
  4300. "options": {
  4301. "type": "object",
  4302. "properties": {
  4303. "feedback:branding": {
  4304. "type": "boolean"
  4305. },
  4306. "filters:blacklisted_ips": {
  4307. "type": "string"
  4308. },
  4309. "filters:error_messages": {
  4310. "type": "string"
  4311. },
  4312. "filters:releases": {
  4313. "type": "string"
  4314. },
  4315. "sentry:csp_ignored_sources": {
  4316. "type": "string"
  4317. },
  4318. "sentry:csp_ignored_sources_defaults": {
  4319. "type": "boolean"
  4320. },
  4321. "sentry:reprocessing_active": {
  4322. "type": "boolean"
  4323. }
  4324. }
  4325. },
  4326. "organization": {
  4327. "type": "object",
  4328. "required": [
  4329. "avatar",
  4330. "dateCreated",
  4331. "id",
  4332. "isEarlyAdopter",
  4333. "name",
  4334. "require2FA",
  4335. "slug",
  4336. "status"
  4337. ],
  4338. "properties": {
  4339. "avatar": {
  4340. "type": "object",
  4341. "properties": {
  4342. "avatarType": {
  4343. "type": "string"
  4344. },
  4345. "avatarUuid": {
  4346. "type": "string",
  4347. "nullable": true
  4348. }
  4349. }
  4350. },
  4351. "dateCreated": {
  4352. "type": "string",
  4353. "format": "date-time"
  4354. },
  4355. "id": {
  4356. "type": "string"
  4357. },
  4358. "isEarlyAdopter": {
  4359. "type": "boolean"
  4360. },
  4361. "name": {
  4362. "type": "string"
  4363. },
  4364. "require2FA": {
  4365. "type": "boolean"
  4366. },
  4367. "slug": {
  4368. "type": "string"
  4369. },
  4370. "status": {
  4371. "type": "object",
  4372. "required": [
  4373. "id",
  4374. "name"
  4375. ],
  4376. "properties": {
  4377. "id": {
  4378. "type": "string"
  4379. },
  4380. "name": {
  4381. "type": "string"
  4382. }
  4383. }
  4384. }
  4385. }
  4386. },
  4387. "platform": {
  4388. "type": "string",
  4389. "nullable": true
  4390. },
  4391. "platforms": {
  4392. "type": "array",
  4393. "items": {
  4394. "type": "string"
  4395. }
  4396. },
  4397. "plugins": {
  4398. "type": "array",
  4399. "items": {
  4400. "type": "object",
  4401. "required": [
  4402. "assets",
  4403. "author",
  4404. "canDisable",
  4405. "contexts",
  4406. "description",
  4407. "doc",
  4408. "enabled",
  4409. "hasConfiguration",
  4410. "id",
  4411. "isTestable",
  4412. "metadata",
  4413. "name",
  4414. "resourceLinks",
  4415. "shortName",
  4416. "slug",
  4417. "status",
  4418. "type",
  4419. "version"
  4420. ],
  4421. "properties": {
  4422. "assets": {
  4423. "type": "array",
  4424. "items": {
  4425. "type": "string"
  4426. }
  4427. },
  4428. "author": {
  4429. "type": "object",
  4430. "properties": {
  4431. "name": {
  4432. "type": "string"
  4433. },
  4434. "url": {
  4435. "type": "string"
  4436. }
  4437. }
  4438. },
  4439. "canDisable": {
  4440. "type": "boolean"
  4441. },
  4442. "contexts": {
  4443. "type": "array",
  4444. "items": {
  4445. "type": "string"
  4446. }
  4447. },
  4448. "description": {
  4449. "type": "string"
  4450. },
  4451. "doc": {
  4452. "type": "string"
  4453. },
  4454. "enabled": {
  4455. "type": "boolean"
  4456. },
  4457. "hasConfiguration": {
  4458. "type": "boolean"
  4459. },
  4460. "id": {
  4461. "type": "string"
  4462. },
  4463. "isTestable": {
  4464. "type": "boolean"
  4465. },
  4466. "metadata": {
  4467. "type": "object"
  4468. },
  4469. "name": {
  4470. "type": "string"
  4471. },
  4472. "resourceLinks": {
  4473. "type": "array",
  4474. "items": {
  4475. "type": "object",
  4476. "properties": {
  4477. "title": {
  4478. "type": "string"
  4479. },
  4480. "url": {
  4481. "type": "string"
  4482. }
  4483. }
  4484. }
  4485. },
  4486. "shortName": {
  4487. "type": "string"
  4488. },
  4489. "slug": {
  4490. "type": "string"
  4491. },
  4492. "status": {
  4493. "type": "string"
  4494. },
  4495. "type": {
  4496. "type": "string"
  4497. },
  4498. "version": {
  4499. "type": "string"
  4500. }
  4501. }
  4502. }
  4503. },
  4504. "processingIssues": {
  4505. "type": "integer"
  4506. },
  4507. "relayPiiConfig": {
  4508. "type": "string",
  4509. "nullable": true
  4510. },
  4511. "resolveAge": {
  4512. "type": "integer"
  4513. },
  4514. "safeFields": {
  4515. "type": "array",
  4516. "items": {
  4517. "type": "string"
  4518. }
  4519. },
  4520. "scrapeJavaScript": {
  4521. "type": "boolean"
  4522. },
  4523. "scrubIPAddresses": {
  4524. "type": "boolean"
  4525. },
  4526. "securityToken": {
  4527. "type": "string"
  4528. },
  4529. "securityTokenHeader": {
  4530. "type": "string",
  4531. "nullable": true
  4532. },
  4533. "sensitiveFields": {
  4534. "type": "array",
  4535. "items": {
  4536. "type": "string"
  4537. }
  4538. },
  4539. "slug": {
  4540. "type": "string"
  4541. },
  4542. "status": {
  4543. "type": "string"
  4544. },
  4545. "storeCrashReports": {
  4546. "type": "boolean",
  4547. "nullable": true
  4548. },
  4549. "subjectPrefix": {
  4550. "type": "string"
  4551. },
  4552. "subjectTemplate": {
  4553. "type": "string"
  4554. },
  4555. "team": {
  4556. "type": "object",
  4557. "required": [
  4558. "id",
  4559. "name",
  4560. "slug"
  4561. ],
  4562. "properties": {
  4563. "id": {
  4564. "type": "string"
  4565. },
  4566. "name": {
  4567. "type": "string"
  4568. },
  4569. "slug": {
  4570. "type": "string"
  4571. }
  4572. }
  4573. },
  4574. "teams": {
  4575. "type": "array",
  4576. "items": {
  4577. "type": "object",
  4578. "required": [
  4579. "id",
  4580. "name",
  4581. "slug"
  4582. ],
  4583. "properties": {
  4584. "id": {
  4585. "type": "string"
  4586. },
  4587. "name": {
  4588. "type": "string"
  4589. },
  4590. "slug": {
  4591. "type": "string"
  4592. }
  4593. }
  4594. }
  4595. },
  4596. "verifySSL": {
  4597. "type": "boolean"
  4598. }
  4599. }
  4600. },
  4601. "example": {
  4602. "allowedDomains": [
  4603. "*"
  4604. ],
  4605. "avatar": {
  4606. "avatarType": "letter_avatar",
  4607. "avatarUuid": null
  4608. },
  4609. "color": "#3fbf7f",
  4610. "dataScrubber": true,
  4611. "dataScrubberDefaults": true,
  4612. "dateCreated": "2018-11-06T21:19:55.121Z",
  4613. "defaultEnvironment": null,
  4614. "digestsMaxDelay": 1800,
  4615. "digestsMinDelay": 300,
  4616. "features": [
  4617. "releases",
  4618. "sample-events",
  4619. "minidump",
  4620. "servicehooks",
  4621. "rate-limits",
  4622. "data-forwarding"
  4623. ],
  4624. "firstEvent": null,
  4625. "hasAccess": true,
  4626. "id": "2",
  4627. "isBookmarked": false,
  4628. "isInternal": false,
  4629. "isMember": true,
  4630. "isPublic": false,
  4631. "latestRelease": {
  4632. "authors": [],
  4633. "commitCount": 0,
  4634. "data": {},
  4635. "dateCreated": "2018-11-06T21:20:08.033Z",
  4636. "dateReleased": null,
  4637. "deployCount": 0,
  4638. "firstEvent": null,
  4639. "lastCommit": null,
  4640. "lastDeploy": null,
  4641. "lastEvent": null,
  4642. "newGroups": 0,
  4643. "owner": null,
  4644. "projects": [
  4645. {
  4646. "name": "Pump Station",
  4647. "slug": "pump-station"
  4648. }
  4649. ],
  4650. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  4651. "shortVersion": "2.0rc2",
  4652. "url": null,
  4653. "version": "2.0rc2"
  4654. },
  4655. "name": "Pump Station",
  4656. "options": {
  4657. "feedback:branding": true,
  4658. "filters:blacklisted_ips": "",
  4659. "filters:error_messages": "",
  4660. "filters:releases": "",
  4661. "sentry:csp_ignored_sources": "",
  4662. "sentry:csp_ignored_sources_defaults": true,
  4663. "sentry:reprocessing_active": false
  4664. },
  4665. "organization": {
  4666. "avatar": {
  4667. "avatarType": "letter_avatar",
  4668. "avatarUuid": null
  4669. },
  4670. "dateCreated": "2018-11-06T21:19:55.101Z",
  4671. "id": "2",
  4672. "isEarlyAdopter": false,
  4673. "name": "The Interstellar Jurisdiction",
  4674. "require2FA": false,
  4675. "slug": "the-interstellar-jurisdiction",
  4676. "status": {
  4677. "id": "active",
  4678. "name": "active"
  4679. }
  4680. },
  4681. "platform": null,
  4682. "platforms": [],
  4683. "plugins": [
  4684. {
  4685. "assets": [],
  4686. "author": {
  4687. "name": "Sentry Team",
  4688. "url": "https://github.com/getsentry/sentry"
  4689. },
  4690. "canDisable": true,
  4691. "contexts": [],
  4692. "description": "Integrates web hooks.",
  4693. "doc": "",
  4694. "enabled": false,
  4695. "hasConfiguration": true,
  4696. "id": "webhooks",
  4697. "isTestable": true,
  4698. "metadata": {},
  4699. "name": "WebHooks",
  4700. "resourceLinks": [
  4701. {
  4702. "title": "Bug Tracker",
  4703. "url": "https://github.com/getsentry/sentry/issues"
  4704. },
  4705. {
  4706. "title": "Source",
  4707. "url": "https://github.com/getsentry/sentry"
  4708. }
  4709. ],
  4710. "shortName": "WebHooks",
  4711. "slug": "webhooks",
  4712. "status": "unknown",
  4713. "type": "notification",
  4714. "version": "9.1.0.dev0"
  4715. }
  4716. ],
  4717. "processingIssues": 0,
  4718. "relayPiiConfig": null,
  4719. "resolveAge": 0,
  4720. "safeFields": [],
  4721. "scrapeJavaScript": true,
  4722. "scrubIPAddresses": false,
  4723. "securityToken": "c3072787e20911e8a37988e9fe5cab71",
  4724. "securityTokenHeader": null,
  4725. "sensitiveFields": [],
  4726. "slug": "pump-station",
  4727. "status": "active",
  4728. "storeCrashReports": false,
  4729. "subjectPrefix": "[Sentry] ",
  4730. "subjectTemplate": "$shortID - $title",
  4731. "team": {
  4732. "id": "2",
  4733. "name": "Powerful Abolitionist",
  4734. "slug": "powerful-abolitionist"
  4735. },
  4736. "teams": [
  4737. {
  4738. "id": "2",
  4739. "name": "Powerful Abolitionist",
  4740. "slug": "powerful-abolitionist"
  4741. }
  4742. ],
  4743. "verifySSL": false
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "403": {
  4749. "description": "Forbidden"
  4750. },
  4751. "404": {
  4752. "description": "Project not found"
  4753. }
  4754. },
  4755. "security": [
  4756. {
  4757. "auth_token": [
  4758. "project:read"
  4759. ]
  4760. }
  4761. ]
  4762. },
  4763. "put": {
  4764. "tags": [
  4765. "Projects"
  4766. ],
  4767. "description": "Update various attributes and configurable settings for the given project. Only supplied values are updated.",
  4768. "operationId": "Update a Project",
  4769. "parameters": [
  4770. {
  4771. "name": "organization_slug",
  4772. "in": "path",
  4773. "description": "The slug of the organization the project belongs to.",
  4774. "required": true,
  4775. "schema": {
  4776. "type": "string"
  4777. }
  4778. },
  4779. {
  4780. "name": "project_slug",
  4781. "in": "path",
  4782. "description": "The slug of the project to update.",
  4783. "required": true,
  4784. "schema": {
  4785. "type": "string"
  4786. }
  4787. }
  4788. ],
  4789. "requestBody": {
  4790. "content": {
  4791. "application/json": {
  4792. "schema": {
  4793. "type": "object",
  4794. "properties": {
  4795. "name": {
  4796. "type": "string",
  4797. "description": "The new name for the project.",
  4798. "example": "Plane Proxy"
  4799. },
  4800. "slug": {
  4801. "type": "string",
  4802. "description": "The new slug for the project.",
  4803. "example": "plane-proxy"
  4804. },
  4805. "team": {
  4806. "type": "string",
  4807. "description": "The slug of new team for the project. Note, will be deprecated soon when multiple teams can have access to a project.",
  4808. "example": "the-inflated-philosophers"
  4809. },
  4810. "platform": {
  4811. "type": "string",
  4812. "description": "The new platform for the project.",
  4813. "example": "javascript"
  4814. },
  4815. "isBookmarked": {
  4816. "type": "boolean",
  4817. "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
  4818. },
  4819. "digestsMinDelay": {
  4820. "type": "integer",
  4821. "description": ""
  4822. },
  4823. "digestsMaxDelay": {
  4824. "type": "integer",
  4825. "description": ""
  4826. }
  4827. }
  4828. },
  4829. "example": {
  4830. "name": "Plane Proxy",
  4831. "platform": "javascript",
  4832. "slug": "plane-proxy"
  4833. }
  4834. }
  4835. },
  4836. "required": false
  4837. },
  4838. "responses": {
  4839. "200": {
  4840. "description": "Success.",
  4841. "content": {
  4842. "application/json": {
  4843. "schema": {
  4844. "type": "object",
  4845. "required": [
  4846. "allowedDomains",
  4847. "avatar",
  4848. "color",
  4849. "dataScrubber",
  4850. "dataScrubberDefaults",
  4851. "dateCreated",
  4852. "defaultEnvironment",
  4853. "digestsMaxDelay",
  4854. "digestsMinDelay",
  4855. "features",
  4856. "firstEvent",
  4857. "hasAccess",
  4858. "id",
  4859. "isBookmarked",
  4860. "isInternal",
  4861. "isMember",
  4862. "isPublic",
  4863. "latestRelease",
  4864. "name",
  4865. "options",
  4866. "organization",
  4867. "platform",
  4868. "platforms",
  4869. "processingIssues",
  4870. "relayPiiConfig",
  4871. "resolveAge",
  4872. "safeFields",
  4873. "scrapeJavaScript",
  4874. "scrubIPAddresses",
  4875. "securityToken",
  4876. "securityTokenHeader",
  4877. "sensitiveFields",
  4878. "slug",
  4879. "status",
  4880. "storeCrashReports",
  4881. "subjectPrefix",
  4882. "subjectTemplate",
  4883. "team",
  4884. "teams",
  4885. "verifySSL"
  4886. ],
  4887. "properties": {
  4888. "allowedDomains": {
  4889. "type": "array",
  4890. "items": {
  4891. "type": "string"
  4892. }
  4893. },
  4894. "avatar": {
  4895. "type": "object",
  4896. "properties": {
  4897. "avatarType": {
  4898. "type": "string"
  4899. },
  4900. "avatarUuid": {
  4901. "type": "string",
  4902. "nullable": true
  4903. }
  4904. }
  4905. },
  4906. "color": {
  4907. "type": "string"
  4908. },
  4909. "dataScrubber": {
  4910. "type": "boolean"
  4911. },
  4912. "dataScrubberDefaults": {
  4913. "type": "boolean"
  4914. },
  4915. "dateCreated": {
  4916. "type": "string"
  4917. },
  4918. "defaultEnvironment": {
  4919. "type": "string",
  4920. "nullable": true
  4921. },
  4922. "digestsMaxDelay": {
  4923. "type": "integer"
  4924. },
  4925. "digestsMinDelay": {
  4926. "type": "integer"
  4927. },
  4928. "features": {
  4929. "type": "array",
  4930. "items": {
  4931. "type": "string"
  4932. }
  4933. },
  4934. "firstEvent": {
  4935. "type": "string",
  4936. "nullable": true
  4937. },
  4938. "hasAccess": {
  4939. "type": "boolean"
  4940. },
  4941. "id": {
  4942. "type": "string"
  4943. },
  4944. "isBookmarked": {
  4945. "type": "boolean"
  4946. },
  4947. "isInternal": {
  4948. "type": "boolean"
  4949. },
  4950. "isMember": {
  4951. "type": "boolean"
  4952. },
  4953. "isPublic": {
  4954. "type": "boolean"
  4955. },
  4956. "latestRelease": {
  4957. "type": "object",
  4958. "required": [
  4959. "authors",
  4960. "commitCount",
  4961. "data",
  4962. "dateCreated",
  4963. "dateReleased",
  4964. "deployCount",
  4965. "firstEvent",
  4966. "lastCommit",
  4967. "lastDeploy",
  4968. "lastEvent",
  4969. "newGroups",
  4970. "owner",
  4971. "projects",
  4972. "ref",
  4973. "shortVersion",
  4974. "url",
  4975. "version"
  4976. ],
  4977. "properties": {
  4978. "authors": {
  4979. "type": "array",
  4980. "items": {
  4981. "type": "object",
  4982. "properties": {
  4983. "name": {
  4984. "type": "string"
  4985. },
  4986. "email": {
  4987. "type": "string"
  4988. }
  4989. }
  4990. }
  4991. },
  4992. "commitCount": {
  4993. "type": "integer"
  4994. },
  4995. "data": {
  4996. "type": "object"
  4997. },
  4998. "dateCreated": {
  4999. "type": "string"
  5000. },
  5001. "dateReleased": {
  5002. "type": "string",
  5003. "nullable": true
  5004. },
  5005. "deployCount": {
  5006. "type": "integer"
  5007. },
  5008. "firstEvent": {
  5009. "type": "string",
  5010. "nullable": true
  5011. },
  5012. "lastCommit": {
  5013. "type": "object",
  5014. "nullable": true
  5015. },
  5016. "lastDeploy": {
  5017. "type": "object",
  5018. "nullable": true
  5019. },
  5020. "lastEvent": {
  5021. "type": "string",
  5022. "nullable": true
  5023. },
  5024. "newGroups": {
  5025. "type": "integer"
  5026. },
  5027. "owner": {
  5028. "type": "string",
  5029. "nullable": true
  5030. },
  5031. "projects": {
  5032. "type": "array",
  5033. "items": {
  5034. "type": "object",
  5035. "properties": {
  5036. "name": {
  5037. "type": "string"
  5038. },
  5039. "slug": {
  5040. "type": "string"
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "ref": {
  5046. "type": "string",
  5047. "nullable": true
  5048. },
  5049. "shortVersion": {
  5050. "type": "string"
  5051. },
  5052. "url": {
  5053. "type": "string",
  5054. "nullable": true
  5055. },
  5056. "version": {
  5057. "type": "string"
  5058. }
  5059. }
  5060. },
  5061. "name": {
  5062. "type": "string"
  5063. },
  5064. "options": {
  5065. "type": "object",
  5066. "properties": {
  5067. "feedback:branding": {
  5068. "type": "boolean"
  5069. },
  5070. "filters:blacklisted_ips": {
  5071. "type": "string"
  5072. },
  5073. "filters:error_messages": {
  5074. "type": "string"
  5075. },
  5076. "filters:releases": {
  5077. "type": "string"
  5078. },
  5079. "sentry:csp_ignored_sources": {
  5080. "type": "string"
  5081. },
  5082. "sentry:csp_ignored_sources_defaults": {
  5083. "type": "boolean"
  5084. },
  5085. "sentry:reprocessing_active": {
  5086. "type": "boolean"
  5087. }
  5088. }
  5089. },
  5090. "organization": {
  5091. "type": "object",
  5092. "required": [
  5093. "avatar",
  5094. "dateCreated",
  5095. "id",
  5096. "isEarlyAdopter",
  5097. "name",
  5098. "require2FA",
  5099. "slug",
  5100. "status"
  5101. ],
  5102. "properties": {
  5103. "avatar": {
  5104. "type": "object",
  5105. "properties": {
  5106. "avatarType": {
  5107. "type": "string"
  5108. },
  5109. "avatarUuid": {
  5110. "type": "string",
  5111. "nullable": true
  5112. }
  5113. }
  5114. },
  5115. "dateCreated": {
  5116. "type": "string",
  5117. "format": "date-time"
  5118. },
  5119. "id": {
  5120. "type": "string"
  5121. },
  5122. "isEarlyAdopter": {
  5123. "type": "boolean"
  5124. },
  5125. "name": {
  5126. "type": "string"
  5127. },
  5128. "require2FA": {
  5129. "type": "boolean"
  5130. },
  5131. "slug": {
  5132. "type": "string"
  5133. },
  5134. "status": {
  5135. "type": "object",
  5136. "required": [
  5137. "id",
  5138. "name"
  5139. ],
  5140. "properties": {
  5141. "id": {
  5142. "type": "string"
  5143. },
  5144. "name": {
  5145. "type": "string"
  5146. }
  5147. }
  5148. }
  5149. }
  5150. },
  5151. "platform": {
  5152. "type": "string",
  5153. "nullable": true
  5154. },
  5155. "platforms": {
  5156. "type": "array",
  5157. "items": {
  5158. "type": "string"
  5159. }
  5160. },
  5161. "plugins": {
  5162. "type": "array",
  5163. "items": {
  5164. "type": "object",
  5165. "required": [
  5166. "assets",
  5167. "author",
  5168. "canDisable",
  5169. "contexts",
  5170. "description",
  5171. "doc",
  5172. "enabled",
  5173. "hasConfiguration",
  5174. "id",
  5175. "isTestable",
  5176. "metadata",
  5177. "name",
  5178. "resourceLinks",
  5179. "shortName",
  5180. "slug",
  5181. "status",
  5182. "type",
  5183. "version"
  5184. ],
  5185. "properties": {
  5186. "assets": {
  5187. "type": "array",
  5188. "items": {
  5189. "type": "string"
  5190. }
  5191. },
  5192. "author": {
  5193. "type": "object",
  5194. "properties": {
  5195. "name": {
  5196. "type": "string"
  5197. },
  5198. "url": {
  5199. "type": "string"
  5200. }
  5201. }
  5202. },
  5203. "canDisable": {
  5204. "type": "boolean"
  5205. },
  5206. "contexts": {
  5207. "type": "array",
  5208. "items": {
  5209. "type": "string"
  5210. }
  5211. },
  5212. "description": {
  5213. "type": "string"
  5214. },
  5215. "doc": {
  5216. "type": "string"
  5217. },
  5218. "enabled": {
  5219. "type": "boolean"
  5220. },
  5221. "hasConfiguration": {
  5222. "type": "boolean"
  5223. },
  5224. "id": {
  5225. "type": "string"
  5226. },
  5227. "isTestable": {
  5228. "type": "boolean"
  5229. },
  5230. "metadata": {
  5231. "type": "object"
  5232. },
  5233. "name": {
  5234. "type": "string"
  5235. },
  5236. "resourceLinks": {
  5237. "type": "array",
  5238. "items": {
  5239. "type": "object",
  5240. "properties": {
  5241. "title": {
  5242. "type": "string"
  5243. },
  5244. "url": {
  5245. "type": "string"
  5246. }
  5247. }
  5248. }
  5249. },
  5250. "shortName": {
  5251. "type": "string"
  5252. },
  5253. "slug": {
  5254. "type": "string"
  5255. },
  5256. "status": {
  5257. "type": "string"
  5258. },
  5259. "type": {
  5260. "type": "string"
  5261. },
  5262. "version": {
  5263. "type": "string"
  5264. }
  5265. }
  5266. }
  5267. },
  5268. "processingIssues": {
  5269. "type": "integer"
  5270. },
  5271. "relayPiiConfig": {
  5272. "type": "string",
  5273. "nullable": true
  5274. },
  5275. "resolveAge": {
  5276. "type": "integer"
  5277. },
  5278. "safeFields": {
  5279. "type": "array",
  5280. "items": {
  5281. "type": "string"
  5282. }
  5283. },
  5284. "scrapeJavaScript": {
  5285. "type": "boolean"
  5286. },
  5287. "scrubIPAddresses": {
  5288. "type": "boolean"
  5289. },
  5290. "securityToken": {
  5291. "type": "string"
  5292. },
  5293. "securityTokenHeader": {
  5294. "type": "string",
  5295. "nullable": true
  5296. },
  5297. "sensitiveFields": {
  5298. "type": "array",
  5299. "items": {
  5300. "type": "string"
  5301. }
  5302. },
  5303. "slug": {
  5304. "type": "string"
  5305. },
  5306. "status": {
  5307. "type": "string"
  5308. },
  5309. "storeCrashReports": {
  5310. "type": "boolean",
  5311. "nullable": true
  5312. },
  5313. "subjectPrefix": {
  5314. "type": "string"
  5315. },
  5316. "subjectTemplate": {
  5317. "type": "string"
  5318. },
  5319. "team": {
  5320. "type": "object",
  5321. "required": [
  5322. "id",
  5323. "name",
  5324. "slug"
  5325. ],
  5326. "properties": {
  5327. "id": {
  5328. "type": "string"
  5329. },
  5330. "name": {
  5331. "type": "string"
  5332. },
  5333. "slug": {
  5334. "type": "string"
  5335. }
  5336. }
  5337. },
  5338. "teams": {
  5339. "type": "array",
  5340. "items": {
  5341. "type": "object",
  5342. "required": [
  5343. "id",
  5344. "name",
  5345. "slug"
  5346. ],
  5347. "properties": {
  5348. "id": {
  5349. "type": "string"
  5350. },
  5351. "name": {
  5352. "type": "string"
  5353. },
  5354. "slug": {
  5355. "type": "string"
  5356. }
  5357. }
  5358. }
  5359. },
  5360. "verifySSL": {
  5361. "type": "boolean"
  5362. }
  5363. }
  5364. },
  5365. "example": {
  5366. "allowedDomains": [
  5367. "http://example.com",
  5368. "http://example.invalid"
  5369. ],
  5370. "avatar": {
  5371. "avatarType": "letter_avatar",
  5372. "avatarUuid": null
  5373. },
  5374. "color": "#bf803f",
  5375. "dataScrubber": true,
  5376. "dataScrubberDefaults": true,
  5377. "dateCreated": "2018-11-06T21:20:19.624Z",
  5378. "defaultEnvironment": null,
  5379. "digestsMaxDelay": 1800,
  5380. "digestsMinDelay": 300,
  5381. "features": [
  5382. "releases",
  5383. "sample-events",
  5384. "minidump",
  5385. "servicehooks",
  5386. "rate-limits",
  5387. "data-forwarding"
  5388. ],
  5389. "firstEvent": null,
  5390. "hasAccess": true,
  5391. "id": "5",
  5392. "isBookmarked": false,
  5393. "isInternal": false,
  5394. "isMember": true,
  5395. "isPublic": false,
  5396. "latestRelease": {
  5397. "authors": [],
  5398. "commitCount": 0,
  5399. "data": {},
  5400. "dateCreated": "2018-11-06T21:20:19.645Z",
  5401. "dateReleased": null,
  5402. "deployCount": 0,
  5403. "firstEvent": "2018-11-06T21:20:19.718Z",
  5404. "lastCommit": null,
  5405. "lastDeploy": null,
  5406. "lastEvent": "2018-11-06T21:20:19.718Z",
  5407. "newGroups": 0,
  5408. "owner": null,
  5409. "projects": [
  5410. {
  5411. "name": "Plane Proxy",
  5412. "slug": "plane-proxy"
  5413. }
  5414. ],
  5415. "ref": null,
  5416. "shortVersion": "21c04bd",
  5417. "url": null,
  5418. "version": "21c04bd8fa23cfd85f5f5867f18efd2cf13247bc"
  5419. },
  5420. "name": "Plane Proxy",
  5421. "options": {
  5422. "feedback:branding": true,
  5423. "filters:blacklisted_ips": "",
  5424. "filters:error_messages": "",
  5425. "filters:releases": "",
  5426. "sentry:csp_ignored_sources": "",
  5427. "sentry:csp_ignored_sources_defaults": true,
  5428. "sentry:reprocessing_active": false
  5429. },
  5430. "organization": {
  5431. "avatar": {
  5432. "avatarType": "letter_avatar",
  5433. "avatarUuid": null
  5434. },
  5435. "dateCreated": "2018-11-06T21:19:55.101Z",
  5436. "id": "2",
  5437. "isEarlyAdopter": false,
  5438. "name": "The Interstellar Jurisdiction",
  5439. "require2FA": false,
  5440. "slug": "the-interstellar-jurisdiction",
  5441. "status": {
  5442. "id": "active",
  5443. "name": "active"
  5444. }
  5445. },
  5446. "platform": "javascript",
  5447. "platforms": [],
  5448. "plugins": [
  5449. {
  5450. "assets": [],
  5451. "author": {
  5452. "name": "Sentry Team",
  5453. "url": "https://github.com/getsentry/sentry"
  5454. },
  5455. "canDisable": true,
  5456. "contexts": [],
  5457. "description": "Integrates web hooks.",
  5458. "doc": "",
  5459. "enabled": false,
  5460. "hasConfiguration": true,
  5461. "id": "webhooks",
  5462. "isTestable": true,
  5463. "metadata": {},
  5464. "name": "WebHooks",
  5465. "resourceLinks": [
  5466. {
  5467. "title": "Bug Tracker",
  5468. "url": "https://github.com/getsentry/sentry/issues"
  5469. },
  5470. {
  5471. "title": "Source",
  5472. "url": "https://github.com/getsentry/sentry"
  5473. }
  5474. ],
  5475. "shortName": "WebHooks",
  5476. "slug": "webhooks",
  5477. "status": "unknown",
  5478. "type": "notification",
  5479. "version": "9.1.0.dev0"
  5480. }
  5481. ],
  5482. "processingIssues": 0,
  5483. "relayPiiConfig": null,
  5484. "resolveAge": 0,
  5485. "safeFields": [],
  5486. "scrapeJavaScript": true,
  5487. "scrubIPAddresses": false,
  5488. "securityToken": "c55a4bdce20911e88eed88e9fe5cab71",
  5489. "securityTokenHeader": null,
  5490. "sensitiveFields": [],
  5491. "slug": "plane-proxy",
  5492. "status": "active",
  5493. "storeCrashReports": false,
  5494. "subjectPrefix": "[Sentry] ",
  5495. "subjectTemplate": "$shortID - $title",
  5496. "team": {
  5497. "id": "2",
  5498. "name": "Powerful Abolitionist",
  5499. "slug": "powerful-abolitionist"
  5500. },
  5501. "teams": [
  5502. {
  5503. "id": "2",
  5504. "name": "Powerful Abolitionist",
  5505. "slug": "powerful-abolitionist"
  5506. }
  5507. ],
  5508. "verifySSL": false
  5509. }
  5510. }
  5511. }
  5512. },
  5513. "400": {
  5514. "description": "Bad Input"
  5515. },
  5516. "403": {
  5517. "description": "Forbidden"
  5518. },
  5519. "404": {
  5520. "description": "Project not found"
  5521. }
  5522. },
  5523. "security": [
  5524. {
  5525. "auth_token": [
  5526. "project:write"
  5527. ]
  5528. }
  5529. ]
  5530. },
  5531. "delete": {
  5532. "tags": [
  5533. "Projects"
  5534. ],
  5535. "description": "Schedules a project for deletion.\n\nDeletion happens asynchronously and therefore is not immediate.\nHowever once deletion has begun the state of a project changes and\nwill be hidden from most public views.",
  5536. "operationId": "Delete a Project",
  5537. "parameters": [
  5538. {
  5539. "name": "organization_slug",
  5540. "in": "path",
  5541. "description": "The slug of the organization the project belongs to.",
  5542. "required": true,
  5543. "schema": {
  5544. "type": "string"
  5545. }
  5546. },
  5547. {
  5548. "name": "project_slug",
  5549. "in": "path",
  5550. "description": "The slug of the project to delete.",
  5551. "required": true,
  5552. "schema": {
  5553. "type": "string"
  5554. }
  5555. }
  5556. ],
  5557. "responses": {
  5558. "204": {
  5559. "description": "Success."
  5560. },
  5561. "403": {
  5562. "description": "Forbidden"
  5563. },
  5564. "404": {
  5565. "description": "Project not found"
  5566. }
  5567. },
  5568. "security": [
  5569. {
  5570. "auth_token": [
  5571. "project:admin"
  5572. ]
  5573. }
  5574. ]
  5575. }
  5576. },
  5577. "/api/0/projects/{organization_slug}/{project_slug}/files/dsyms/": {
  5578. "get": {
  5579. "tags": [
  5580. "Projects"
  5581. ],
  5582. "description": "Retrieve a list of debug information files for a given project.",
  5583. "operationId": "List a Project's Debug Information Files",
  5584. "parameters": [
  5585. {
  5586. "name": "organization_slug",
  5587. "in": "path",
  5588. "description": "The slug of the organization the file belongs to.",
  5589. "required": true,
  5590. "schema": {
  5591. "type": "string"
  5592. }
  5593. },
  5594. {
  5595. "name": "project_slug",
  5596. "in": "path",
  5597. "description": "The slug of the project to list the DIFs of.",
  5598. "required": true,
  5599. "schema": {
  5600. "type": "string"
  5601. }
  5602. }
  5603. ],
  5604. "responses": {
  5605. "200": {
  5606. "description": "Success.",
  5607. "content": {
  5608. "application/json": {}
  5609. }
  5610. },
  5611. "403": {
  5612. "description": "Forbidden"
  5613. },
  5614. "404": {
  5615. "description": "The requested resource does not exist"
  5616. }
  5617. },
  5618. "security": [
  5619. {
  5620. "auth_token": [
  5621. "project:read"
  5622. ]
  5623. }
  5624. ]
  5625. },
  5626. "post": {
  5627. "tags": [
  5628. "Projects"
  5629. ],
  5630. "description": "Upload a new debug information file for the given release.\n\nUnlike other API requests, files must be uploaded using the\ntraditional multipart/form-data content-type.\n\nThe file uploaded is a zip archive of an Apple .dSYM folder which\ncontains the individual debug images. Uploading through this endpoint\nwill create different files for the contained images.",
  5631. "operationId": "Upload a new File",
  5632. "parameters": [
  5633. {
  5634. "name": "organization_slug",
  5635. "in": "path",
  5636. "description": "The slug of the organization the project belongs to.",
  5637. "required": true,
  5638. "schema": {
  5639. "type": "string"
  5640. }
  5641. },
  5642. {
  5643. "name": "project_slug",
  5644. "in": "path",
  5645. "description": "The slug of the project to upload a file to.",
  5646. "required": true,
  5647. "schema": {
  5648. "type": "string"
  5649. }
  5650. }
  5651. ],
  5652. "requestBody": {
  5653. "content": {
  5654. "multipart/form-data": {
  5655. "schema": {
  5656. "required": [
  5657. "file"
  5658. ],
  5659. "type": "object",
  5660. "properties": {
  5661. "file": {
  5662. "type": "string",
  5663. "format": "binary",
  5664. "description": "The multipart encoded file."
  5665. }
  5666. }
  5667. }
  5668. }
  5669. },
  5670. "required": true
  5671. },
  5672. "responses": {
  5673. "201": {
  5674. "description": "Success.",
  5675. "content": {
  5676. "application/json": {}
  5677. }
  5678. },
  5679. "400": {
  5680. "description": "Missing uploaded file"
  5681. },
  5682. "403": {
  5683. "description": "Forbidden"
  5684. },
  5685. "404": {
  5686. "description": "The requested resource does not exist"
  5687. }
  5688. },
  5689. "security": [
  5690. {
  5691. "auth_token": [
  5692. "project:write"
  5693. ]
  5694. }
  5695. ]
  5696. },
  5697. "delete": {
  5698. "tags": [
  5699. "Projects"
  5700. ],
  5701. "description": "Delete a debug information file for a given project.",
  5702. "operationId": "Delete a specific project's Debug Information File",
  5703. "parameters": [
  5704. {
  5705. "name": "organization_slug",
  5706. "in": "path",
  5707. "description": "The slug of the organization the file belongs to.",
  5708. "required": true,
  5709. "schema": {
  5710. "type": "string"
  5711. }
  5712. },
  5713. {
  5714. "name": "project_slug",
  5715. "in": "path",
  5716. "description": "The slug of the project to delete the DIF.",
  5717. "required": true,
  5718. "schema": {
  5719. "type": "string"
  5720. }
  5721. },
  5722. {
  5723. "name": "id",
  5724. "in": "query",
  5725. "description": "The ID of the DIF to delete.",
  5726. "required": true,
  5727. "schema": {
  5728. "type": "string"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "204": {
  5734. "description": "Success."
  5735. },
  5736. "403": {
  5737. "description": "Forbidden"
  5738. },
  5739. "404": {
  5740. "description": "The requested resource does not exist"
  5741. }
  5742. },
  5743. "security": [
  5744. {
  5745. "auth_token": [
  5746. "project:admin"
  5747. ]
  5748. }
  5749. ]
  5750. }
  5751. },
  5752. "/api/0/projects/{organization_slug}/{project_slug}/users/": {
  5753. "get": {
  5754. "tags": [
  5755. "Projects"
  5756. ],
  5757. "description": "Return a list of users seen within this project.",
  5758. "operationId": "List a project's users",
  5759. "parameters": [
  5760. {
  5761. "name": "organization_slug",
  5762. "in": "path",
  5763. "description": "The slug of the organization.",
  5764. "required": true,
  5765. "schema": {
  5766. "type": "string"
  5767. }
  5768. },
  5769. {
  5770. "name": "project_slug",
  5771. "in": "path",
  5772. "description": "The slug of the project.",
  5773. "required": true,
  5774. "schema": {
  5775. "type": "string"
  5776. }
  5777. },
  5778. {
  5779. "name": "query",
  5780. "in": "query",
  5781. "description": "Limit results to users matching the given query. Prefixes should be used to suggest the field to match on: `id`, `email`, `username`, `ip`. For example, `query=email:foo@example.com`",
  5782. "schema": {
  5783. "type": "string"
  5784. }
  5785. }
  5786. ],
  5787. "responses": {
  5788. "200": {
  5789. "description": "Success.",
  5790. "content": {
  5791. "application/json": {
  5792. "schema": {
  5793. "type": "array",
  5794. "items": {
  5795. "type": "object",
  5796. "required": [
  5797. "dateCreated",
  5798. "id",
  5799. "username",
  5800. "email"
  5801. ],
  5802. "properties": {
  5803. "dateCreated": {
  5804. "type": "string"
  5805. },
  5806. "id": {
  5807. "type": "string"
  5808. },
  5809. "username": {
  5810. "type": "string",
  5811. "nullable": true
  5812. },
  5813. "email": {
  5814. "type": "string",
  5815. "nullable": true
  5816. }
  5817. }
  5818. }
  5819. },
  5820. "example": [
  5821. {
  5822. "dateCreated": "2020-07-16T00:50:40.342174Z",
  5823. "id": "21077833046",
  5824. "username": "sentry",
  5825. "email": "sentry@example.com"
  5826. }
  5827. ]
  5828. }
  5829. }
  5830. },
  5831. "403": {
  5832. "description": "Forbidden"
  5833. }
  5834. },
  5835. "security": [
  5836. {
  5837. "auth_token": [
  5838. "project:read"
  5839. ]
  5840. }
  5841. ]
  5842. }
  5843. },
  5844. "/api/0/projects/{organization_slug}/{project_slug}/tags/{key}/values/": {
  5845. "get": {
  5846. "tags": [
  5847. "Projects"
  5848. ],
  5849. "description": "Return a list of values associated with this key. The `query`\nparameter can be used to to perform a \"contains\" match on\nvalues.",
  5850. "operationId": "List a tag's values",
  5851. "parameters": [
  5852. {
  5853. "name": "organization_slug",
  5854. "in": "path",
  5855. "description": "The slug of the organization.",
  5856. "required": true,
  5857. "schema": {
  5858. "type": "string"
  5859. }
  5860. },
  5861. {
  5862. "name": "project_slug",
  5863. "in": "path",
  5864. "description": "The slug of the project.",
  5865. "required": true,
  5866. "schema": {
  5867. "type": "string"
  5868. }
  5869. },
  5870. {
  5871. "name": "key",
  5872. "in": "path",
  5873. "description": "The tag key to look up.",
  5874. "required": true,
  5875. "schema": {
  5876. "type": "string"
  5877. }
  5878. }
  5879. ],
  5880. "responses": {
  5881. "200": {
  5882. "description": "Success.",
  5883. "content": {
  5884. "application/json": {
  5885. "schema": {
  5886. "type": "array",
  5887. "items": {
  5888. "type": "object",
  5889. "required": [
  5890. "name"
  5891. ],
  5892. "properties": {
  5893. "name": {
  5894. "type": "string"
  5895. }
  5896. }
  5897. }
  5898. },
  5899. "example": [
  5900. {
  5901. "name": "mint_choco"
  5902. }
  5903. ]
  5904. }
  5905. }
  5906. },
  5907. "403": {
  5908. "description": "Forbidden"
  5909. }
  5910. },
  5911. "security": [
  5912. {
  5913. "auth_token": [
  5914. "project:read"
  5915. ]
  5916. }
  5917. ]
  5918. }
  5919. },
  5920. "/api/0/projects/{organization_slug}/{project_slug}/stats/": {
  5921. "get": {
  5922. "tags": [
  5923. "Projects"
  5924. ],
  5925. "summary": "Caution\nThis endpoint may change in the future without notice.",
  5926. "description": "Return a set of points representing a normalized timestamp and the\nnumber of events seen in the period.\n\nQuery ranges are limited to Sentry's configured time-series resolutions.",
  5927. "operationId": "Retrieve event counts for a project",
  5928. "parameters": [
  5929. {
  5930. "name": "organization_slug",
  5931. "in": "path",
  5932. "description": "The slug of the organization.",
  5933. "required": true,
  5934. "schema": {
  5935. "type": "string"
  5936. }
  5937. },
  5938. {
  5939. "name": "project_slug",
  5940. "in": "path",
  5941. "description": "The slug of the project.",
  5942. "required": true,
  5943. "schema": {
  5944. "type": "string"
  5945. }
  5946. },
  5947. {
  5948. "name": "stat",
  5949. "in": "query",
  5950. "description": "The name of the stat to query `(\"received\", \"rejected\", \"blacklisted\", \"generated\")`",
  5951. "schema": {
  5952. "type": "string",
  5953. "enum": [
  5954. "received",
  5955. "rejected",
  5956. "blacklisted",
  5957. "generated"
  5958. ]
  5959. }
  5960. },
  5961. {
  5962. "name": "since",
  5963. "in": "query",
  5964. "description": "A timestamp to set the start of the query in seconds since UNIX epoch.",
  5965. "schema": {
  5966. "type": "string",
  5967. "format": "date-time"
  5968. }
  5969. },
  5970. {
  5971. "name": "until",
  5972. "in": "query",
  5973. "description": "A timestamp to set the end of the query in seconds since UNIX epoch.",
  5974. "schema": {
  5975. "type": "string",
  5976. "format": "date-time"
  5977. }
  5978. },
  5979. {
  5980. "name": "resolution",
  5981. "in": "query",
  5982. "description": "An explicit resolution to search for (one of `10s`, `1h`, and `1d`).",
  5983. "schema": {
  5984. "type": "string",
  5985. "enum": [
  5986. "10s",
  5987. "1h",
  5988. "1d"
  5989. ]
  5990. }
  5991. }
  5992. ],
  5993. "responses": {
  5994. "200": {
  5995. "description": "Success.",
  5996. "content": {
  5997. "application/json": {
  5998. "schema": {
  5999. "type": "array",
  6000. "items": {
  6001. "type": "array",
  6002. "items": {
  6003. "type": "integer"
  6004. }
  6005. }
  6006. },
  6007. "example": [
  6008. [
  6009. 1541455200,
  6010. 1184
  6011. ],
  6012. [
  6013. 1541458800,
  6014. 1410
  6015. ],
  6016. [
  6017. 1541462400,
  6018. 1440
  6019. ],
  6020. [
  6021. 1541466000,
  6022. 1682
  6023. ],
  6024. [
  6025. 1541469600,
  6026. 1203
  6027. ],
  6028. [
  6029. 1541473200,
  6030. 497
  6031. ],
  6032. [
  6033. 1541476800,
  6034. 661
  6035. ],
  6036. [
  6037. 1541480400,
  6038. 1481
  6039. ],
  6040. [
  6041. 1541484000,
  6042. 678
  6043. ],
  6044. [
  6045. 1541487600,
  6046. 1857
  6047. ],
  6048. [
  6049. 1541491200,
  6050. 819
  6051. ],
  6052. [
  6053. 1541494800,
  6054. 1013
  6055. ],
  6056. [
  6057. 1541498400,
  6058. 1883
  6059. ],
  6060. [
  6061. 1541502000,
  6062. 1450
  6063. ],
  6064. [
  6065. 1541505600,
  6066. 1102
  6067. ],
  6068. [
  6069. 1541509200,
  6070. 1317
  6071. ],
  6072. [
  6073. 1541512800,
  6074. 1017
  6075. ],
  6076. [
  6077. 1541516400,
  6078. 813
  6079. ],
  6080. [
  6081. 1541520000,
  6082. 1189
  6083. ],
  6084. [
  6085. 1541523600,
  6086. 496
  6087. ],
  6088. [
  6089. 1541527200,
  6090. 1936
  6091. ],
  6092. [
  6093. 1541530800,
  6094. 1405
  6095. ],
  6096. [
  6097. 1541534400,
  6098. 617
  6099. ],
  6100. [
  6101. 1541538000,
  6102. 1533
  6103. ]
  6104. ]
  6105. }
  6106. }
  6107. },
  6108. "403": {
  6109. "description": "Forbidden"
  6110. }
  6111. },
  6112. "security": [
  6113. {
  6114. "auth_token": [
  6115. "project:read"
  6116. ]
  6117. }
  6118. ]
  6119. }
  6120. },
  6121. "/api/0/projects/{organization_slug}/{project_slug}/user-feedback/": {
  6122. "get": {
  6123. "tags": [
  6124. "Projects"
  6125. ],
  6126. "description": "Return a list of user feedback items within this project.",
  6127. "operationId": "List a project's user feedback",
  6128. "parameters": [
  6129. {
  6130. "name": "organization_slug",
  6131. "in": "path",
  6132. "description": "The slug of the organization.",
  6133. "required": true,
  6134. "schema": {
  6135. "type": "string"
  6136. }
  6137. },
  6138. {
  6139. "name": "project_slug",
  6140. "in": "path",
  6141. "description": "The slug of the project.",
  6142. "required": true,
  6143. "schema": {
  6144. "type": "string"
  6145. }
  6146. }
  6147. ],
  6148. "responses": {
  6149. "200": {
  6150. "description": "Success.",
  6151. "content": {
  6152. "application/json": {
  6153. "schema": {
  6154. "type": "array",
  6155. "items": {
  6156. "type": "object",
  6157. "required": [
  6158. "comments",
  6159. "dateCreated",
  6160. "email",
  6161. "event",
  6162. "eventID",
  6163. "id",
  6164. "issue",
  6165. "name",
  6166. "user"
  6167. ],
  6168. "properties": {
  6169. "comments": {
  6170. "type": "string"
  6171. },
  6172. "dateCreated": {
  6173. "type": "string"
  6174. },
  6175. "email": {
  6176. "type": "string"
  6177. },
  6178. "event": {
  6179. "type": "object",
  6180. "properties": {
  6181. "eventID": {
  6182. "type": "string"
  6183. },
  6184. "id": {
  6185. "type": "string",
  6186. "nullable": true
  6187. }
  6188. }
  6189. },
  6190. "eventID": {
  6191. "type": "string"
  6192. },
  6193. "id": {
  6194. "type": "string"
  6195. },
  6196. "issue": {
  6197. "type": "object",
  6198. "nullable": true
  6199. },
  6200. "name": {
  6201. "type": "string"
  6202. },
  6203. "user": {
  6204. "type": "string",
  6205. "nullable": true
  6206. }
  6207. }
  6208. }
  6209. },
  6210. "example": [
  6211. {
  6212. "comments": "It broke!",
  6213. "dateCreated": "2018-11-06T21:20:11.468Z",
  6214. "email": "jane@example.com",
  6215. "event": {
  6216. "eventID": "14bad9a2e3774046977a21440ddb39b2",
  6217. "id": null
  6218. },
  6219. "eventID": "14bad9a2e3774046977a21440ddb39b2",
  6220. "id": "1",
  6221. "issue": null,
  6222. "name": "Jane Smith",
  6223. "user": null
  6224. }
  6225. ]
  6226. }
  6227. }
  6228. },
  6229. "403": {
  6230. "description": "Forbidden"
  6231. }
  6232. },
  6233. "security": [
  6234. {
  6235. "auth_token": [
  6236. "project:read"
  6237. ]
  6238. }
  6239. ]
  6240. },
  6241. "post": {
  6242. "tags": [
  6243. "Projects"
  6244. ],
  6245. "description": "Submit and associate user feedback with an issue.\n\nFeedback must be received by the server no more than 30 minutes after the event was saved.\n\nAdditionally, within 5 minutes of submitting feedback it may also be overwritten. This is useful in situations where you may need to retry sending a request due to network failures.\n\nIf feedback is rejected due to a mutability threshold, a 409 status code will be returned.\n\nNote: Feedback may be submitted with DSN authentication (see auth documentation).",
  6246. "operationId": "Submit user feedback",
  6247. "parameters": [
  6248. {
  6249. "name": "organization_slug",
  6250. "in": "path",
  6251. "description": "The slug of the organization.",
  6252. "required": true,
  6253. "schema": {
  6254. "type": "string"
  6255. }
  6256. },
  6257. {
  6258. "name": "project_slug",
  6259. "in": "path",
  6260. "description": "The slug of the project.",
  6261. "required": true,
  6262. "schema": {
  6263. "type": "string"
  6264. }
  6265. }
  6266. ],
  6267. "requestBody": {
  6268. "content": {
  6269. "application/json": {
  6270. "schema": {
  6271. "required": [
  6272. "event_id",
  6273. "name",
  6274. "email",
  6275. "comments"
  6276. ],
  6277. "type": "object",
  6278. "properties": {
  6279. "event_id": {
  6280. "type": "string",
  6281. "description": "The event ID."
  6282. },
  6283. "name": {
  6284. "type": "string",
  6285. "description": "User's name."
  6286. },
  6287. "email": {
  6288. "type": "string",
  6289. "description": "User's email address."
  6290. },
  6291. "comments": {
  6292. "type": "string",
  6293. "description": "Comments supplied by user."
  6294. }
  6295. }
  6296. },
  6297. "example": {
  6298. "comments": "It broke!",
  6299. "email": "jane@example.com",
  6300. "event_id": "14bad9a2e3774046977a21440ddb39b2",
  6301. "name": "Jane Smith"
  6302. }
  6303. }
  6304. },
  6305. "required": false
  6306. },
  6307. "responses": {
  6308. "201": {
  6309. "description": "Success.",
  6310. "content": {
  6311. "application/json": {
  6312. "schema": {
  6313. "type": "object",
  6314. "required": [
  6315. "comments",
  6316. "dateCreated",
  6317. "email",
  6318. "event",
  6319. "eventID",
  6320. "id",
  6321. "issue",
  6322. "name",
  6323. "user"
  6324. ],
  6325. "properties": {
  6326. "comments": {
  6327. "type": "string"
  6328. },
  6329. "dateCreated": {
  6330. "type": "string"
  6331. },
  6332. "email": {
  6333. "type": "string"
  6334. },
  6335. "event": {
  6336. "type": "object",
  6337. "properties": {
  6338. "eventID": {
  6339. "type": "string"
  6340. },
  6341. "id": {
  6342. "type": "string",
  6343. "nullable": true
  6344. }
  6345. }
  6346. },
  6347. "eventID": {
  6348. "type": "string"
  6349. },
  6350. "id": {
  6351. "type": "string"
  6352. },
  6353. "issue": {
  6354. "type": "object",
  6355. "nullable": true
  6356. },
  6357. "name": {
  6358. "type": "string"
  6359. },
  6360. "user": {
  6361. "type": "string",
  6362. "nullable": true
  6363. }
  6364. }
  6365. },
  6366. "example": {
  6367. "comments": "It broke!",
  6368. "dateCreated": "2018-11-06T21:20:11.468Z",
  6369. "email": "jane@example.com",
  6370. "event": {
  6371. "eventID": "14bad9a2e3774046977a21440ddb39b2",
  6372. "id": null
  6373. },
  6374. "eventID": "14bad9a2e3774046977a21440ddb39b2",
  6375. "id": "1",
  6376. "issue": null,
  6377. "name": "Jane Smith",
  6378. "user": null
  6379. }
  6380. }
  6381. }
  6382. },
  6383. "403": {
  6384. "description": "Forbidden"
  6385. },
  6386. "404": {
  6387. "description": "The requested resource does not exist"
  6388. }
  6389. },
  6390. "security": [
  6391. {
  6392. "auth_token": [
  6393. "project:write"
  6394. ]
  6395. },
  6396. {
  6397. "dsn": []
  6398. }
  6399. ]
  6400. }
  6401. },
  6402. "/api/0/projects/{organization_slug}/{project_slug}/keys/": {
  6403. "get": {
  6404. "tags": [
  6405. "Projects"
  6406. ],
  6407. "description": "Return a list of client keys bound to a project.",
  6408. "operationId": "List a project's client keys",
  6409. "parameters": [
  6410. {
  6411. "name": "organization_slug",
  6412. "in": "path",
  6413. "description": "The slug of the organization the client keys belong to.",
  6414. "required": true,
  6415. "schema": {
  6416. "type": "string"
  6417. }
  6418. },
  6419. {
  6420. "name": "project_slug",
  6421. "in": "path",
  6422. "description": "The slug of the project the client keys belong to.",
  6423. "required": true,
  6424. "schema": {
  6425. "type": "string"
  6426. }
  6427. }
  6428. ],
  6429. "responses": {
  6430. "200": {
  6431. "description": "Success.",
  6432. "content": {
  6433. "application/json": {
  6434. "schema": {
  6435. "type": "array",
  6436. "items": {
  6437. "type": "object",
  6438. "required": [
  6439. "browserSdk",
  6440. "browserSdkVersion",
  6441. "dateCreated",
  6442. "dsn",
  6443. "id",
  6444. "isActive",
  6445. "label",
  6446. "name",
  6447. "projectId",
  6448. "public",
  6449. "rateLimit",
  6450. "secret"
  6451. ],
  6452. "properties": {
  6453. "browserSdk": {
  6454. "type": "object",
  6455. "properties": {
  6456. "choices": {
  6457. "type": "array",
  6458. "items": {
  6459. "type": "array",
  6460. "items": {
  6461. "type": "string"
  6462. }
  6463. }
  6464. }
  6465. }
  6466. },
  6467. "browserSdkVersion": {
  6468. "type": "string"
  6469. },
  6470. "dateCreated": {
  6471. "type": "string"
  6472. },
  6473. "dsn": {
  6474. "type": "object",
  6475. "required": [
  6476. "cdn",
  6477. "csp",
  6478. "minidump",
  6479. "public",
  6480. "secret",
  6481. "security"
  6482. ],
  6483. "properties": {
  6484. "cdn": {
  6485. "type": "string"
  6486. },
  6487. "csp": {
  6488. "type": "string"
  6489. },
  6490. "minidump": {
  6491. "type": "string"
  6492. },
  6493. "public": {
  6494. "type": "string"
  6495. },
  6496. "secret": {
  6497. "type": "string"
  6498. },
  6499. "security": {
  6500. "type": "string"
  6501. }
  6502. }
  6503. },
  6504. "id": {
  6505. "type": "string"
  6506. },
  6507. "isActive": {
  6508. "type": "boolean"
  6509. },
  6510. "label": {
  6511. "type": "string"
  6512. },
  6513. "name": {
  6514. "type": "string"
  6515. },
  6516. "projectId": {
  6517. "type": "integer"
  6518. },
  6519. "public": {
  6520. "type": "string"
  6521. },
  6522. "rateLimit": {
  6523. "type": "string",
  6524. "nullable": true
  6525. },
  6526. "secret": {
  6527. "type": "string"
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "example": [
  6533. {
  6534. "browserSdk": {
  6535. "choices": [
  6536. [
  6537. "latest",
  6538. "latest"
  6539. ],
  6540. [
  6541. "4.x",
  6542. "4.x"
  6543. ]
  6544. ]
  6545. },
  6546. "browserSdkVersion": "4.x",
  6547. "dateCreated": "2018-11-06T21:20:07.941Z",
  6548. "dsn": {
  6549. "cdn": "https://sentry.io/js-sdk-loader/cec9dfceb0b74c1c9a5e3c135585f364.min.js",
  6550. "csp": "https://sentry.io/api/2/csp-report/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6551. "minidump": "https://sentry.io/api/2/minidump/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6552. "public": "https://cec9dfceb0b74c1c9a5e3c135585f364@sentry.io/2",
  6553. "secret": "https://cec9dfceb0b74c1c9a5e3c135585f364:4f6a592349e249c5906918393766718d@sentry.io/2",
  6554. "security": "https://sentry.io/api/2/security/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364"
  6555. },
  6556. "id": "cec9dfceb0b74c1c9a5e3c135585f364",
  6557. "isActive": true,
  6558. "label": "Fabulous Key",
  6559. "name": "Fabulous Key",
  6560. "projectId": 2,
  6561. "public": "cec9dfceb0b74c1c9a5e3c135585f364",
  6562. "rateLimit": null,
  6563. "secret": "4f6a592349e249c5906918393766718d"
  6564. }
  6565. ]
  6566. }
  6567. }
  6568. },
  6569. "403": {
  6570. "description": "Forbidden"
  6571. }
  6572. },
  6573. "security": [
  6574. {
  6575. "auth_token": [
  6576. "project:read"
  6577. ]
  6578. }
  6579. ]
  6580. },
  6581. "post": {
  6582. "tags": [
  6583. "Projects"
  6584. ],
  6585. "description": "Create a new client key bound to a project. The key's secret and public key are generated by the server.",
  6586. "operationId": "Create a new client key",
  6587. "parameters": [
  6588. {
  6589. "name": "organization_slug",
  6590. "in": "path",
  6591. "description": "The slug of the organization the client keys belong to.",
  6592. "required": true,
  6593. "schema": {
  6594. "type": "string"
  6595. }
  6596. },
  6597. {
  6598. "name": "project_slug",
  6599. "in": "path",
  6600. "description": "The slug of the project the client keys belong to.",
  6601. "required": true,
  6602. "schema": {
  6603. "type": "string"
  6604. }
  6605. }
  6606. ],
  6607. "requestBody": {
  6608. "content": {
  6609. "application/json": {
  6610. "schema": {
  6611. "required": [
  6612. "name"
  6613. ],
  6614. "type": "object",
  6615. "properties": {
  6616. "name": {
  6617. "type": "string",
  6618. "description": "The name for the new key."
  6619. }
  6620. }
  6621. },
  6622. "example": {
  6623. "name": "Fabulous Key"
  6624. }
  6625. }
  6626. },
  6627. "required": true
  6628. },
  6629. "responses": {
  6630. "201": {
  6631. "description": "Success.",
  6632. "content": {
  6633. "application/json": {
  6634. "schema": {
  6635. "type": "object",
  6636. "required": [
  6637. "browserSdk",
  6638. "browserSdkVersion",
  6639. "dateCreated",
  6640. "dsn",
  6641. "id",
  6642. "isActive",
  6643. "label",
  6644. "name",
  6645. "projectId",
  6646. "public",
  6647. "rateLimit",
  6648. "secret"
  6649. ],
  6650. "properties": {
  6651. "browserSdk": {
  6652. "type": "object",
  6653. "properties": {
  6654. "choices": {
  6655. "type": "array",
  6656. "items": {
  6657. "type": "array",
  6658. "items": {
  6659. "type": "string"
  6660. }
  6661. }
  6662. }
  6663. }
  6664. },
  6665. "browserSdkVersion": {
  6666. "type": "string"
  6667. },
  6668. "dateCreated": {
  6669. "type": "string"
  6670. },
  6671. "dsn": {
  6672. "type": "object",
  6673. "required": [
  6674. "cdn",
  6675. "csp",
  6676. "minidump",
  6677. "public",
  6678. "secret",
  6679. "security"
  6680. ],
  6681. "properties": {
  6682. "cdn": {
  6683. "type": "string"
  6684. },
  6685. "csp": {
  6686. "type": "string"
  6687. },
  6688. "minidump": {
  6689. "type": "string"
  6690. },
  6691. "public": {
  6692. "type": "string"
  6693. },
  6694. "secret": {
  6695. "type": "string"
  6696. },
  6697. "security": {
  6698. "type": "string"
  6699. }
  6700. }
  6701. },
  6702. "id": {
  6703. "type": "string"
  6704. },
  6705. "isActive": {
  6706. "type": "boolean"
  6707. },
  6708. "label": {
  6709. "type": "string"
  6710. },
  6711. "name": {
  6712. "type": "string"
  6713. },
  6714. "projectId": {
  6715. "type": "integer"
  6716. },
  6717. "public": {
  6718. "type": "string"
  6719. },
  6720. "rateLimit": {
  6721. "type": "string",
  6722. "nullable": true
  6723. },
  6724. "secret": {
  6725. "type": "string"
  6726. }
  6727. }
  6728. },
  6729. "example": {
  6730. "browserSdk": {
  6731. "choices": [
  6732. [
  6733. "latest",
  6734. "latest"
  6735. ],
  6736. [
  6737. "4.x",
  6738. "4.x"
  6739. ]
  6740. ]
  6741. },
  6742. "browserSdkVersion": "4.x",
  6743. "dateCreated": "2018-11-06T21:20:07.941Z",
  6744. "dsn": {
  6745. "cdn": "https://sentry.io/js-sdk-loader/cec9dfceb0b74c1c9a5e3c135585f364.min.js",
  6746. "csp": "https://sentry.io/api/2/csp-report/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6747. "minidump": "https://sentry.io/api/2/minidump/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6748. "public": "https://cec9dfceb0b74c1c9a5e3c135585f364@sentry.io/2",
  6749. "secret": "https://cec9dfceb0b74c1c9a5e3c135585f364:4f6a592349e249c5906918393766718d@sentry.io/2",
  6750. "security": "https://sentry.io/api/2/security/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364"
  6751. },
  6752. "id": "cec9dfceb0b74c1c9a5e3c135585f364",
  6753. "isActive": true,
  6754. "label": "Fabulous Key",
  6755. "name": "Fabulous Key",
  6756. "projectId": 2,
  6757. "public": "cec9dfceb0b74c1c9a5e3c135585f364",
  6758. "rateLimit": null,
  6759. "secret": "4f6a592349e249c5906918393766718d"
  6760. }
  6761. }
  6762. }
  6763. },
  6764. "403": {
  6765. "description": "Forbidden"
  6766. },
  6767. "404": {
  6768. "description": "The requested resource does not exist"
  6769. }
  6770. },
  6771. "security": [
  6772. {
  6773. "auth_token": [
  6774. "project:write"
  6775. ]
  6776. }
  6777. ]
  6778. }
  6779. },
  6780. "/api/0/projects/{organization_slug}/{project_slug}/keys/{key_id}/": {
  6781. "put": {
  6782. "tags": [
  6783. "Projects"
  6784. ],
  6785. "description": "Update a client key. This can be used to rename a key.",
  6786. "operationId": "Update a client Key",
  6787. "parameters": [
  6788. {
  6789. "name": "organization_slug",
  6790. "in": "path",
  6791. "description": "The slug of the organization the client keys belong to.",
  6792. "required": true,
  6793. "schema": {
  6794. "type": "string"
  6795. }
  6796. },
  6797. {
  6798. "name": "project_slug",
  6799. "in": "path",
  6800. "description": "The slug of the project the client keys belong to.",
  6801. "required": true,
  6802. "schema": {
  6803. "type": "string"
  6804. }
  6805. },
  6806. {
  6807. "name": "key_id",
  6808. "in": "path",
  6809. "description": "The ID of the key to update.",
  6810. "required": true,
  6811. "schema": {
  6812. "type": "string"
  6813. }
  6814. }
  6815. ],
  6816. "requestBody": {
  6817. "content": {
  6818. "application/json": {
  6819. "schema": {
  6820. "type": "object",
  6821. "properties": {
  6822. "name": {
  6823. "type": "string",
  6824. "description": "The new name for the client key."
  6825. }
  6826. }
  6827. },
  6828. "example": {
  6829. "name": "Fluffy Key"
  6830. }
  6831. }
  6832. },
  6833. "required": true
  6834. },
  6835. "responses": {
  6836. "200": {
  6837. "description": "Success.",
  6838. "content": {
  6839. "application/json": {
  6840. "schema": {
  6841. "type": "object",
  6842. "required": [
  6843. "browserSdk",
  6844. "browserSdkVersion",
  6845. "dateCreated",
  6846. "dsn",
  6847. "id",
  6848. "isActive",
  6849. "label",
  6850. "name",
  6851. "projectId",
  6852. "public",
  6853. "rateLimit",
  6854. "secret"
  6855. ],
  6856. "properties": {
  6857. "browserSdk": {
  6858. "type": "object",
  6859. "properties": {
  6860. "choices": {
  6861. "type": "array",
  6862. "items": {
  6863. "type": "array",
  6864. "items": {
  6865. "type": "string"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "browserSdkVersion": {
  6872. "type": "string"
  6873. },
  6874. "dateCreated": {
  6875. "type": "string"
  6876. },
  6877. "dsn": {
  6878. "type": "object",
  6879. "required": [
  6880. "cdn",
  6881. "csp",
  6882. "minidump",
  6883. "public",
  6884. "secret",
  6885. "security"
  6886. ],
  6887. "properties": {
  6888. "cdn": {
  6889. "type": "string"
  6890. },
  6891. "csp": {
  6892. "type": "string"
  6893. },
  6894. "minidump": {
  6895. "type": "string"
  6896. },
  6897. "public": {
  6898. "type": "string"
  6899. },
  6900. "secret": {
  6901. "type": "string"
  6902. },
  6903. "security": {
  6904. "type": "string"
  6905. }
  6906. }
  6907. },
  6908. "id": {
  6909. "type": "string"
  6910. },
  6911. "isActive": {
  6912. "type": "boolean"
  6913. },
  6914. "label": {
  6915. "type": "string"
  6916. },
  6917. "name": {
  6918. "type": "string"
  6919. },
  6920. "projectId": {
  6921. "type": "integer"
  6922. },
  6923. "public": {
  6924. "type": "string"
  6925. },
  6926. "rateLimit": {
  6927. "type": "string",
  6928. "nullable": true
  6929. },
  6930. "secret": {
  6931. "type": "string"
  6932. }
  6933. }
  6934. },
  6935. "example": {
  6936. "browserSdk": {
  6937. "choices": [
  6938. [
  6939. "latest",
  6940. "latest"
  6941. ],
  6942. [
  6943. "4.x",
  6944. "4.x"
  6945. ]
  6946. ]
  6947. },
  6948. "browserSdkVersion": "4.x",
  6949. "dateCreated": "2018-11-06T21:20:07.941Z",
  6950. "dsn": {
  6951. "cdn": "https://sentry.io/js-sdk-loader/cec9dfceb0b74c1c9a5e3c135585f364.min.js",
  6952. "csp": "https://sentry.io/api/2/csp-report/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6953. "minidump": "https://sentry.io/api/2/minidump/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364",
  6954. "public": "https://cec9dfceb0b74c1c9a5e3c135585f364@sentry.io/2",
  6955. "secret": "https://cec9dfceb0b74c1c9a5e3c135585f364:4f6a592349e249c5906918393766718d@sentry.io/2",
  6956. "security": "https://sentry.io/api/2/security/?sentry_key=cec9dfceb0b74c1c9a5e3c135585f364"
  6957. },
  6958. "id": "cec9dfceb0b74c1c9a5e3c135585f364",
  6959. "isActive": true,
  6960. "label": "Fabulous Key",
  6961. "name": "Fabulous Key",
  6962. "projectId": 2,
  6963. "public": "cec9dfceb0b74c1c9a5e3c135585f364",
  6964. "rateLimit": null,
  6965. "secret": "4f6a592349e249c5906918393766718d"
  6966. }
  6967. }
  6968. }
  6969. },
  6970. "400": {
  6971. "description": "Bad Input"
  6972. },
  6973. "403": {
  6974. "description": "Forbidden"
  6975. },
  6976. "404": {
  6977. "description": "Project not found"
  6978. }
  6979. },
  6980. "security": [
  6981. {
  6982. "auth_token": [
  6983. "project:write"
  6984. ]
  6985. }
  6986. ]
  6987. },
  6988. "delete": {
  6989. "tags": [
  6990. "Projects"
  6991. ],
  6992. "description": "Delete a client key.",
  6993. "operationId": "Delete a client Key",
  6994. "parameters": [
  6995. {
  6996. "name": "organization_slug",
  6997. "in": "path",
  6998. "description": "The slug of the organization the client keys belong to.",
  6999. "required": true,
  7000. "schema": {
  7001. "type": "string"
  7002. }
  7003. },
  7004. {
  7005. "name": "project_slug",
  7006. "in": "path",
  7007. "description": "The slug of the project the client keys belong to.",
  7008. "required": true,
  7009. "schema": {
  7010. "type": "string"
  7011. }
  7012. },
  7013. {
  7014. "name": "key_id",
  7015. "in": "path",
  7016. "description": "The ID of the key to delete.",
  7017. "required": true,
  7018. "schema": {
  7019. "type": "string"
  7020. }
  7021. }
  7022. ],
  7023. "responses": {
  7024. "204": {
  7025. "description": "Success."
  7026. },
  7027. "403": {
  7028. "description": "Forbidden"
  7029. },
  7030. "404": {
  7031. "description": "Project not found"
  7032. }
  7033. },
  7034. "security": [
  7035. {
  7036. "auth_token": [
  7037. "project:admin"
  7038. ]
  7039. }
  7040. ]
  7041. }
  7042. },
  7043. "/api/0/projects/{organization_slug}/{project_slug}/hooks/": {
  7044. "get": {
  7045. "tags": [
  7046. "Projects"
  7047. ],
  7048. "description": "Return a list of service hooks bound to a project.",
  7049. "operationId": "List a project's service hooks",
  7050. "parameters": [
  7051. {
  7052. "name": "organization_slug",
  7053. "in": "path",
  7054. "description": "The slug of the organization the client keys belong to.",
  7055. "required": true,
  7056. "schema": {
  7057. "type": "string"
  7058. }
  7059. },
  7060. {
  7061. "name": "project_slug",
  7062. "in": "path",
  7063. "description": "The slug of the project the client keys belong to.",
  7064. "required": true,
  7065. "schema": {
  7066. "type": "string"
  7067. }
  7068. }
  7069. ],
  7070. "responses": {
  7071. "200": {
  7072. "description": "Success.",
  7073. "content": {
  7074. "application/json": {
  7075. "schema": {
  7076. "type": "array",
  7077. "items": {
  7078. "type": "object",
  7079. "required": [
  7080. "dateCreated",
  7081. "events",
  7082. "id",
  7083. "secret",
  7084. "status",
  7085. "url"
  7086. ],
  7087. "properties": {
  7088. "dateCreated": {
  7089. "type": "string"
  7090. },
  7091. "events": {
  7092. "type": "array",
  7093. "items": {
  7094. "type": "string"
  7095. }
  7096. },
  7097. "id": {
  7098. "type": "string"
  7099. },
  7100. "secret": {
  7101. "type": "string"
  7102. },
  7103. "status": {
  7104. "type": "string"
  7105. },
  7106. "url": {
  7107. "type": "string"
  7108. }
  7109. }
  7110. }
  7111. },
  7112. "example": [
  7113. {
  7114. "dateCreated": "2018-11-06T21:20:08.143Z",
  7115. "events": [
  7116. "event.alert",
  7117. "event.created"
  7118. ],
  7119. "id": "4f9d73e63b7144ecb8944c41620a090b",
  7120. "secret": "8fcac28aaa4c4f5fa572b61d40a8e084364db25fd37449c299e5a41c0504cbc2",
  7121. "status": "active",
  7122. "url": "https://example.com/sentry-hook"
  7123. }
  7124. ]
  7125. }
  7126. }
  7127. },
  7128. "403": {
  7129. "description": "You do not have that feature enabled"
  7130. }
  7131. },
  7132. "security": [
  7133. {
  7134. "auth_token": [
  7135. "project:read"
  7136. ]
  7137. }
  7138. ]
  7139. },
  7140. "post": {
  7141. "tags": [
  7142. "Projects"
  7143. ],
  7144. "description": "Register a new service hook on a project.\n\nEvents include:\n\n- event.alert: An alert is generated for an event (via rules).\n- event.created: A new event has been processed.\n\nThis endpoint requires the 'servicehooks' feature to be enabled for your project.",
  7145. "operationId": "Register a new service hook",
  7146. "parameters": [
  7147. {
  7148. "name": "organization_slug",
  7149. "in": "path",
  7150. "description": "The slug of the organization the client keys belong to.",
  7151. "required": true,
  7152. "schema": {
  7153. "type": "string"
  7154. }
  7155. },
  7156. {
  7157. "name": "project_slug",
  7158. "in": "path",
  7159. "description": "The slug of the project the client keys belong to.",
  7160. "required": true,
  7161. "schema": {
  7162. "type": "string"
  7163. }
  7164. }
  7165. ],
  7166. "requestBody": {
  7167. "content": {
  7168. "application/json": {
  7169. "schema": {
  7170. "required": [
  7171. "url",
  7172. "events"
  7173. ],
  7174. "type": "object",
  7175. "properties": {
  7176. "url": {
  7177. "type": "string",
  7178. "description": "The url for the webhook."
  7179. },
  7180. "events": {
  7181. "type": "array",
  7182. "description": "The events to subscribe to.",
  7183. "items": {
  7184. "type": "string"
  7185. }
  7186. }
  7187. }
  7188. },
  7189. "example": {
  7190. "events": [
  7191. "event.alert",
  7192. "event.created"
  7193. ],
  7194. "url": "https://example.com/sentry-hook"
  7195. }
  7196. }
  7197. },
  7198. "required": true
  7199. },
  7200. "responses": {
  7201. "201": {
  7202. "description": "Success.",
  7203. "content": {
  7204. "application/json": {
  7205. "schema": {
  7206. "type": "object",
  7207. "required": [
  7208. "dateCreated",
  7209. "events",
  7210. "id",
  7211. "secret",
  7212. "status",
  7213. "url"
  7214. ],
  7215. "properties": {
  7216. "dateCreated": {
  7217. "type": "string"
  7218. },
  7219. "events": {
  7220. "type": "array",
  7221. "items": {
  7222. "type": "string"
  7223. }
  7224. },
  7225. "id": {
  7226. "type": "string"
  7227. },
  7228. "secret": {
  7229. "type": "string"
  7230. },
  7231. "status": {
  7232. "type": "string"
  7233. },
  7234. "url": {
  7235. "type": "string"
  7236. }
  7237. }
  7238. },
  7239. "example": {
  7240. "dateCreated": "2018-11-06T21:20:08.143Z",
  7241. "events": [
  7242. "event.alert",
  7243. "event.created"
  7244. ],
  7245. "id": "4f9d73e63b7144ecb8944c41620a090b",
  7246. "secret": "8fcac28aaa4c4f5fa572b61d40a8e084364db25fd37449c299e5a41c0504cbc2",
  7247. "status": "active",
  7248. "url": "https://example.com/sentry-hook"
  7249. }
  7250. }
  7251. }
  7252. },
  7253. "403": {
  7254. "description": "You do not have that feature enabled"
  7255. },
  7256. "404": {
  7257. "description": "The requested resource does not exist"
  7258. }
  7259. },
  7260. "security": [
  7261. {
  7262. "auth_token": [
  7263. "project:write"
  7264. ]
  7265. }
  7266. ]
  7267. }
  7268. },
  7269. "/api/0/projects/{organization_slug}/{project_slug}/hooks/{hook_id}/": {
  7270. "get": {
  7271. "tags": [
  7272. "Projects"
  7273. ],
  7274. "description": "Return a service hook bound to a project.",
  7275. "operationId": "Retrieve a service hook",
  7276. "parameters": [
  7277. {
  7278. "name": "organization_slug",
  7279. "in": "path",
  7280. "description": "The slug of the organization the client keys belong to.",
  7281. "required": true,
  7282. "schema": {
  7283. "type": "string"
  7284. }
  7285. },
  7286. {
  7287. "name": "project_slug",
  7288. "in": "path",
  7289. "description": "The slug of the project the client keys belong to.",
  7290. "required": true,
  7291. "schema": {
  7292. "type": "string"
  7293. }
  7294. },
  7295. {
  7296. "name": "hook_id",
  7297. "in": "path",
  7298. "description": "The GUID of the service hook.",
  7299. "required": true,
  7300. "schema": {
  7301. "type": "string"
  7302. }
  7303. }
  7304. ],
  7305. "responses": {
  7306. "200": {
  7307. "description": "Success.",
  7308. "content": {
  7309. "application/json": {
  7310. "schema": {
  7311. "type": "object",
  7312. "required": [
  7313. "dateCreated",
  7314. "events",
  7315. "id",
  7316. "secret",
  7317. "status",
  7318. "url"
  7319. ],
  7320. "properties": {
  7321. "dateCreated": {
  7322. "type": "string"
  7323. },
  7324. "events": {
  7325. "type": "array",
  7326. "items": {
  7327. "type": "string"
  7328. }
  7329. },
  7330. "id": {
  7331. "type": "string"
  7332. },
  7333. "secret": {
  7334. "type": "string"
  7335. },
  7336. "status": {
  7337. "type": "string"
  7338. },
  7339. "url": {
  7340. "type": "string"
  7341. }
  7342. }
  7343. },
  7344. "example": {
  7345. "dateCreated": "2018-11-06T21:20:08.143Z",
  7346. "events": [
  7347. "event.alert",
  7348. "event.created"
  7349. ],
  7350. "id": "4f9d73e63b7144ecb8944c41620a090b",
  7351. "secret": "8fcac28aaa4c4f5fa572b61d40a8e084364db25fd37449c299e5a41c0504cbc2",
  7352. "status": "active",
  7353. "url": "https://example.com/sentry-hook"
  7354. }
  7355. }
  7356. }
  7357. },
  7358. "403": {
  7359. "description": "Forbidden"
  7360. },
  7361. "404": {
  7362. "description": "The requested resource does not exist"
  7363. }
  7364. },
  7365. "security": [
  7366. {
  7367. "auth_token": [
  7368. "project:read"
  7369. ]
  7370. }
  7371. ]
  7372. },
  7373. "put": {
  7374. "tags": [
  7375. "Projects"
  7376. ],
  7377. "description": "Update a service hook",
  7378. "operationId": "Update a service hook",
  7379. "parameters": [
  7380. {
  7381. "name": "organization_slug",
  7382. "in": "path",
  7383. "description": "The slug of the organization the client keys belong to.",
  7384. "required": true,
  7385. "schema": {
  7386. "type": "string"
  7387. }
  7388. },
  7389. {
  7390. "name": "project_slug",
  7391. "in": "path",
  7392. "description": "The slug of the project the client keys belong to.",
  7393. "required": true,
  7394. "schema": {
  7395. "type": "string"
  7396. }
  7397. },
  7398. {
  7399. "name": "hook_id",
  7400. "in": "path",
  7401. "description": "The GUID of the service hook.",
  7402. "required": true,
  7403. "schema": {
  7404. "type": "string"
  7405. }
  7406. }
  7407. ],
  7408. "requestBody": {
  7409. "content": {
  7410. "application/json": {
  7411. "schema": {
  7412. "required": [
  7413. "url",
  7414. "events"
  7415. ],
  7416. "type": "object",
  7417. "properties": {
  7418. "url": {
  7419. "type": "string",
  7420. "description": "The url for the webhook."
  7421. },
  7422. "events": {
  7423. "type": "array",
  7424. "description": "The events to subscribe to.",
  7425. "items": {
  7426. "type": "string"
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "example": {
  7432. "events": [
  7433. "event.alert",
  7434. "event.created"
  7435. ],
  7436. "url": "https://example.com/sentry-hook"
  7437. }
  7438. }
  7439. },
  7440. "required": false
  7441. },
  7442. "responses": {
  7443. "200": {
  7444. "description": "Success.",
  7445. "content": {
  7446. "application/json": {
  7447. "schema": {
  7448. "type": "object",
  7449. "required": [
  7450. "dateCreated",
  7451. "events",
  7452. "id",
  7453. "secret",
  7454. "status",
  7455. "url"
  7456. ],
  7457. "properties": {
  7458. "dateCreated": {
  7459. "type": "string"
  7460. },
  7461. "events": {
  7462. "type": "array",
  7463. "items": {
  7464. "type": "string"
  7465. }
  7466. },
  7467. "id": {
  7468. "type": "string"
  7469. },
  7470. "secret": {
  7471. "type": "string"
  7472. },
  7473. "status": {
  7474. "type": "string"
  7475. },
  7476. "url": {
  7477. "type": "string"
  7478. }
  7479. }
  7480. },
  7481. "example": {
  7482. "dateCreated": "2018-11-06T21:20:08.143Z",
  7483. "events": [
  7484. "event.alert",
  7485. "event.created"
  7486. ],
  7487. "id": "4f9d73e63b7144ecb8944c41620a090b",
  7488. "secret": "8fcac28aaa4c4f5fa572b61d40a8e084364db25fd37449c299e5a41c0504cbc2",
  7489. "status": "active",
  7490. "url": "https://example.com/sentry-hook"
  7491. }
  7492. }
  7493. }
  7494. },
  7495. "403": {
  7496. "description": "Forbidden"
  7497. },
  7498. "404": {
  7499. "description": "The requested resource does not exist"
  7500. }
  7501. },
  7502. "security": [
  7503. {
  7504. "auth_token": [
  7505. "project:write"
  7506. ]
  7507. }
  7508. ]
  7509. },
  7510. "delete": {
  7511. "tags": [
  7512. "Projects"
  7513. ],
  7514. "description": "Remove a service hook",
  7515. "operationId": "Remove a service hook",
  7516. "parameters": [
  7517. {
  7518. "name": "organization_slug",
  7519. "in": "path",
  7520. "description": "The slug of the organization the client keys belong to.",
  7521. "required": true,
  7522. "schema": {
  7523. "type": "string"
  7524. }
  7525. },
  7526. {
  7527. "name": "project_slug",
  7528. "in": "path",
  7529. "description": "The slug of the project the client keys belong to.",
  7530. "required": true,
  7531. "schema": {
  7532. "type": "string"
  7533. }
  7534. },
  7535. {
  7536. "name": "hook_id",
  7537. "in": "path",
  7538. "description": "The GUID of the service hook.",
  7539. "required": true,
  7540. "schema": {
  7541. "type": "string"
  7542. }
  7543. }
  7544. ],
  7545. "responses": {
  7546. "204": {
  7547. "description": "Success."
  7548. },
  7549. "403": {
  7550. "description": "Forbidden"
  7551. },
  7552. "404": {
  7553. "description": "The requested resource does not exist"
  7554. }
  7555. },
  7556. "security": [
  7557. {
  7558. "auth_token": [
  7559. "project:admin"
  7560. ]
  7561. }
  7562. ]
  7563. }
  7564. },
  7565. "/api/0/projects/{organization_slug}/{project_slug}/events/{event_id}/": {
  7566. "get": {
  7567. "tags": [
  7568. "Events"
  7569. ],
  7570. "description": "Return details on an individual event.",
  7571. "operationId": "Retrieve an event for a project",
  7572. "parameters": [
  7573. {
  7574. "name": "organization_slug",
  7575. "in": "path",
  7576. "description": "The slug of the organization the event belongs to.",
  7577. "required": true,
  7578. "schema": {
  7579. "type": "string"
  7580. }
  7581. },
  7582. {
  7583. "name": "project_slug",
  7584. "in": "path",
  7585. "description": "The slug of the project the event belongs to.",
  7586. "required": true,
  7587. "schema": {
  7588. "type": "string"
  7589. }
  7590. },
  7591. {
  7592. "name": "event_id",
  7593. "in": "path",
  7594. "description": "The ID of the event to retrieve (either the numeric primary-key or the hexadecimal ID as reported by the client)",
  7595. "required": true,
  7596. "schema": {
  7597. "type": "string"
  7598. }
  7599. }
  7600. ],
  7601. "responses": {
  7602. "200": {
  7603. "description": "Success.",
  7604. "content": {
  7605. "application/json": {
  7606. "schema": {
  7607. "type": "object"
  7608. }
  7609. }
  7610. }
  7611. },
  7612. "403": {
  7613. "description": "Forbidden"
  7614. }
  7615. },
  7616. "security": [
  7617. {
  7618. "auth_token": [
  7619. "project:read"
  7620. ]
  7621. }
  7622. ]
  7623. }
  7624. },
  7625. "/api/0/projects/{organization_slug}/{project_slug}/events/": {
  7626. "get": {
  7627. "tags": [
  7628. "Events"
  7629. ],
  7630. "description": "Return a list of events bound to a project.",
  7631. "operationId": "List a project's events",
  7632. "parameters": [
  7633. {
  7634. "name": "organization_slug",
  7635. "in": "path",
  7636. "description": "The slug of the organization the groups belong to.",
  7637. "required": true,
  7638. "schema": {
  7639. "type": "string"
  7640. }
  7641. },
  7642. {
  7643. "name": "project_slug",
  7644. "in": "path",
  7645. "description": "The slug of the project the groups belong to.",
  7646. "required": true,
  7647. "schema": {
  7648. "type": "string"
  7649. }
  7650. },
  7651. {
  7652. "name": "full",
  7653. "in": "query",
  7654. "description": "If this is set to true then the event payload will include the full event body, including the stacktrace. \nSet to true to enable.",
  7655. "schema": {
  7656. "type": "boolean"
  7657. }
  7658. }
  7659. ],
  7660. "responses": {
  7661. "200": {
  7662. "description": "Success.",
  7663. "content": {
  7664. "application/json": {
  7665. "schema": {
  7666. "type": "array",
  7667. "items": {
  7668. "type": "object"
  7669. }
  7670. }
  7671. }
  7672. }
  7673. },
  7674. "403": {
  7675. "description": "Forbidden"
  7676. }
  7677. },
  7678. "security": [
  7679. {
  7680. "auth_token": [
  7681. "project:read"
  7682. ]
  7683. }
  7684. ]
  7685. }
  7686. },
  7687. "/api/0/projects/{organization_slug}/{project_slug}/issues/": {
  7688. "get": {
  7689. "tags": [
  7690. "Events"
  7691. ],
  7692. "description": "Return a list of issues (groups) bound to a project. All parameters are supplied as query string parameters. \n\n A default query of ``is:unresolved`` is applied. To return results with other statuses send an new query value (i.e. ``?query=`` for all results).\n\nThe ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``\"\"`` (disable),``\"24h\"``, ``\"14d\"``",
  7693. "operationId": "List a project's issues",
  7694. "parameters": [
  7695. {
  7696. "name": "organization_slug",
  7697. "in": "path",
  7698. "description": "The slug of the organization the issues belong to.",
  7699. "required": true,
  7700. "schema": {
  7701. "type": "string"
  7702. }
  7703. },
  7704. {
  7705. "name": "project_slug",
  7706. "in": "path",
  7707. "description": "The slug of the project the issues belong to.",
  7708. "required": true,
  7709. "schema": {
  7710. "type": "string"
  7711. }
  7712. },
  7713. {
  7714. "name": "statsPeriod",
  7715. "in": "query",
  7716. "description": "An optional stat period (can be one of `\"24h\"`, `\"14d\"`, and `\"\"`).",
  7717. "schema": {
  7718. "type": "string"
  7719. }
  7720. },
  7721. {
  7722. "name": "shortIdLookup",
  7723. "in": "query",
  7724. "description": "If this is set to true then short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in. Set to 1 to enable.",
  7725. "schema": {
  7726. "type": "boolean"
  7727. }
  7728. },
  7729. {
  7730. "name": "query",
  7731. "in": "query",
  7732. "description": "An optional Sentry structured search query. If not provided an implied `\"is:unresolved\"` is assumed.",
  7733. "schema": {
  7734. "type": "string"
  7735. }
  7736. }
  7737. ],
  7738. "responses": {
  7739. "200": {
  7740. "description": "Success.",
  7741. "content": {
  7742. "application/json": {
  7743. "schema": {
  7744. "type": "array",
  7745. "items": {
  7746. "type": "object",
  7747. "required": [
  7748. "lastSeen",
  7749. "numComments",
  7750. "userCount",
  7751. "culprit",
  7752. "title",
  7753. "id",
  7754. "assignedTo",
  7755. "logger",
  7756. "stats",
  7757. "type",
  7758. "annotations",
  7759. "metadata",
  7760. "status",
  7761. "subscriptionDetails",
  7762. "isPublic",
  7763. "hasSeen",
  7764. "shortId",
  7765. "shareId",
  7766. "firstSeen",
  7767. "count",
  7768. "permalink",
  7769. "level",
  7770. "isSubscribed",
  7771. "isBookmarked",
  7772. "project",
  7773. "statusDetails"
  7774. ],
  7775. "properties": {
  7776. "annotations": {
  7777. "type": "array",
  7778. "items": {
  7779. "type": "string"
  7780. }
  7781. },
  7782. "assignedTo": {
  7783. "type": "object",
  7784. "nullable": true
  7785. },
  7786. "count": {
  7787. "type": "string"
  7788. },
  7789. "culprit": {
  7790. "type": "string"
  7791. },
  7792. "firstSeen": {
  7793. "type": "string"
  7794. },
  7795. "hasSeen": {
  7796. "type": "boolean"
  7797. },
  7798. "id": {
  7799. "type": "string"
  7800. },
  7801. "isBookmarked": {
  7802. "type": "boolean"
  7803. },
  7804. "isPublic": {
  7805. "type": "boolean"
  7806. },
  7807. "isSubscribed": {
  7808. "type": "boolean"
  7809. },
  7810. "lastSeen": {
  7811. "type": "string"
  7812. },
  7813. "level": {
  7814. "type": "string"
  7815. },
  7816. "logger": {
  7817. "type": "string",
  7818. "nullable": true
  7819. },
  7820. "metadata": {
  7821. "oneOf": [
  7822. {
  7823. "type": "object",
  7824. "required": [
  7825. "filename",
  7826. "type",
  7827. "value"
  7828. ],
  7829. "properties": {
  7830. "filename": {
  7831. "type": "string"
  7832. },
  7833. "type": {
  7834. "type": "string"
  7835. },
  7836. "value": {
  7837. "type": "string"
  7838. }
  7839. }
  7840. },
  7841. {
  7842. "type": "object",
  7843. "required": [
  7844. "title"
  7845. ],
  7846. "properties": {
  7847. "title": {
  7848. "type": "string"
  7849. }
  7850. }
  7851. }
  7852. ]
  7853. },
  7854. "numComments": {
  7855. "type": "integer"
  7856. },
  7857. "permalink": {
  7858. "type": "string"
  7859. },
  7860. "project": {
  7861. "type": "object",
  7862. "properties": {
  7863. "id": {
  7864. "type": "string"
  7865. },
  7866. "name": {
  7867. "type": "string"
  7868. },
  7869. "slug": {
  7870. "type": "string"
  7871. }
  7872. }
  7873. },
  7874. "shareId": {
  7875. "type": "string",
  7876. "nullable": true
  7877. },
  7878. "shortId": {
  7879. "type": "string"
  7880. },
  7881. "stats": {
  7882. "type": "object",
  7883. "properties": {
  7884. "24h": {
  7885. "type": "array",
  7886. "items": {
  7887. "type": "array",
  7888. "items": {
  7889. "type": "number"
  7890. }
  7891. }
  7892. }
  7893. }
  7894. },
  7895. "status": {
  7896. "type": "string",
  7897. "enum": [
  7898. "resolved",
  7899. "unresolved",
  7900. "ignored"
  7901. ]
  7902. },
  7903. "statusDetails": {
  7904. "type": "object"
  7905. },
  7906. "subscriptionDetails": {
  7907. "type": "object",
  7908. "nullable": true
  7909. },
  7910. "title": {
  7911. "type": "string"
  7912. },
  7913. "type": {
  7914. "type": "string"
  7915. },
  7916. "userCount": {
  7917. "type": "integer"
  7918. }
  7919. }
  7920. }
  7921. },
  7922. "example": [
  7923. {
  7924. "annotations": [],
  7925. "assignedTo": null,
  7926. "count": "1",
  7927. "culprit": "raven.scripts.runner in main",
  7928. "firstSeen": "2018-11-06T21:19:55Z",
  7929. "hasSeen": false,
  7930. "id": "1",
  7931. "isBookmarked": false,
  7932. "isPublic": false,
  7933. "isSubscribed": true,
  7934. "lastSeen": "2018-11-06T21:19:55Z",
  7935. "level": "error",
  7936. "logger": null,
  7937. "metadata": {
  7938. "title": "This is an example Python exception"
  7939. },
  7940. "numComments": 0,
  7941. "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
  7942. "project": {
  7943. "id": "2",
  7944. "name": "Pump Station",
  7945. "slug": "pump-station"
  7946. },
  7947. "shareId": null,
  7948. "shortId": "PUMP-STATION-1",
  7949. "stats": {
  7950. "24h": [
  7951. [
  7952. 1541455200,
  7953. 473
  7954. ],
  7955. [
  7956. 1541458800,
  7957. 914
  7958. ],
  7959. [
  7960. 1541462400,
  7961. 991
  7962. ],
  7963. [
  7964. 1541466000,
  7965. 925
  7966. ],
  7967. [
  7968. 1541469600,
  7969. 881
  7970. ],
  7971. [
  7972. 1541473200,
  7973. 182
  7974. ],
  7975. [
  7976. 1541476800,
  7977. 490
  7978. ],
  7979. [
  7980. 1541480400,
  7981. 820
  7982. ],
  7983. [
  7984. 1541484000,
  7985. 322
  7986. ],
  7987. [
  7988. 1541487600,
  7989. 836
  7990. ],
  7991. [
  7992. 1541491200,
  7993. 565
  7994. ],
  7995. [
  7996. 1541494800,
  7997. 758
  7998. ],
  7999. [
  8000. 1541498400,
  8001. 880
  8002. ],
  8003. [
  8004. 1541502000,
  8005. 677
  8006. ],
  8007. [
  8008. 1541505600,
  8009. 381
  8010. ],
  8011. [
  8012. 1541509200,
  8013. 814
  8014. ],
  8015. [
  8016. 1541512800,
  8017. 329
  8018. ],
  8019. [
  8020. 1541516400,
  8021. 446
  8022. ],
  8023. [
  8024. 1541520000,
  8025. 731
  8026. ],
  8027. [
  8028. 1541523600,
  8029. 111
  8030. ],
  8031. [
  8032. 1541527200,
  8033. 926
  8034. ],
  8035. [
  8036. 1541530800,
  8037. 772
  8038. ],
  8039. [
  8040. 1541534400,
  8041. 400
  8042. ],
  8043. [
  8044. 1541538000,
  8045. 943
  8046. ]
  8047. ]
  8048. },
  8049. "status": "unresolved",
  8050. "statusDetails": {},
  8051. "subscriptionDetails": null,
  8052. "title": "This is an example Python exception",
  8053. "type": "default",
  8054. "userCount": 0
  8055. }
  8056. ]
  8057. }
  8058. }
  8059. },
  8060. "403": {
  8061. "description": "Forbidden"
  8062. }
  8063. },
  8064. "security": [
  8065. {
  8066. "auth_token": [
  8067. "project:read"
  8068. ]
  8069. }
  8070. ]
  8071. },
  8072. "put": {
  8073. "tags": [
  8074. "Events"
  8075. ],
  8076. "description": "Bulk mutate various attributes on issues. The list of issues to modify is given through the `id` query parameter. It is repeated for each issue that should be modified.\n\n- For non-status updates, the `id` query parameter is required.\n- For status updates, the `id` query parameter may be omitted\nfor a batch \"update all\" query.\n- An optional `status` query parameter may be used to restrict\nmutations to only events with the given status.\n\nThe following attributes can be modified and are supplied as JSON object in the body:\n\nIf any ids are out of scope this operation will succeed without any data mutation.",
  8077. "operationId": "Bulk Mutate a List of Issues",
  8078. "parameters": [
  8079. {
  8080. "name": "organization_slug",
  8081. "in": "path",
  8082. "description": "The slug of the organization the issues belong to.",
  8083. "required": true,
  8084. "schema": {
  8085. "type": "string"
  8086. }
  8087. },
  8088. {
  8089. "name": "project_slug",
  8090. "in": "path",
  8091. "description": "The slug of the project the issues belong to.",
  8092. "required": true,
  8093. "schema": {
  8094. "type": "string"
  8095. }
  8096. },
  8097. {
  8098. "name": "id",
  8099. "in": "query",
  8100. "description": "A list of IDs of the issues to be mutated. This parameter shall be repeated for each issue. It is optional only if a status is mutated in which case an implicit update all is assumed.",
  8101. "required": false,
  8102. "schema": {
  8103. "type": "integer"
  8104. }
  8105. },
  8106. {
  8107. "name": "status",
  8108. "in": "query",
  8109. "description": "Optionally limits the query to issues of the specified status. Valid values are `\"resolved\"`, `\"unresolved\"` and `\"ignored\"`.",
  8110. "required": false,
  8111. "schema": {
  8112. "type": "string"
  8113. }
  8114. }
  8115. ],
  8116. "requestBody": {
  8117. "content": {
  8118. "application/json": {
  8119. "schema": {
  8120. "type": "object",
  8121. "properties": {
  8122. "status": {
  8123. "type": "string",
  8124. "description": "The new status for the issues. Valid values are `\"resolved\"`, `\"resolvedInNextRelease\"`, `\"unresolved\"`, and `\"ignored\"`.",
  8125. "example": "unresolved"
  8126. },
  8127. "statusDetails": {
  8128. "type": "object",
  8129. "properties": {
  8130. "inRelease": {
  8131. "type": "string"
  8132. },
  8133. "inNextRelease": {
  8134. "type": "boolean"
  8135. },
  8136. "inCommit": {
  8137. "type": "string"
  8138. },
  8139. "ignoreDuration": {
  8140. "type": "integer"
  8141. },
  8142. "ignoreCount": {
  8143. "type": "integer"
  8144. },
  8145. "ignoreWindow": {
  8146. "type": "integer"
  8147. },
  8148. "ignoreUserCount": {
  8149. "type": "integer"
  8150. },
  8151. "ignoreUserWindow": {
  8152. "type": "integer"
  8153. }
  8154. },
  8155. "description": "Additional details about the resolution. Valid values are `\"inRelease\"`, `\"inNextRelease\"`, `\"inCommit\"`, `\"ignoreDuration\"`, `\"ignoreCount\"`, `\"ignoreWindow\"`, `\"ignoreUserCount\"`, and `\"ignoreUserWindow\"`."
  8156. },
  8157. "ignoreDuration": {
  8158. "type": "integer",
  8159. "description": "The number of minutes to ignore this issue."
  8160. },
  8161. "isPublic": {
  8162. "type": "boolean",
  8163. "description": "Sets the issue to public or private.",
  8164. "example": false
  8165. },
  8166. "merge": {
  8167. "type": "boolean",
  8168. "description": "Allows to merge or unmerge different issues."
  8169. },
  8170. "assignedTo": {
  8171. "type": "string",
  8172. "description": "The actor id (or username) of the user or team that should be assigned to this issue."
  8173. },
  8174. "hasSeen": {
  8175. "type": "boolean",
  8176. "description": "In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event."
  8177. },
  8178. "isBookmarked": {
  8179. "type": "boolean",
  8180. "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
  8181. }
  8182. }
  8183. }
  8184. }
  8185. },
  8186. "required": true
  8187. },
  8188. "responses": {
  8189. "200": {
  8190. "description": "Success.",
  8191. "content": {
  8192. "application/json": {
  8193. "schema": {
  8194. "type": "object",
  8195. "required": [
  8196. "isPublic",
  8197. "status",
  8198. "statusDetails"
  8199. ],
  8200. "properties": {
  8201. "isPublic": {
  8202. "type": "boolean"
  8203. },
  8204. "status": {
  8205. "type": "string",
  8206. "enum": [
  8207. "resolved",
  8208. "unresolved",
  8209. "ignored"
  8210. ]
  8211. },
  8212. "statusDetails": {
  8213. "type": "object"
  8214. }
  8215. }
  8216. },
  8217. "example": {
  8218. "isPublic": false,
  8219. "status": "unresolved",
  8220. "statusDetails": {}
  8221. }
  8222. }
  8223. }
  8224. },
  8225. "400": {
  8226. "description": "Bad Input"
  8227. },
  8228. "403": {
  8229. "description": "Forbidden"
  8230. },
  8231. "404": {
  8232. "description": "The requested resource does not exist"
  8233. }
  8234. },
  8235. "security": [
  8236. {
  8237. "auth_token": [
  8238. "project:write"
  8239. ]
  8240. }
  8241. ]
  8242. },
  8243. "delete": {
  8244. "tags": [
  8245. "Events"
  8246. ],
  8247. "description": "Permanently remove the given issues. The list of issues to modify is given through the `id` query parameter. It is repeated for each issue that should be removed.\n\nOnly queries by 'id' are accepted.\n\nIf any ids are out of scope this operation will succeed without any data mutation.",
  8248. "operationId": "Bulk Remove a List of Issues",
  8249. "parameters": [
  8250. {
  8251. "name": "organization_slug",
  8252. "in": "path",
  8253. "description": "The slug of the organization the issues belong to.",
  8254. "required": true,
  8255. "schema": {
  8256. "type": "string"
  8257. }
  8258. },
  8259. {
  8260. "name": "project_slug",
  8261. "in": "path",
  8262. "description": "The slug of the project the issues belong to.",
  8263. "required": true,
  8264. "schema": {
  8265. "type": "string"
  8266. }
  8267. },
  8268. {
  8269. "name": "id",
  8270. "in": "query",
  8271. "description": "A list of IDs of the issues to be removed. This parameter shall be repeated for each issue.",
  8272. "schema": {
  8273. "type": "integer"
  8274. }
  8275. }
  8276. ],
  8277. "responses": {
  8278. "204": {
  8279. "description": "Success."
  8280. },
  8281. "403": {
  8282. "description": "Forbidden"
  8283. },
  8284. "404": {
  8285. "description": "Project not found"
  8286. }
  8287. },
  8288. "security": [
  8289. {
  8290. "auth_token": [
  8291. "project:admin"
  8292. ]
  8293. }
  8294. ]
  8295. }
  8296. },
  8297. "/api/0/issues/{issue_id}/tags/{key}/values/": {
  8298. "get": {
  8299. "tags": [
  8300. "Events"
  8301. ],
  8302. "description": "Returns details for given tag key related to an issue.",
  8303. "operationId": "List a tag's values related to an issue",
  8304. "parameters": [
  8305. {
  8306. "name": "issue_id",
  8307. "in": "path",
  8308. "description": "The ID of the issue to retrieve.",
  8309. "required": true,
  8310. "schema": {
  8311. "type": "string"
  8312. }
  8313. },
  8314. {
  8315. "name": "key",
  8316. "in": "path",
  8317. "description": "The tag key to look the values up for.",
  8318. "required": true,
  8319. "schema": {
  8320. "type": "string"
  8321. }
  8322. }
  8323. ],
  8324. "responses": {
  8325. "200": {
  8326. "description": "Success.",
  8327. "content": {
  8328. "application/json": {
  8329. "schema": {
  8330. "type": "array",
  8331. "items": {
  8332. "type": "object",
  8333. "required": [
  8334. "key",
  8335. "value"
  8336. ],
  8337. "properties": {
  8338. "key": {
  8339. "type": "string"
  8340. },
  8341. "value": {
  8342. "type": "string"
  8343. }
  8344. }
  8345. },
  8346. "example": [
  8347. {
  8348. "key": "ice_cream",
  8349. "value": "mint_choco"
  8350. }
  8351. ]
  8352. }
  8353. }
  8354. }
  8355. },
  8356. "403": {
  8357. "description": "Forbidden"
  8358. }
  8359. },
  8360. "security": [
  8361. {
  8362. "auth_token": [
  8363. "event:read"
  8364. ]
  8365. }
  8366. ]
  8367. }
  8368. },
  8369. "/api/0/issues/{issue_id}/tags/{key}/": {
  8370. "get": {
  8371. "tags": [
  8372. "Events"
  8373. ],
  8374. "description": "Returns details for given tag key related to an issue.",
  8375. "operationId": "Retrieve tag details",
  8376. "parameters": [
  8377. {
  8378. "name": "issue_id",
  8379. "in": "path",
  8380. "description": "The ID of the issue to retrieve.",
  8381. "required": true,
  8382. "schema": {
  8383. "type": "string"
  8384. }
  8385. },
  8386. {
  8387. "name": "key",
  8388. "in": "path",
  8389. "description": "The tag key to look the values up for.",
  8390. "required": true,
  8391. "schema": {
  8392. "type": "string"
  8393. }
  8394. }
  8395. ],
  8396. "responses": {
  8397. "200": {
  8398. "description": "Success.",
  8399. "content": {
  8400. "application/json": {
  8401. "schema": {
  8402. "type": "object",
  8403. "required": [
  8404. "key",
  8405. "totalValues"
  8406. ],
  8407. "properties": {
  8408. "key": {
  8409. "type": "string"
  8410. },
  8411. "totalValues": {
  8412. "type": "integer"
  8413. }
  8414. },
  8415. "example": [
  8416. {
  8417. "key": "ice_cream",
  8418. "totalValues": 6
  8419. }
  8420. ]
  8421. }
  8422. }
  8423. }
  8424. },
  8425. "403": {
  8426. "description": "Forbidden"
  8427. }
  8428. },
  8429. "security": [
  8430. {
  8431. "auth_token": [
  8432. "event:read"
  8433. ]
  8434. }
  8435. ]
  8436. }
  8437. },
  8438. "/api/0/issues/{issue_id}/hashes/": {
  8439. "get": {
  8440. "tags": [
  8441. "Events"
  8442. ],
  8443. "description": "This endpoint lists an issue's hashes, which are the generated checksums used to aggregate individual events.",
  8444. "operationId": "List an issue's hashes",
  8445. "parameters": [
  8446. {
  8447. "name": "issue_id",
  8448. "in": "path",
  8449. "description": "The ID of the issue to retrieve.",
  8450. "required": true,
  8451. "schema": {
  8452. "type": "string"
  8453. }
  8454. }
  8455. ],
  8456. "responses": {
  8457. "200": {
  8458. "description": "Success.",
  8459. "content": {
  8460. "application/json": {
  8461. "schema": {
  8462. "type": "array",
  8463. "items": {
  8464. "type": "object",
  8465. "properties": {
  8466. "latestEvent": {
  8467. "type": "object"
  8468. },
  8469. "id": {
  8470. "type": "string"
  8471. },
  8472. "state": {
  8473. "type": "string",
  8474. "enum": [
  8475. "unlocked",
  8476. "locked_in_migration"
  8477. ]
  8478. }
  8479. }
  8480. }
  8481. }
  8482. }
  8483. }
  8484. },
  8485. "403": {
  8486. "description": "Forbidden"
  8487. }
  8488. },
  8489. "security": [
  8490. {
  8491. "auth_token": [
  8492. "event:read"
  8493. ]
  8494. }
  8495. ]
  8496. }
  8497. },
  8498. "/api/0/issues/{issue_id}/events/oldest/": {
  8499. "get": {
  8500. "tags": [
  8501. "Events"
  8502. ],
  8503. "description": "Retrieves the details of the oldest event for an issue.",
  8504. "operationId": "Retrieve the oldest event for an issue",
  8505. "parameters": [
  8506. {
  8507. "name": "issue_id",
  8508. "in": "path",
  8509. "description": "The ID of the issue.",
  8510. "required": true,
  8511. "schema": {
  8512. "type": "string"
  8513. }
  8514. }
  8515. ],
  8516. "responses": {
  8517. "200": {
  8518. "description": "Success.",
  8519. "content": {
  8520. "application/json": {
  8521. "schema": {
  8522. "type": "object"
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "403": {
  8528. "description": "Forbidden"
  8529. }
  8530. },
  8531. "security": [
  8532. {
  8533. "auth_token": [
  8534. "event:read"
  8535. ]
  8536. }
  8537. ]
  8538. }
  8539. },
  8540. "/api/0/issues/{issue_id}/events/latest/": {
  8541. "get": {
  8542. "tags": [
  8543. "Events"
  8544. ],
  8545. "description": "Retrieves the details of the latest event for an issue.",
  8546. "operationId": "Retrieve the latest event for an issue",
  8547. "parameters": [
  8548. {
  8549. "name": "issue_id",
  8550. "in": "path",
  8551. "description": "The ID of the issue.",
  8552. "required": true,
  8553. "schema": {
  8554. "type": "string"
  8555. }
  8556. }
  8557. ],
  8558. "responses": {
  8559. "200": {
  8560. "description": "Success.",
  8561. "content": {
  8562. "application/json": {
  8563. "schema": {
  8564. "type": "object"
  8565. }
  8566. }
  8567. }
  8568. },
  8569. "403": {
  8570. "description": "Forbidden"
  8571. }
  8572. },
  8573. "security": [
  8574. {
  8575. "auth_token": [
  8576. "event:read"
  8577. ]
  8578. }
  8579. ]
  8580. }
  8581. },
  8582. "/api/0/issues/{issue_id}/events/": {
  8583. "get": {
  8584. "tags": [
  8585. "Events"
  8586. ],
  8587. "description": "This endpoint lists an issue's events.",
  8588. "operationId": "List a issue's events",
  8589. "parameters": [
  8590. {
  8591. "name": "issue_id",
  8592. "in": "path",
  8593. "description": "The ID of the issue to retrieve.",
  8594. "required": true,
  8595. "schema": {
  8596. "type": "string"
  8597. }
  8598. },
  8599. {
  8600. "name": "full",
  8601. "in": "query",
  8602. "description": "If this is set to true then the event payload will include the full event body, including the stacktrace. \nSet to true to enable.",
  8603. "schema": {
  8604. "type": "boolean"
  8605. }
  8606. }
  8607. ],
  8608. "responses": {
  8609. "200": {
  8610. "description": "Success.",
  8611. "content": {
  8612. "application/json": {
  8613. "schema": {
  8614. "type": "array",
  8615. "items": {
  8616. "type": "object"
  8617. }
  8618. }
  8619. }
  8620. }
  8621. },
  8622. "403": {
  8623. "description": "Forbidden"
  8624. }
  8625. },
  8626. "security": [
  8627. {
  8628. "auth_token": [
  8629. "event:read"
  8630. ]
  8631. }
  8632. ]
  8633. }
  8634. },
  8635. "/api/0/issues/{issue_id}/": {
  8636. "get": {
  8637. "tags": [
  8638. "Events"
  8639. ],
  8640. "description": "Return details on an individual issue. This returns the basic stats for the issue (title, last seen, first seen), some overall numbers (number of comments, user reports) as well as the summarized event data.",
  8641. "operationId": "Retrieve an issue",
  8642. "parameters": [
  8643. {
  8644. "name": "issue_id",
  8645. "in": "path",
  8646. "description": "The ID of the issue to retrieve.",
  8647. "required": true,
  8648. "schema": {
  8649. "type": "string"
  8650. }
  8651. }
  8652. ],
  8653. "responses": {
  8654. "200": {
  8655. "description": "Success.",
  8656. "content": {
  8657. "application/json": {
  8658. "schema": {
  8659. "type": "object",
  8660. "required": [
  8661. "activity",
  8662. "annotations",
  8663. "assignedTo",
  8664. "count",
  8665. "culprit",
  8666. "firstRelease",
  8667. "firstSeen",
  8668. "hasSeen",
  8669. "id",
  8670. "isBookmarked",
  8671. "isPublic",
  8672. "isSubscribed",
  8673. "lastRelease",
  8674. "lastSeen",
  8675. "level",
  8676. "logger",
  8677. "metadata",
  8678. "numComments",
  8679. "participants",
  8680. "permalink",
  8681. "pluginActions",
  8682. "pluginContexts",
  8683. "pluginIssues",
  8684. "project",
  8685. "seenBy",
  8686. "shareId",
  8687. "shortId",
  8688. "stats",
  8689. "status",
  8690. "statusDetails",
  8691. "subscriptionDetails",
  8692. "tags",
  8693. "title",
  8694. "type",
  8695. "userCount",
  8696. "userReportCount"
  8697. ],
  8698. "properties": {
  8699. "activity": {
  8700. "type": "array",
  8701. "items": {
  8702. "type": "object",
  8703. "properties": {
  8704. "data": {
  8705. "type": "object"
  8706. },
  8707. "dateCreated": {
  8708. "type": "string"
  8709. },
  8710. "id": {
  8711. "type": "string"
  8712. },
  8713. "type": {
  8714. "type": "string"
  8715. },
  8716. "user": {
  8717. "type": "object",
  8718. "nullable": true
  8719. }
  8720. }
  8721. }
  8722. },
  8723. "annotations": {
  8724. "type": "array",
  8725. "items": {
  8726. "type": "string"
  8727. }
  8728. },
  8729. "assignedTo": {
  8730. "type": "object",
  8731. "nullable": true
  8732. },
  8733. "count": {
  8734. "type": "string"
  8735. },
  8736. "culprit": {
  8737. "type": "string"
  8738. },
  8739. "firstRelease": {
  8740. "type": "object",
  8741. "nullable": true,
  8742. "properties": {
  8743. "authors": {
  8744. "type": "array",
  8745. "items": {
  8746. "type": "string"
  8747. }
  8748. },
  8749. "commitCount": {
  8750. "type": "integer"
  8751. },
  8752. "data": {
  8753. "type": "object",
  8754. "nullable": true
  8755. },
  8756. "dateCreated": {
  8757. "type": "string"
  8758. },
  8759. "dateReleased": {
  8760. "type": "string",
  8761. "nullable": true
  8762. },
  8763. "deployCount": {
  8764. "type": "integer"
  8765. },
  8766. "firstEvent": {
  8767. "type": "string"
  8768. },
  8769. "lastCommit": {
  8770. "type": "string",
  8771. "nullable": true
  8772. },
  8773. "lastDeploy": {
  8774. "type": "string",
  8775. "nullable": true
  8776. },
  8777. "lastEvent": {
  8778. "type": "string"
  8779. },
  8780. "newGroups": {
  8781. "type": "integer"
  8782. },
  8783. "owner": {
  8784. "type": "string",
  8785. "nullable": true
  8786. },
  8787. "projects": {
  8788. "type": "array",
  8789. "items": {
  8790. "type": "object",
  8791. "properties": {
  8792. "name": {
  8793. "type": "string"
  8794. },
  8795. "slug": {
  8796. "type": "string"
  8797. }
  8798. }
  8799. }
  8800. },
  8801. "ref": {
  8802. "type": "string",
  8803. "nullable": true
  8804. },
  8805. "shortVersion": {
  8806. "type": "string"
  8807. },
  8808. "url": {
  8809. "type": "string",
  8810. "nullable": true
  8811. },
  8812. "version": {
  8813. "type": "string"
  8814. }
  8815. }
  8816. },
  8817. "firstSeen": {
  8818. "type": "string"
  8819. },
  8820. "hasSeen": {
  8821. "type": "boolean"
  8822. },
  8823. "id": {
  8824. "type": "string"
  8825. },
  8826. "isBookmarked": {
  8827. "type": "boolean"
  8828. },
  8829. "isPublic": {
  8830. "type": "boolean"
  8831. },
  8832. "isSubscribed": {
  8833. "type": "boolean"
  8834. },
  8835. "lastRelease": {
  8836. "type": "object",
  8837. "nullable": true
  8838. },
  8839. "lastSeen": {
  8840. "type": "string"
  8841. },
  8842. "level": {
  8843. "type": "string"
  8844. },
  8845. "logger": {
  8846. "type": "string",
  8847. "nullable": true
  8848. },
  8849. "metadata": {
  8850. "oneOf": [
  8851. {
  8852. "type": "object",
  8853. "required": [
  8854. "filename",
  8855. "type",
  8856. "value"
  8857. ],
  8858. "properties": {
  8859. "filename": {
  8860. "type": "string"
  8861. },
  8862. "type": {
  8863. "type": "string"
  8864. },
  8865. "value": {
  8866. "type": "string"
  8867. }
  8868. }
  8869. },
  8870. {
  8871. "type": "object",
  8872. "required": [
  8873. "title"
  8874. ],
  8875. "properties": {
  8876. "title": {
  8877. "type": "string"
  8878. }
  8879. }
  8880. }
  8881. ]
  8882. },
  8883. "numComments": {
  8884. "type": "integer"
  8885. },
  8886. "participants": {
  8887. "type": "array",
  8888. "items": {
  8889. "type": "object"
  8890. }
  8891. },
  8892. "permalink": {
  8893. "type": "string"
  8894. },
  8895. "pluginActions": {
  8896. "type": "array",
  8897. "items": {
  8898. "type": "array",
  8899. "items": {
  8900. "type": "string"
  8901. }
  8902. }
  8903. },
  8904. "pluginContexts": {
  8905. "type": "array",
  8906. "items": {
  8907. "type": "string"
  8908. }
  8909. },
  8910. "pluginIssues": {
  8911. "type": "array",
  8912. "items": {
  8913. "type": "object"
  8914. }
  8915. },
  8916. "project": {
  8917. "type": "object",
  8918. "properties": {
  8919. "id": {
  8920. "type": "string"
  8921. },
  8922. "name": {
  8923. "type": "string"
  8924. },
  8925. "slug": {
  8926. "type": "string"
  8927. }
  8928. }
  8929. },
  8930. "seenBy": {
  8931. "type": "array",
  8932. "items": {
  8933. "type": "object"
  8934. }
  8935. },
  8936. "shareId": {
  8937. "type": "string",
  8938. "nullable": true
  8939. },
  8940. "shortId": {
  8941. "type": "string"
  8942. },
  8943. "stats": {
  8944. "type": "object",
  8945. "properties": {
  8946. "24h": {
  8947. "type": "array",
  8948. "items": {
  8949. "type": "array",
  8950. "items": {
  8951. "type": "number"
  8952. }
  8953. }
  8954. },
  8955. "30d": {
  8956. "type": "array",
  8957. "items": {
  8958. "type": "array",
  8959. "items": {
  8960. "type": "number"
  8961. }
  8962. }
  8963. }
  8964. }
  8965. },
  8966. "status": {
  8967. "type": "string",
  8968. "enum": [
  8969. "resolved",
  8970. "unresolved",
  8971. "ignored"
  8972. ]
  8973. },
  8974. "statusDetails": {
  8975. "type": "object"
  8976. },
  8977. "subscriptionDetails": {
  8978. "type": "object",
  8979. "nullable": true
  8980. },
  8981. "tags": {
  8982. "type": "array",
  8983. "items": {
  8984. "type": "object"
  8985. }
  8986. },
  8987. "title": {
  8988. "type": "string"
  8989. },
  8990. "type": {
  8991. "type": "string"
  8992. },
  8993. "userCount": {
  8994. "type": "integer"
  8995. },
  8996. "userReportCount": {
  8997. "type": "integer"
  8998. }
  8999. }
  9000. },
  9001. "example": {
  9002. "activity": [
  9003. {
  9004. "data": {},
  9005. "dateCreated": "2018-11-06T21:19:55Z",
  9006. "id": "0",
  9007. "type": "first_seen",
  9008. "user": null
  9009. }
  9010. ],
  9011. "annotations": [],
  9012. "assignedTo": null,
  9013. "count": "1",
  9014. "culprit": "raven.scripts.runner in main",
  9015. "firstRelease": {
  9016. "authors": [],
  9017. "commitCount": 0,
  9018. "data": {},
  9019. "dateCreated": "2018-11-06T21:19:55.146Z",
  9020. "dateReleased": null,
  9021. "deployCount": 0,
  9022. "firstEvent": "2018-11-06T21:19:55.271Z",
  9023. "lastCommit": null,
  9024. "lastDeploy": null,
  9025. "lastEvent": "2018-11-06T21:19:55.271Z",
  9026. "newGroups": 0,
  9027. "owner": null,
  9028. "projects": [
  9029. {
  9030. "name": "Pump Station",
  9031. "slug": "pump-station"
  9032. }
  9033. ],
  9034. "ref": null,
  9035. "shortVersion": "1764232",
  9036. "url": null,
  9037. "version": "17642328ead24b51867165985996d04b29310337"
  9038. },
  9039. "firstSeen": "2018-11-06T21:19:55Z",
  9040. "hasSeen": false,
  9041. "id": "1",
  9042. "isBookmarked": false,
  9043. "isPublic": false,
  9044. "isSubscribed": true,
  9045. "lastRelease": null,
  9046. "lastSeen": "2018-11-06T21:19:55Z",
  9047. "level": "error",
  9048. "logger": null,
  9049. "metadata": {
  9050. "title": "This is an example Python exception"
  9051. },
  9052. "numComments": 0,
  9053. "participants": [],
  9054. "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
  9055. "pluginActions": [],
  9056. "pluginContexts": [],
  9057. "pluginIssues": [],
  9058. "project": {
  9059. "id": "2",
  9060. "name": "Pump Station",
  9061. "slug": "pump-station"
  9062. },
  9063. "seenBy": [],
  9064. "shareId": null,
  9065. "shortId": "PUMP-STATION-1",
  9066. "stats": {
  9067. "24h": [
  9068. [
  9069. 1541451600,
  9070. 557
  9071. ],
  9072. [
  9073. 1541455200,
  9074. 473
  9075. ],
  9076. [
  9077. 1541458800,
  9078. 914
  9079. ],
  9080. [
  9081. 1541462400,
  9082. 991
  9083. ],
  9084. [
  9085. 1541466000,
  9086. 925
  9087. ],
  9088. [
  9089. 1541469600,
  9090. 881
  9091. ],
  9092. [
  9093. 1541473200,
  9094. 182
  9095. ],
  9096. [
  9097. 1541476800,
  9098. 490
  9099. ],
  9100. [
  9101. 1541480400,
  9102. 820
  9103. ],
  9104. [
  9105. 1541484000,
  9106. 322
  9107. ],
  9108. [
  9109. 1541487600,
  9110. 836
  9111. ],
  9112. [
  9113. 1541491200,
  9114. 565
  9115. ],
  9116. [
  9117. 1541494800,
  9118. 758
  9119. ],
  9120. [
  9121. 1541498400,
  9122. 880
  9123. ],
  9124. [
  9125. 1541502000,
  9126. 677
  9127. ],
  9128. [
  9129. 1541505600,
  9130. 381
  9131. ],
  9132. [
  9133. 1541509200,
  9134. 814
  9135. ],
  9136. [
  9137. 1541512800,
  9138. 329
  9139. ],
  9140. [
  9141. 1541516400,
  9142. 446
  9143. ],
  9144. [
  9145. 1541520000,
  9146. 731
  9147. ],
  9148. [
  9149. 1541523600,
  9150. 111
  9151. ],
  9152. [
  9153. 1541527200,
  9154. 926
  9155. ],
  9156. [
  9157. 1541530800,
  9158. 772
  9159. ],
  9160. [
  9161. 1541534400,
  9162. 400
  9163. ],
  9164. [
  9165. 1541538000,
  9166. 943
  9167. ]
  9168. ],
  9169. "30d": [
  9170. [
  9171. 1538870400,
  9172. 565
  9173. ],
  9174. [
  9175. 1538956800,
  9176. 12862
  9177. ],
  9178. [
  9179. 1539043200,
  9180. 15617
  9181. ],
  9182. [
  9183. 1539129600,
  9184. 10809
  9185. ],
  9186. [
  9187. 1539216000,
  9188. 15065
  9189. ],
  9190. [
  9191. 1539302400,
  9192. 12927
  9193. ],
  9194. [
  9195. 1539388800,
  9196. 12994
  9197. ],
  9198. [
  9199. 1539475200,
  9200. 13139
  9201. ],
  9202. [
  9203. 1539561600,
  9204. 11838
  9205. ],
  9206. [
  9207. 1539648000,
  9208. 12088
  9209. ],
  9210. [
  9211. 1539734400,
  9212. 12338
  9213. ],
  9214. [
  9215. 1539820800,
  9216. 12768
  9217. ],
  9218. [
  9219. 1539907200,
  9220. 12816
  9221. ],
  9222. [
  9223. 1539993600,
  9224. 15356
  9225. ],
  9226. [
  9227. 1540080000,
  9228. 10910
  9229. ],
  9230. [
  9231. 1540166400,
  9232. 12306
  9233. ],
  9234. [
  9235. 1540252800,
  9236. 12912
  9237. ],
  9238. [
  9239. 1540339200,
  9240. 14700
  9241. ],
  9242. [
  9243. 1540425600,
  9244. 11890
  9245. ],
  9246. [
  9247. 1540512000,
  9248. 11684
  9249. ],
  9250. [
  9251. 1540598400,
  9252. 13510
  9253. ],
  9254. [
  9255. 1540684800,
  9256. 12625
  9257. ],
  9258. [
  9259. 1540771200,
  9260. 12811
  9261. ],
  9262. [
  9263. 1540857600,
  9264. 13180
  9265. ],
  9266. [
  9267. 1540944000,
  9268. 14651
  9269. ],
  9270. [
  9271. 1541030400,
  9272. 14161
  9273. ],
  9274. [
  9275. 1541116800,
  9276. 12612
  9277. ],
  9278. [
  9279. 1541203200,
  9280. 14316
  9281. ],
  9282. [
  9283. 1541289600,
  9284. 14742
  9285. ],
  9286. [
  9287. 1541376000,
  9288. 12505
  9289. ],
  9290. [
  9291. 1541462400,
  9292. 14180
  9293. ]
  9294. ]
  9295. },
  9296. "status": "unresolved",
  9297. "statusDetails": {},
  9298. "subscriptionDetails": null,
  9299. "tags": [],
  9300. "title": "This is an example Python exception",
  9301. "type": "default",
  9302. "userCount": 0,
  9303. "userReportCount": 0
  9304. }
  9305. }
  9306. }
  9307. },
  9308. "403": {
  9309. "description": "Forbidden"
  9310. }
  9311. },
  9312. "security": [
  9313. {
  9314. "auth_token": [
  9315. "event:read"
  9316. ]
  9317. }
  9318. ]
  9319. },
  9320. "put": {
  9321. "tags": [
  9322. "Events"
  9323. ],
  9324. "description": "Updates an individual issue's attributes. Only the attributes submitted are modified.",
  9325. "operationId": "Update an issue",
  9326. "parameters": [
  9327. {
  9328. "name": "issue_id",
  9329. "in": "path",
  9330. "description": "The ID of the group to retrieve.",
  9331. "required": true,
  9332. "schema": {
  9333. "type": "string"
  9334. }
  9335. }
  9336. ],
  9337. "requestBody": {
  9338. "content": {
  9339. "application/json": {
  9340. "schema": {
  9341. "type": "object",
  9342. "properties": {
  9343. "status": {
  9344. "type": "string",
  9345. "description": "The new status for the issues. Valid values are `\"resolved\"`, `\"resolvedInNextRelease\"`, `\"unresolved\"`, and `\"ignored\"`.",
  9346. "example": "unresolved"
  9347. },
  9348. "assignedTo": {
  9349. "type": "string",
  9350. "description": "The actor id (or username) of the user or team that should be assigned to this issue."
  9351. },
  9352. "hasSeen": {
  9353. "type": "boolean",
  9354. "description": "In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event."
  9355. },
  9356. "isBookmarked": {
  9357. "type": "boolean",
  9358. "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
  9359. },
  9360. "isSubscribed": {
  9361. "type": "boolean"
  9362. },
  9363. "isPublic": {
  9364. "type": "boolean",
  9365. "description": "Sets the issue to public or private."
  9366. }
  9367. }
  9368. }
  9369. }
  9370. },
  9371. "required": true
  9372. },
  9373. "responses": {
  9374. "200": {
  9375. "description": "Success.",
  9376. "content": {
  9377. "application/json": {
  9378. "schema": {
  9379. "type": "object",
  9380. "required": [
  9381. "lastSeen",
  9382. "numComments",
  9383. "userCount",
  9384. "culprit",
  9385. "title",
  9386. "id",
  9387. "assignedTo",
  9388. "logger",
  9389. "type",
  9390. "annotations",
  9391. "metadata",
  9392. "status",
  9393. "subscriptionDetails",
  9394. "isPublic",
  9395. "hasSeen",
  9396. "shortId",
  9397. "shareId",
  9398. "firstSeen",
  9399. "count",
  9400. "permalink",
  9401. "level",
  9402. "isSubscribed",
  9403. "isBookmarked",
  9404. "project",
  9405. "statusDetails"
  9406. ],
  9407. "properties": {
  9408. "annotations": {
  9409. "type": "array",
  9410. "items": {
  9411. "type": "string"
  9412. }
  9413. },
  9414. "assignedTo": {
  9415. "type": "object",
  9416. "nullable": true
  9417. },
  9418. "count": {
  9419. "type": "string"
  9420. },
  9421. "culprit": {
  9422. "type": "string"
  9423. },
  9424. "firstSeen": {
  9425. "type": "string"
  9426. },
  9427. "hasSeen": {
  9428. "type": "boolean"
  9429. },
  9430. "id": {
  9431. "type": "string"
  9432. },
  9433. "isBookmarked": {
  9434. "type": "boolean"
  9435. },
  9436. "isPublic": {
  9437. "type": "boolean"
  9438. },
  9439. "isSubscribed": {
  9440. "type": "boolean"
  9441. },
  9442. "lastSeen": {
  9443. "type": "string"
  9444. },
  9445. "level": {
  9446. "type": "string"
  9447. },
  9448. "logger": {
  9449. "type": "string",
  9450. "nullable": true
  9451. },
  9452. "metadata": {
  9453. "oneOf": [
  9454. {
  9455. "type": "object",
  9456. "required": [
  9457. "filename",
  9458. "type",
  9459. "value"
  9460. ],
  9461. "properties": {
  9462. "filename": {
  9463. "type": "string"
  9464. },
  9465. "type": {
  9466. "type": "string"
  9467. },
  9468. "value": {
  9469. "type": "string"
  9470. }
  9471. }
  9472. },
  9473. {
  9474. "type": "object",
  9475. "required": [
  9476. "title"
  9477. ],
  9478. "properties": {
  9479. "title": {
  9480. "type": "string"
  9481. }
  9482. }
  9483. }
  9484. ]
  9485. },
  9486. "numComments": {
  9487. "type": "integer"
  9488. },
  9489. "permalink": {
  9490. "type": "string"
  9491. },
  9492. "project": {
  9493. "type": "object",
  9494. "properties": {
  9495. "id": {
  9496. "type": "string"
  9497. },
  9498. "name": {
  9499. "type": "string"
  9500. },
  9501. "slug": {
  9502. "type": "string"
  9503. }
  9504. }
  9505. },
  9506. "shareId": {
  9507. "type": "string",
  9508. "nullable": true
  9509. },
  9510. "shortId": {
  9511. "type": "string"
  9512. },
  9513. "status": {
  9514. "type": "string",
  9515. "enum": [
  9516. "resolved",
  9517. "unresolved",
  9518. "ignored"
  9519. ]
  9520. },
  9521. "statusDetails": {
  9522. "type": "object"
  9523. },
  9524. "subscriptionDetails": {
  9525. "type": "object",
  9526. "nullable": true
  9527. },
  9528. "title": {
  9529. "type": "string"
  9530. },
  9531. "type": {
  9532. "type": "string"
  9533. },
  9534. "userCount": {
  9535. "type": "integer"
  9536. }
  9537. }
  9538. },
  9539. "example": {
  9540. "annotations": [],
  9541. "assignedTo": null,
  9542. "count": "1",
  9543. "culprit": "raven.scripts.runner in main",
  9544. "firstSeen": "2018-11-06T21:19:55Z",
  9545. "hasSeen": false,
  9546. "id": "1",
  9547. "isBookmarked": false,
  9548. "isPublic": false,
  9549. "isSubscribed": true,
  9550. "lastSeen": "2018-11-06T21:19:55Z",
  9551. "level": "error",
  9552. "logger": null,
  9553. "metadata": {
  9554. "title": "This is an example Python exception"
  9555. },
  9556. "numComments": 0,
  9557. "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
  9558. "project": {
  9559. "id": "2",
  9560. "name": "Pump Station",
  9561. "slug": "pump-station"
  9562. },
  9563. "shareId": null,
  9564. "shortId": "PUMP-STATION-1",
  9565. "status": "unresolved",
  9566. "statusDetails": {},
  9567. "subscriptionDetails": null,
  9568. "title": "This is an example Python exception",
  9569. "type": "default",
  9570. "userCount": 0
  9571. }
  9572. }
  9573. }
  9574. },
  9575. "403": {
  9576. "description": "Forbidden"
  9577. },
  9578. "404": {
  9579. "description": "The requested resource does not exist"
  9580. }
  9581. },
  9582. "security": [
  9583. {
  9584. "auth_token": [
  9585. "event:write"
  9586. ]
  9587. }
  9588. ]
  9589. },
  9590. "delete": {
  9591. "tags": [
  9592. "Events"
  9593. ],
  9594. "description": "Removes an individual issue.",
  9595. "operationId": "Remove an Issue",
  9596. "parameters": [
  9597. {
  9598. "name": "issue_id",
  9599. "in": "path",
  9600. "description": "The ID of the issue to delete.",
  9601. "required": true,
  9602. "schema": {
  9603. "type": "string"
  9604. }
  9605. }
  9606. ],
  9607. "responses": {
  9608. "202": {
  9609. "description": "Success."
  9610. },
  9611. "403": {
  9612. "description": "Forbidden"
  9613. },
  9614. "404": {
  9615. "description": "The requested resource does not exist"
  9616. }
  9617. },
  9618. "security": [
  9619. {
  9620. "auth_token": [
  9621. "event:admin"
  9622. ]
  9623. }
  9624. ]
  9625. }
  9626. },
  9627. "/api/0/organizations/{organization_slug}/releases/": {
  9628. "get": {
  9629. "tags": [
  9630. "Releases"
  9631. ],
  9632. "description": "Return a list of releases for a given organization.",
  9633. "operationId": "List an Organization's Releases",
  9634. "parameters": [
  9635. {
  9636. "name": "organization_slug",
  9637. "in": "path",
  9638. "description": "The slug of the organization.",
  9639. "required": true,
  9640. "schema": {
  9641. "type": "string"
  9642. }
  9643. },
  9644. {
  9645. "name": "query",
  9646. "in": "query",
  9647. "description": "This parameter can be used to create a \"starts with\" filter for the version.",
  9648. "schema": {
  9649. "type": "string"
  9650. }
  9651. }
  9652. ],
  9653. "responses": {
  9654. "200": {
  9655. "description": "Success.",
  9656. "content": {
  9657. "application/json": {
  9658. "schema": {
  9659. "type": "array",
  9660. "items": {
  9661. "type": "object",
  9662. "required": [
  9663. "authors",
  9664. "commitCount",
  9665. "data",
  9666. "dateCreated",
  9667. "dateReleased",
  9668. "deployCount",
  9669. "firstEvent",
  9670. "lastCommit",
  9671. "lastDeploy",
  9672. "lastEvent",
  9673. "newGroups",
  9674. "owner",
  9675. "projects",
  9676. "ref",
  9677. "shortVersion",
  9678. "version",
  9679. "url"
  9680. ],
  9681. "properties": {
  9682. "authors": {
  9683. "type": "array",
  9684. "items": {
  9685. "type": "object"
  9686. }
  9687. },
  9688. "commitCount": {
  9689. "type": "integer",
  9690. "format": "int64"
  9691. },
  9692. "data": {
  9693. "type": "object"
  9694. },
  9695. "dateCreated": {
  9696. "type": "string",
  9697. "format": "date-time"
  9698. },
  9699. "dateReleased": {
  9700. "type": "string",
  9701. "format": "date-time",
  9702. "nullable": true
  9703. },
  9704. "deployCount": {
  9705. "type": "integer",
  9706. "format": "int64"
  9707. },
  9708. "firstEvent": {
  9709. "type": "string",
  9710. "format": "date-time",
  9711. "nullable": true
  9712. },
  9713. "lastCommit": {
  9714. "type": "object",
  9715. "nullable": true
  9716. },
  9717. "lastDeploy": {
  9718. "type": "string",
  9719. "format": "date-time",
  9720. "nullable": true
  9721. },
  9722. "lastEvent": {
  9723. "type": "string",
  9724. "format": "date-time",
  9725. "nullable": true
  9726. },
  9727. "newGroups": {
  9728. "type": "integer",
  9729. "format": "int64"
  9730. },
  9731. "owner": {
  9732. "type": "object",
  9733. "nullable": true
  9734. },
  9735. "projects": {
  9736. "type": "array",
  9737. "items": {
  9738. "type": "object",
  9739. "properties": {
  9740. "name": {
  9741. "type": "string"
  9742. },
  9743. "slug": {
  9744. "type": "string"
  9745. }
  9746. }
  9747. }
  9748. },
  9749. "ref": {
  9750. "type": "string",
  9751. "nullable": true
  9752. },
  9753. "shortVersion": {
  9754. "type": "string"
  9755. },
  9756. "version": {
  9757. "type": "string"
  9758. },
  9759. "url": {
  9760. "type": "string",
  9761. "nullable": true
  9762. }
  9763. }
  9764. }
  9765. },
  9766. "example": [
  9767. {
  9768. "authors": [],
  9769. "commitCount": 0,
  9770. "data": {},
  9771. "dateCreated": "2018-11-06T21:20:08.033Z",
  9772. "dateReleased": null,
  9773. "deployCount": 0,
  9774. "firstEvent": null,
  9775. "lastCommit": null,
  9776. "lastDeploy": null,
  9777. "lastEvent": null,
  9778. "newGroups": 0,
  9779. "owner": null,
  9780. "projects": [
  9781. {
  9782. "name": "Pump Station",
  9783. "slug": "pump-station"
  9784. }
  9785. ],
  9786. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  9787. "shortVersion": "2.0rc2",
  9788. "url": null,
  9789. "version": "2.0rc2"
  9790. },
  9791. {
  9792. "authors": [],
  9793. "commitCount": 0,
  9794. "data": {},
  9795. "dateCreated": "2018-11-06T21:19:58.559Z",
  9796. "dateReleased": null,
  9797. "deployCount": 0,
  9798. "firstEvent": "2018-11-06T21:19:58.639Z",
  9799. "lastCommit": null,
  9800. "lastDeploy": null,
  9801. "lastEvent": "2018-11-06T21:19:58.639Z",
  9802. "newGroups": 0,
  9803. "owner": null,
  9804. "projects": [
  9805. {
  9806. "name": "Prime Mover",
  9807. "slug": "prime-mover"
  9808. }
  9809. ],
  9810. "ref": null,
  9811. "shortVersion": "2b6af31",
  9812. "url": null,
  9813. "version": "2b6af31b2edccc73a629108b17344dfe20858780"
  9814. }
  9815. ]
  9816. }
  9817. }
  9818. },
  9819. "403": {
  9820. "description": "Forbidden"
  9821. }
  9822. },
  9823. "security": [
  9824. {
  9825. "auth_token": [
  9826. "project:releases"
  9827. ]
  9828. }
  9829. ]
  9830. },
  9831. "post": {
  9832. "tags": [
  9833. "Releases"
  9834. ],
  9835. "description": "Create a new release for the given Organization. Releases are used by\nSentry to improve its error reporting abilities by correlating\nfirst seen events with the release that might have introduced the\nproblem.\nReleases are also necessary for sourcemaps and other debug features\nthat require manual upload for functioning well.",
  9836. "operationId": "Create a New Release for an Organization.",
  9837. "parameters": [
  9838. {
  9839. "name": "organization_slug",
  9840. "in": "path",
  9841. "description": "The slug of the organization.",
  9842. "required": true,
  9843. "schema": {
  9844. "type": "string"
  9845. }
  9846. }
  9847. ],
  9848. "requestBody": {
  9849. "content": {
  9850. "application/json": {
  9851. "schema": {
  9852. "type": "object",
  9853. "required": [
  9854. "version",
  9855. "projects"
  9856. ],
  9857. "properties": {
  9858. "version": {
  9859. "type": "string",
  9860. "description": "A version identifier for this release. Can be a version number, a commit hash etc."
  9861. },
  9862. "ref": {
  9863. "type": "string",
  9864. "description": "An optional commit reference. This is useful if a tagged version has been provided."
  9865. },
  9866. "url": {
  9867. "type": "string",
  9868. "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance"
  9869. },
  9870. "projects": {
  9871. "type": "array",
  9872. "description": "A list of project slugs that are involved in this release.",
  9873. "items": {
  9874. "type": "string"
  9875. }
  9876. },
  9877. "dateReleased": {
  9878. "type": "string",
  9879. "format": "date-time",
  9880. "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
  9881. },
  9882. "commits": {
  9883. "type": "array",
  9884. "items": {
  9885. "type": "object",
  9886. "properties": {
  9887. "patch_set": {
  9888. "type": "array",
  9889. "description": "A list of the files that have been changed in the commit. Specifying the patch_set is necessary to power suspect commits and suggested assignees.",
  9890. "items": {
  9891. "type": "object",
  9892. "required": [
  9893. "path",
  9894. "type"
  9895. ],
  9896. "properties": {
  9897. "path": {
  9898. "type": "string",
  9899. "description": "The path to the file. Both forward and backward slashes are supported."
  9900. },
  9901. "type": {
  9902. "type": "string",
  9903. "enum": [
  9904. "A",
  9905. "M",
  9906. "D"
  9907. ],
  9908. "description": "The type of change that happened in the commit."
  9909. }
  9910. }
  9911. }
  9912. },
  9913. "repository": {
  9914. "type": "string",
  9915. "description": "The full name of the repository the commit belongs to. If this field is not given Sentry will generate a name in the form: u'organization-<organization_id>' (i.e. if the organization id is 123, then the generated repository name will be u'organization-123)."
  9916. },
  9917. "author_name": {
  9918. "type": "string",
  9919. "description": "The name of the commit author."
  9920. },
  9921. "author_email": {
  9922. "type": "string",
  9923. "description": "The email of the commit author. The commit author's email is required to enable the suggested assignee feature."
  9924. },
  9925. "timestamp": {
  9926. "type": "string",
  9927. "format": "date-time",
  9928. "description": "The commit timestamp is used to sort the commits given. If a timestamp is not included, the commits will remain sorted in the order given."
  9929. },
  9930. "message": {
  9931. "type": "string",
  9932. "description": "The commit message."
  9933. },
  9934. "id": {
  9935. "type": "string",
  9936. "description": "The commit id (the commit sha)."
  9937. }
  9938. }
  9939. },
  9940. "description": "An optional list of commit data to be associated with the release. Commits must include parameters `id` (the sha of the commit), and can optionally include `repository`, `message`, `patch_set`, `author_name`, `author_email`, and `timestamp`."
  9941. },
  9942. "refs": {
  9943. "type": "array",
  9944. "items": {
  9945. "type": "object",
  9946. "properties": {
  9947. "repository": {
  9948. "type": "string",
  9949. "description": "The full name of the repository the commit belongs to."
  9950. },
  9951. "commit": {
  9952. "type": "string",
  9953. "description": "The current release's commit."
  9954. },
  9955. "previousCommit": {
  9956. "type": "string",
  9957. "description": "The previous release's commit."
  9958. }
  9959. }
  9960. },
  9961. "description": "An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters `repository` and `commit` (the HEAD sha). They can optionally include `previousCommit` (the sha of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data. `commit` may contain a range in the form of `previousCommit..commit`."
  9962. }
  9963. }
  9964. },
  9965. "example": {
  9966. "version": "2.0rc2",
  9967. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  9968. "projects": [
  9969. "pump-station"
  9970. ]
  9971. }
  9972. }
  9973. }
  9974. },
  9975. "responses": {
  9976. "201": {
  9977. "description": "Success.",
  9978. "content": {
  9979. "application/json": {
  9980. "schema": {
  9981. "type": "object",
  9982. "required": [
  9983. "authors",
  9984. "commitCount",
  9985. "data",
  9986. "dateCreated",
  9987. "dateReleased",
  9988. "deployCount",
  9989. "firstEvent",
  9990. "lastCommit",
  9991. "lastDeploy",
  9992. "lastEvent",
  9993. "newGroups",
  9994. "owner",
  9995. "projects",
  9996. "ref",
  9997. "shortVersion",
  9998. "version",
  9999. "url"
  10000. ],
  10001. "properties": {
  10002. "authors": {
  10003. "type": "array",
  10004. "items": {
  10005. "type": "object"
  10006. }
  10007. },
  10008. "commitCount": {
  10009. "type": "integer",
  10010. "format": "int64"
  10011. },
  10012. "data": {
  10013. "type": "object"
  10014. },
  10015. "dateCreated": {
  10016. "type": "string",
  10017. "format": "date-time"
  10018. },
  10019. "dateReleased": {
  10020. "type": "string",
  10021. "format": "date-time",
  10022. "nullable": true
  10023. },
  10024. "deployCount": {
  10025. "type": "integer",
  10026. "format": "int64"
  10027. },
  10028. "firstEvent": {
  10029. "type": "string",
  10030. "format": "date-time",
  10031. "nullable": true
  10032. },
  10033. "lastCommit": {
  10034. "type": "object",
  10035. "nullable": true
  10036. },
  10037. "lastDeploy": {
  10038. "type": "string",
  10039. "format": "date-time",
  10040. "nullable": true
  10041. },
  10042. "lastEvent": {
  10043. "type": "string",
  10044. "format": "date-time",
  10045. "nullable": true
  10046. },
  10047. "newGroups": {
  10048. "type": "integer",
  10049. "format": "int64"
  10050. },
  10051. "owner": {
  10052. "type": "object",
  10053. "nullable": true
  10054. },
  10055. "projects": {
  10056. "type": "array",
  10057. "items": {
  10058. "type": "object",
  10059. "properties": {
  10060. "name": {
  10061. "type": "string"
  10062. },
  10063. "slug": {
  10064. "type": "string"
  10065. }
  10066. }
  10067. }
  10068. },
  10069. "ref": {
  10070. "type": "string",
  10071. "nullable": true
  10072. },
  10073. "shortVersion": {
  10074. "type": "string"
  10075. },
  10076. "version": {
  10077. "type": "string"
  10078. },
  10079. "url": {
  10080. "type": "string",
  10081. "nullable": true
  10082. }
  10083. }
  10084. },
  10085. "example": {
  10086. "authors": [],
  10087. "commitCount": 0,
  10088. "data": {},
  10089. "dateCreated": "2019-01-03T00:12:55.109Z",
  10090. "dateReleased": null,
  10091. "deployCount": 0,
  10092. "firstEvent": null,
  10093. "lastCommit": null,
  10094. "lastDeploy": null,
  10095. "lastEvent": null,
  10096. "newGroups": 0,
  10097. "owner": null,
  10098. "projects": [
  10099. {
  10100. "name": "Pump Station",
  10101. "slug": "pump-station"
  10102. }
  10103. ],
  10104. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  10105. "shortVersion": "2.0rc2",
  10106. "url": null,
  10107. "version": "2.0rc2"
  10108. }
  10109. }
  10110. }
  10111. }
  10112. },
  10113. "security": [
  10114. {
  10115. "auth_token": [
  10116. "project:releases"
  10117. ]
  10118. }
  10119. ]
  10120. }
  10121. },
  10122. "/api/0/organizations/{organization_slug}/releases/{version}/": {
  10123. "get": {
  10124. "tags": [
  10125. "Releases"
  10126. ],
  10127. "description": "Return a release for a given organization.",
  10128. "operationId": "Retrieve an Organization's Releases",
  10129. "parameters": [
  10130. {
  10131. "name": "organization_slug",
  10132. "in": "path",
  10133. "description": "The slug of the organization the release belongs to.",
  10134. "required": true,
  10135. "schema": {
  10136. "type": "string"
  10137. }
  10138. },
  10139. {
  10140. "name": "version",
  10141. "in": "path",
  10142. "description": "The version identifier of the release.",
  10143. "required": true,
  10144. "schema": {
  10145. "type": "string"
  10146. }
  10147. }
  10148. ],
  10149. "responses": {
  10150. "200": {
  10151. "description": "Success.",
  10152. "content": {
  10153. "application/json": {
  10154. "schema": {
  10155. "type": "object",
  10156. "required": [
  10157. "authors",
  10158. "commitCount",
  10159. "data",
  10160. "dateCreated",
  10161. "dateReleased",
  10162. "deployCount",
  10163. "firstEvent",
  10164. "lastCommit",
  10165. "lastDeploy",
  10166. "lastEvent",
  10167. "newGroups",
  10168. "owner",
  10169. "projects",
  10170. "ref",
  10171. "shortVersion",
  10172. "version",
  10173. "url"
  10174. ],
  10175. "properties": {
  10176. "authors": {
  10177. "type": "array",
  10178. "items": {
  10179. "type": "object"
  10180. }
  10181. },
  10182. "commitCount": {
  10183. "type": "integer",
  10184. "format": "int64"
  10185. },
  10186. "data": {
  10187. "type": "object"
  10188. },
  10189. "dateCreated": {
  10190. "type": "string",
  10191. "format": "date-time"
  10192. },
  10193. "dateReleased": {
  10194. "type": "string",
  10195. "format": "date-time",
  10196. "nullable": true
  10197. },
  10198. "deployCount": {
  10199. "type": "integer",
  10200. "format": "int64"
  10201. },
  10202. "firstEvent": {
  10203. "type": "string",
  10204. "format": "date-time",
  10205. "nullable": true
  10206. },
  10207. "lastCommit": {
  10208. "type": "object",
  10209. "nullable": true
  10210. },
  10211. "lastDeploy": {
  10212. "type": "string",
  10213. "format": "date-time",
  10214. "nullable": true
  10215. },
  10216. "lastEvent": {
  10217. "type": "string",
  10218. "format": "date-time",
  10219. "nullable": true
  10220. },
  10221. "newGroups": {
  10222. "type": "integer",
  10223. "format": "int64"
  10224. },
  10225. "owner": {
  10226. "type": "object",
  10227. "nullable": true
  10228. },
  10229. "projects": {
  10230. "type": "array",
  10231. "items": {
  10232. "type": "object",
  10233. "properties": {
  10234. "name": {
  10235. "type": "string"
  10236. },
  10237. "slug": {
  10238. "type": "string"
  10239. }
  10240. }
  10241. }
  10242. },
  10243. "ref": {
  10244. "type": "string",
  10245. "nullable": true
  10246. },
  10247. "shortVersion": {
  10248. "type": "string"
  10249. },
  10250. "version": {
  10251. "type": "string"
  10252. },
  10253. "url": {
  10254. "type": "string",
  10255. "nullable": true
  10256. }
  10257. }
  10258. },
  10259. "example": {
  10260. "authors": [],
  10261. "commitCount": 0,
  10262. "data": {},
  10263. "dateCreated": "2018-11-06T21:20:08.033Z",
  10264. "dateReleased": null,
  10265. "deployCount": 0,
  10266. "firstEvent": null,
  10267. "lastCommit": null,
  10268. "lastDeploy": null,
  10269. "lastEvent": null,
  10270. "newGroups": 0,
  10271. "owner": null,
  10272. "projects": [
  10273. {
  10274. "name": "Pump Station",
  10275. "slug": "pump-station"
  10276. }
  10277. ],
  10278. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  10279. "shortVersion": "2.0rc2",
  10280. "url": null,
  10281. "version": "2.0rc2"
  10282. }
  10283. }
  10284. }
  10285. },
  10286. "403": {
  10287. "description": "Forbidden"
  10288. }
  10289. },
  10290. "security": [
  10291. {
  10292. "auth_token": [
  10293. "project:releases"
  10294. ]
  10295. }
  10296. ]
  10297. },
  10298. "put": {
  10299. "tags": [
  10300. "Releases"
  10301. ],
  10302. "description": "Update a release for a give organization.",
  10303. "operationId": "Update an Organization's Release.",
  10304. "parameters": [
  10305. {
  10306. "name": "organization_slug",
  10307. "in": "path",
  10308. "description": "The slug of the organization the release belongs to.",
  10309. "required": true,
  10310. "schema": {
  10311. "type": "string"
  10312. }
  10313. },
  10314. {
  10315. "name": "version",
  10316. "in": "path",
  10317. "description": "The version identifier of the release.",
  10318. "required": true,
  10319. "schema": {
  10320. "type": "string"
  10321. }
  10322. }
  10323. ],
  10324. "requestBody": {
  10325. "content": {
  10326. "application/json": {
  10327. "schema": {
  10328. "type": "object",
  10329. "properties": {
  10330. "ref": {
  10331. "type": "string",
  10332. "description": "An optional commit reference. This is useful if a tagged version has been provided."
  10333. },
  10334. "url": {
  10335. "type": "string",
  10336. "description": "A URL that points to the release. This can be the path to an online interface to the sourcecode for instance."
  10337. },
  10338. "dateReleased": {
  10339. "type": "string",
  10340. "format": "date-time",
  10341. "description": "An optional date that indicates when the release went live. If not provided the current time is assumed."
  10342. },
  10343. "commits": {
  10344. "type": "array",
  10345. "items": {
  10346. "type": "object"
  10347. },
  10348. "description": "An optional list of commit data to be associated with the release. Commits must include parameters `id` (the sha of the commit), and can optionally include `repository`, `message`, `author_name`, `author_email`, and `timestamp`."
  10349. },
  10350. "refs": {
  10351. "type": "array",
  10352. "items": {
  10353. "type": "object"
  10354. },
  10355. "description": "An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters `repository` and `commit` (the HEAD sha). They can optionally include `previousCommit` (the sha of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data."
  10356. }
  10357. }
  10358. }
  10359. }
  10360. }
  10361. },
  10362. "responses": {
  10363. "200": {
  10364. "description": "Success.",
  10365. "content": {
  10366. "application/json": {
  10367. "schema": {
  10368. "type": "object",
  10369. "required": [
  10370. "authors",
  10371. "commitCount",
  10372. "data",
  10373. "dateCreated",
  10374. "dateReleased",
  10375. "deployCount",
  10376. "firstEvent",
  10377. "lastCommit",
  10378. "lastDeploy",
  10379. "lastEvent",
  10380. "newGroups",
  10381. "owner",
  10382. "projects",
  10383. "ref",
  10384. "shortVersion",
  10385. "version",
  10386. "url"
  10387. ],
  10388. "properties": {
  10389. "authors": {
  10390. "type": "array",
  10391. "items": {
  10392. "type": "object"
  10393. }
  10394. },
  10395. "commitCount": {
  10396. "type": "integer",
  10397. "format": "int64"
  10398. },
  10399. "data": {
  10400. "type": "object"
  10401. },
  10402. "dateCreated": {
  10403. "type": "string",
  10404. "format": "date-time"
  10405. },
  10406. "dateReleased": {
  10407. "type": "string",
  10408. "format": "date-time",
  10409. "nullable": true
  10410. },
  10411. "deployCount": {
  10412. "type": "integer",
  10413. "format": "int64"
  10414. },
  10415. "firstEvent": {
  10416. "type": "string",
  10417. "format": "date-time",
  10418. "nullable": true
  10419. },
  10420. "lastCommit": {
  10421. "type": "object",
  10422. "nullable": true
  10423. },
  10424. "lastDeploy": {
  10425. "type": "string",
  10426. "format": "date-time",
  10427. "nullable": true
  10428. },
  10429. "lastEvent": {
  10430. "type": "string",
  10431. "format": "date-time",
  10432. "nullable": true
  10433. },
  10434. "newGroups": {
  10435. "type": "integer",
  10436. "format": "int64"
  10437. },
  10438. "owner": {
  10439. "type": "object",
  10440. "nullable": true
  10441. },
  10442. "projects": {
  10443. "type": "array",
  10444. "items": {
  10445. "type": "object",
  10446. "properties": {
  10447. "name": {
  10448. "type": "string"
  10449. },
  10450. "slug": {
  10451. "type": "string"
  10452. }
  10453. }
  10454. }
  10455. },
  10456. "ref": {
  10457. "type": "string",
  10458. "nullable": true
  10459. },
  10460. "shortVersion": {
  10461. "type": "string"
  10462. },
  10463. "version": {
  10464. "type": "string"
  10465. },
  10466. "url": {
  10467. "type": "string",
  10468. "nullable": true
  10469. }
  10470. }
  10471. },
  10472. "example": {
  10473. "authors": [],
  10474. "commitCount": 0,
  10475. "data": {},
  10476. "dateCreated": "2019-01-03T00:12:55.109Z",
  10477. "dateReleased": null,
  10478. "deployCount": 0,
  10479. "firstEvent": null,
  10480. "lastCommit": null,
  10481. "lastDeploy": null,
  10482. "lastEvent": null,
  10483. "newGroups": 0,
  10484. "owner": null,
  10485. "projects": [
  10486. {
  10487. "name": "Pump Station",
  10488. "slug": "pump-station"
  10489. }
  10490. ],
  10491. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  10492. "shortVersion": "2.0rc2",
  10493. "url": null,
  10494. "version": "2.0rc2"
  10495. }
  10496. }
  10497. }
  10498. }
  10499. },
  10500. "security": [
  10501. {
  10502. "auth_token": [
  10503. "project:releases"
  10504. ]
  10505. }
  10506. ]
  10507. },
  10508. "delete": {
  10509. "tags": [
  10510. "Releases"
  10511. ],
  10512. "description": "Delete a release for a given organization.",
  10513. "operationId": "Delete an Organization's Release.",
  10514. "parameters": [
  10515. {
  10516. "name": "organization_slug",
  10517. "in": "path",
  10518. "description": "The slug of the organization the release belongs to.",
  10519. "required": true,
  10520. "schema": {
  10521. "type": "string"
  10522. }
  10523. },
  10524. {
  10525. "name": "version",
  10526. "in": "path",
  10527. "description": "The version identifier of the release.",
  10528. "required": true,
  10529. "schema": {
  10530. "type": "string"
  10531. }
  10532. }
  10533. ],
  10534. "responses": {
  10535. "204": {
  10536. "description": "Success."
  10537. }
  10538. },
  10539. "security": [
  10540. {
  10541. "auth_token": [
  10542. "project:releases"
  10543. ]
  10544. }
  10545. ]
  10546. }
  10547. },
  10548. "/api/0/organizations/{organization_slug}/releases/{version}/files/": {
  10549. "get": {
  10550. "tags": [
  10551. "Releases"
  10552. ],
  10553. "description": "Return a list of files for a given release.",
  10554. "operationId": "List an Organization's Release Files",
  10555. "parameters": [
  10556. {
  10557. "name": "organization_slug",
  10558. "in": "path",
  10559. "description": "The slug of the organization.",
  10560. "required": true,
  10561. "schema": {
  10562. "type": "string"
  10563. }
  10564. },
  10565. {
  10566. "name": "version",
  10567. "in": "path",
  10568. "description": "The version identifier of the release.",
  10569. "required": true,
  10570. "schema": {
  10571. "type": "string"
  10572. }
  10573. }
  10574. ],
  10575. "responses": {
  10576. "200": {
  10577. "description": "Success.",
  10578. "content": {
  10579. "application/json": {
  10580. "schema": {
  10581. "type": "array",
  10582. "items": {
  10583. "type": "object",
  10584. "required": [
  10585. "sha1",
  10586. "dist",
  10587. "name",
  10588. "dateCreated",
  10589. "headers",
  10590. "id",
  10591. "size"
  10592. ],
  10593. "properties": {
  10594. "sha1": {
  10595. "type": "string"
  10596. },
  10597. "dist": {
  10598. "type": "string",
  10599. "nullable": true
  10600. },
  10601. "name": {
  10602. "type": "string"
  10603. },
  10604. "dateCreated": {
  10605. "type": "string",
  10606. "format": "date-time"
  10607. },
  10608. "headers": {
  10609. "type": "object"
  10610. },
  10611. "id": {
  10612. "type": "string"
  10613. },
  10614. "size": {
  10615. "type": "integer"
  10616. }
  10617. }
  10618. }
  10619. },
  10620. "example": [
  10621. {
  10622. "dateCreated": "2018-11-06T21:20:22.894Z",
  10623. "dist": null,
  10624. "headers": {
  10625. "Content-Type": "text/plain; encoding=utf-8"
  10626. },
  10627. "id": "3",
  10628. "name": "/demo/goodbye.txt",
  10629. "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  10630. "size": 15
  10631. }
  10632. ]
  10633. }
  10634. }
  10635. },
  10636. "403": {
  10637. "description": "Forbidden"
  10638. }
  10639. },
  10640. "security": [
  10641. {
  10642. "auth_token": [
  10643. "project:releases"
  10644. ]
  10645. }
  10646. ]
  10647. },
  10648. "post": {
  10649. "tags": [
  10650. "Releases"
  10651. ],
  10652. "description": "Upload a new organization release file.",
  10653. "operationId": "Upload a New Organization Release File.",
  10654. "parameters": [
  10655. {
  10656. "name": "organization_slug",
  10657. "in": "path",
  10658. "description": "The slug of the organization.",
  10659. "required": true,
  10660. "schema": {
  10661. "type": "string"
  10662. }
  10663. },
  10664. {
  10665. "name": "version",
  10666. "in": "path",
  10667. "description": "The version identifier of the release.",
  10668. "required": true,
  10669. "schema": {
  10670. "type": "string"
  10671. }
  10672. }
  10673. ],
  10674. "requestBody": {
  10675. "content": {
  10676. "multipart/form-data": {
  10677. "schema": {
  10678. "type": "object",
  10679. "required": [
  10680. "file"
  10681. ],
  10682. "properties": {
  10683. "name": {
  10684. "type": "string",
  10685. "description": "The name (full path) of the file."
  10686. },
  10687. "file": {
  10688. "type": "string",
  10689. "format": "binary",
  10690. "description": "The multipart encoded file."
  10691. },
  10692. "dist": {
  10693. "type": "string",
  10694. "description": "The name of the dist"
  10695. },
  10696. "header": {
  10697. "type": "string",
  10698. "description": "This parameter can be supplied multiple times to attach headers to the file. Each header is a string in the format `key:value`. For instance it can be used to define a content type."
  10699. }
  10700. }
  10701. }
  10702. }
  10703. }
  10704. },
  10705. "responses": {
  10706. "201": {
  10707. "description": "Success."
  10708. }
  10709. },
  10710. "security": [
  10711. {
  10712. "auth_token": [
  10713. "project:releases"
  10714. ]
  10715. }
  10716. ]
  10717. }
  10718. },
  10719. "/api/0/projects/{organization_slug}/{project_slug}/releases/{version}/files/": {
  10720. "get": {
  10721. "tags": [
  10722. "Releases"
  10723. ],
  10724. "description": "Return a list of files for a given release.",
  10725. "operationId": "List an Project's Release Files",
  10726. "parameters": [
  10727. {
  10728. "name": "organization_slug",
  10729. "in": "path",
  10730. "description": "The slug of the organization.",
  10731. "required": true,
  10732. "schema": {
  10733. "type": "string"
  10734. }
  10735. },
  10736. {
  10737. "name": "project_slug",
  10738. "in": "path",
  10739. "description": "The slug of the project.",
  10740. "required": true,
  10741. "schema": {
  10742. "type": "string"
  10743. }
  10744. },
  10745. {
  10746. "name": "version",
  10747. "in": "path",
  10748. "description": "The version identifier of the release.",
  10749. "required": true,
  10750. "schema": {
  10751. "type": "string"
  10752. }
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "Success.",
  10758. "content": {
  10759. "application/json": {
  10760. "schema": {
  10761. "type": "array",
  10762. "items": {
  10763. "type": "object",
  10764. "required": [
  10765. "sha1",
  10766. "dist",
  10767. "name",
  10768. "dateCreated",
  10769. "headers",
  10770. "id",
  10771. "size"
  10772. ],
  10773. "properties": {
  10774. "sha1": {
  10775. "type": "string"
  10776. },
  10777. "dist": {
  10778. "type": "string",
  10779. "nullable": true
  10780. },
  10781. "name": {
  10782. "type": "string"
  10783. },
  10784. "dateCreated": {
  10785. "type": "string",
  10786. "format": "date-time"
  10787. },
  10788. "headers": {
  10789. "type": "object"
  10790. },
  10791. "id": {
  10792. "type": "string"
  10793. },
  10794. "size": {
  10795. "type": "integer"
  10796. }
  10797. }
  10798. }
  10799. },
  10800. "example": [
  10801. {
  10802. "dateCreated": "2018-11-06T21:20:22.894Z",
  10803. "dist": null,
  10804. "headers": {
  10805. "Content-Type": "text/plain; encoding=utf-8"
  10806. },
  10807. "id": "3",
  10808. "name": "/demo/goodbye.txt",
  10809. "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  10810. "size": 15
  10811. }
  10812. ]
  10813. }
  10814. }
  10815. },
  10816. "403": {
  10817. "description": "Forbidden"
  10818. }
  10819. },
  10820. "security": [
  10821. {
  10822. "auth_token": [
  10823. "project:releases"
  10824. ]
  10825. }
  10826. ]
  10827. },
  10828. "post": {
  10829. "tags": [
  10830. "Releases"
  10831. ],
  10832. "description": "Upload a new project release file.",
  10833. "operationId": "Upload a New Project Release File.",
  10834. "parameters": [
  10835. {
  10836. "name": "organization_slug",
  10837. "in": "path",
  10838. "description": "The slug of the organization.",
  10839. "required": true,
  10840. "schema": {
  10841. "type": "string"
  10842. }
  10843. },
  10844. {
  10845. "name": "project_slug",
  10846. "in": "path",
  10847. "description": "The slug of the project.",
  10848. "required": true,
  10849. "schema": {
  10850. "type": "string"
  10851. }
  10852. },
  10853. {
  10854. "name": "version",
  10855. "in": "path",
  10856. "description": "The version identifier of the release.",
  10857. "required": true,
  10858. "schema": {
  10859. "type": "string"
  10860. }
  10861. }
  10862. ],
  10863. "requestBody": {
  10864. "content": {
  10865. "multipart/form-data": {
  10866. "schema": {
  10867. "type": "object",
  10868. "required": [
  10869. "file"
  10870. ],
  10871. "properties": {
  10872. "name": {
  10873. "type": "string",
  10874. "description": "The name (full path) of the file."
  10875. },
  10876. "file": {
  10877. "type": "string",
  10878. "format": "binary",
  10879. "description": "The multipart encoded file."
  10880. },
  10881. "dist": {
  10882. "type": "string",
  10883. "description": "The name of the dist"
  10884. },
  10885. "header": {
  10886. "type": "string",
  10887. "description": "This parameter can be supplied multiple times to attach headers to the file. Each header is a string in the format `key:value`. For instance it can be used to define a content type."
  10888. }
  10889. }
  10890. }
  10891. }
  10892. }
  10893. },
  10894. "responses": {
  10895. "201": {
  10896. "description": "Success.",
  10897. "content": {
  10898. "application/json": {
  10899. "schema": {
  10900. "type": "object",
  10901. "required": [
  10902. "sha1",
  10903. "dist",
  10904. "name",
  10905. "dateCreated",
  10906. "headers",
  10907. "id",
  10908. "size"
  10909. ],
  10910. "properties": {
  10911. "sha1": {
  10912. "type": "string"
  10913. },
  10914. "dist": {
  10915. "type": "string",
  10916. "nullable": true
  10917. },
  10918. "name": {
  10919. "type": "string"
  10920. },
  10921. "dateCreated": {
  10922. "type": "string",
  10923. "format": "date-time"
  10924. },
  10925. "headers": {
  10926. "type": "object"
  10927. },
  10928. "id": {
  10929. "type": "string"
  10930. },
  10931. "size": {
  10932. "type": "integer"
  10933. }
  10934. }
  10935. },
  10936. "example": {
  10937. "dateCreated": "2018-11-06T21:20:22.894Z",
  10938. "dist": null,
  10939. "headers": {
  10940. "Content-Type": "text/plain; encoding=utf-8"
  10941. },
  10942. "id": "3",
  10943. "name": "/demo/goodbye.txt",
  10944. "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  10945. "size": 15
  10946. }
  10947. }
  10948. }
  10949. }
  10950. },
  10951. "security": [
  10952. {
  10953. "auth_token": [
  10954. "project:releases"
  10955. ]
  10956. }
  10957. ]
  10958. }
  10959. },
  10960. "/api/0/organizations/{organization_slug}/releases/{version}/files/{file_id}/": {
  10961. "get": {
  10962. "tags": [
  10963. "Releases"
  10964. ],
  10965. "description": "Retrieve a file for a given release.",
  10966. "operationId": "Retrieve an Organization Release's File",
  10967. "parameters": [
  10968. {
  10969. "name": "organization_slug",
  10970. "in": "path",
  10971. "description": "The slug of the organization.",
  10972. "required": true,
  10973. "schema": {
  10974. "type": "string"
  10975. }
  10976. },
  10977. {
  10978. "name": "version",
  10979. "in": "path",
  10980. "description": "The version identifier of the release.",
  10981. "required": true,
  10982. "schema": {
  10983. "type": "string"
  10984. }
  10985. },
  10986. {
  10987. "name": "file_id",
  10988. "in": "path",
  10989. "description": "The ID of the file to retrieve.",
  10990. "required": true,
  10991. "schema": {
  10992. "type": "string"
  10993. }
  10994. }
  10995. ],
  10996. "responses": {
  10997. "200": {
  10998. "description": "Success.",
  10999. "content": {
  11000. "application/json": {
  11001. "schema": {
  11002. "type": "object",
  11003. "required": [
  11004. "sha1",
  11005. "dist",
  11006. "name",
  11007. "dateCreated",
  11008. "headers",
  11009. "id",
  11010. "size"
  11011. ],
  11012. "properties": {
  11013. "sha1": {
  11014. "type": "string"
  11015. },
  11016. "dist": {
  11017. "type": "string",
  11018. "nullable": true
  11019. },
  11020. "name": {
  11021. "type": "string"
  11022. },
  11023. "dateCreated": {
  11024. "type": "string",
  11025. "format": "date-time"
  11026. },
  11027. "headers": {
  11028. "type": "object"
  11029. },
  11030. "id": {
  11031. "type": "string"
  11032. },
  11033. "size": {
  11034. "type": "integer"
  11035. }
  11036. }
  11037. },
  11038. "example": {
  11039. "dateCreated": "2018-11-06T21:20:19.150Z",
  11040. "dist": null,
  11041. "headers": {
  11042. "Content-Type": "text/plain; encoding=utf-8"
  11043. },
  11044. "id": "1",
  11045. "name": "/demo/message-for-you.txt",
  11046. "sha1": "2ef7bde608ce5404e97d5f042f95f89f1c232871",
  11047. "size": 12
  11048. }
  11049. }
  11050. }
  11051. },
  11052. "403": {
  11053. "description": "Forbidden"
  11054. }
  11055. },
  11056. "security": [
  11057. {
  11058. "auth_token": [
  11059. "project:releases"
  11060. ]
  11061. }
  11062. ]
  11063. },
  11064. "put": {
  11065. "tags": [
  11066. "Releases"
  11067. ],
  11068. "description": "Upload an organization release file.",
  11069. "operationId": "Update an Organization Release File.",
  11070. "parameters": [
  11071. {
  11072. "name": "organization_slug",
  11073. "in": "path",
  11074. "description": "The slug of the organization.",
  11075. "required": true,
  11076. "schema": {
  11077. "type": "string"
  11078. }
  11079. },
  11080. {
  11081. "name": "version",
  11082. "in": "path",
  11083. "description": "The version identifier of the release.",
  11084. "required": true,
  11085. "schema": {
  11086. "type": "string"
  11087. }
  11088. },
  11089. {
  11090. "name": "file_id",
  11091. "in": "path",
  11092. "description": "The ID of the file to retrieve.",
  11093. "required": true,
  11094. "schema": {
  11095. "type": "string"
  11096. }
  11097. }
  11098. ],
  11099. "requestBody": {
  11100. "content": {
  11101. "application/json": {
  11102. "schema": {
  11103. "type": "object",
  11104. "required": [
  11105. "version",
  11106. "projects"
  11107. ],
  11108. "properties": {
  11109. "name": {
  11110. "type": "string",
  11111. "description": "The new name (full path) of the file."
  11112. },
  11113. "dist": {
  11114. "type": "string",
  11115. "description": "The new name of the dist"
  11116. }
  11117. }
  11118. }
  11119. }
  11120. }
  11121. },
  11122. "responses": {
  11123. "201": {
  11124. "description": "Success.",
  11125. "content": {
  11126. "application/json": {
  11127. "schema": {
  11128. "type": "object",
  11129. "required": [
  11130. "sha1",
  11131. "dist",
  11132. "name",
  11133. "dateCreated",
  11134. "headers",
  11135. "id",
  11136. "size"
  11137. ],
  11138. "properties": {
  11139. "sha1": {
  11140. "type": "string"
  11141. },
  11142. "dist": {
  11143. "type": "string",
  11144. "nullable": true
  11145. },
  11146. "name": {
  11147. "type": "string"
  11148. },
  11149. "dateCreated": {
  11150. "type": "string",
  11151. "format": "date-time"
  11152. },
  11153. "headers": {
  11154. "type": "object"
  11155. },
  11156. "id": {
  11157. "type": "string"
  11158. },
  11159. "size": {
  11160. "type": "integer"
  11161. }
  11162. }
  11163. },
  11164. "example": {
  11165. "dateCreated": "2018-11-06T21:20:22.894Z",
  11166. "dist": null,
  11167. "headers": {
  11168. "Content-Type": "text/plain; encoding=utf-8"
  11169. },
  11170. "id": "3",
  11171. "name": "/demo/goodbye.txt",
  11172. "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  11173. "size": 15
  11174. }
  11175. }
  11176. }
  11177. }
  11178. },
  11179. "security": [
  11180. {
  11181. "auth_token": [
  11182. "project:releases"
  11183. ]
  11184. }
  11185. ]
  11186. },
  11187. "delete": {
  11188. "tags": [
  11189. "Releases"
  11190. ],
  11191. "description": "Delete a file for a given release.",
  11192. "operationId": "Delete an Organization Release's File",
  11193. "parameters": [
  11194. {
  11195. "name": "organization_slug",
  11196. "in": "path",
  11197. "description": "The slug of the organization the release belongs to.",
  11198. "required": true,
  11199. "schema": {
  11200. "type": "string"
  11201. }
  11202. },
  11203. {
  11204. "name": "version",
  11205. "in": "path",
  11206. "description": "The version identifier of the release.",
  11207. "required": true,
  11208. "schema": {
  11209. "type": "string"
  11210. }
  11211. },
  11212. {
  11213. "name": "file_id",
  11214. "in": "path",
  11215. "description": "The ID of the file to delete.",
  11216. "required": true,
  11217. "schema": {
  11218. "type": "string"
  11219. }
  11220. }
  11221. ],
  11222. "responses": {
  11223. "204": {
  11224. "description": "Success."
  11225. }
  11226. },
  11227. "security": [
  11228. {
  11229. "auth_token": [
  11230. "project:releases"
  11231. ]
  11232. }
  11233. ]
  11234. }
  11235. },
  11236. "/api/0/projects/{organization_slug}/{project_slug}/releases/{version}/files/{file_id}/": {
  11237. "get": {
  11238. "tags": [
  11239. "Releases"
  11240. ],
  11241. "description": "Retrieve a file for a given release.",
  11242. "operationId": "Retrieve an Project Release's File",
  11243. "parameters": [
  11244. {
  11245. "name": "organization_slug",
  11246. "in": "path",
  11247. "description": "The slug of the organization.",
  11248. "required": true,
  11249. "schema": {
  11250. "type": "string"
  11251. }
  11252. },
  11253. {
  11254. "name": "project_slug",
  11255. "in": "path",
  11256. "description": "The slug of the project.",
  11257. "required": true,
  11258. "schema": {
  11259. "type": "string"
  11260. }
  11261. },
  11262. {
  11263. "name": "version",
  11264. "in": "path",
  11265. "description": "The version identifier of the release.",
  11266. "required": true,
  11267. "schema": {
  11268. "type": "string"
  11269. }
  11270. },
  11271. {
  11272. "name": "file_id",
  11273. "in": "path",
  11274. "required": true,
  11275. "description": "The ID of the file to retrieve.",
  11276. "schema": {
  11277. "type": "string"
  11278. }
  11279. }
  11280. ],
  11281. "responses": {
  11282. "200": {
  11283. "description": "Success.",
  11284. "content": {
  11285. "application/json": {
  11286. "schema": {
  11287. "type": "object",
  11288. "required": [
  11289. "sha1",
  11290. "dist",
  11291. "name",
  11292. "dateCreated",
  11293. "headers",
  11294. "id",
  11295. "size"
  11296. ],
  11297. "properties": {
  11298. "sha1": {
  11299. "type": "string"
  11300. },
  11301. "dist": {
  11302. "type": "string",
  11303. "nullable": true
  11304. },
  11305. "name": {
  11306. "type": "string"
  11307. },
  11308. "dateCreated": {
  11309. "type": "string",
  11310. "format": "date-time"
  11311. },
  11312. "headers": {
  11313. "type": "object"
  11314. },
  11315. "id": {
  11316. "type": "string"
  11317. },
  11318. "size": {
  11319. "type": "integer"
  11320. }
  11321. }
  11322. },
  11323. "example": {
  11324. "dateCreated": "2018-11-06T21:20:19.150Z",
  11325. "dist": null,
  11326. "headers": {
  11327. "Content-Type": "text/plain; encoding=utf-8"
  11328. },
  11329. "id": "1",
  11330. "name": "/demo/message-for-you.txt",
  11331. "sha1": "2ef7bde608ce5404e97d5f042f95f89f1c232871",
  11332. "size": 12
  11333. }
  11334. }
  11335. }
  11336. },
  11337. "403": {
  11338. "description": "Forbidden"
  11339. }
  11340. },
  11341. "security": [
  11342. {
  11343. "auth_token": [
  11344. "project:releases"
  11345. ]
  11346. }
  11347. ]
  11348. },
  11349. "put": {
  11350. "tags": [
  11351. "Releases"
  11352. ],
  11353. "description": "Upload a project release file.",
  11354. "operationId": "Update a Project Release File.",
  11355. "parameters": [
  11356. {
  11357. "name": "organization_slug",
  11358. "in": "path",
  11359. "description": "The slug of the organization.",
  11360. "required": true,
  11361. "schema": {
  11362. "type": "string"
  11363. }
  11364. },
  11365. {
  11366. "name": "project_slug",
  11367. "in": "path",
  11368. "description": "The slug of the project.",
  11369. "required": true,
  11370. "schema": {
  11371. "type": "string"
  11372. }
  11373. },
  11374. {
  11375. "name": "version",
  11376. "in": "path",
  11377. "description": "The version identifier of the release.",
  11378. "required": true,
  11379. "schema": {
  11380. "type": "string"
  11381. }
  11382. },
  11383. {
  11384. "name": "file_id",
  11385. "in": "path",
  11386. "description": "The ID of the file to retrieve.",
  11387. "required": true,
  11388. "schema": {
  11389. "type": "string"
  11390. }
  11391. }
  11392. ],
  11393. "requestBody": {
  11394. "content": {
  11395. "application/json": {
  11396. "schema": {
  11397. "type": "object",
  11398. "required": [
  11399. "version",
  11400. "projects"
  11401. ],
  11402. "properties": {
  11403. "name": {
  11404. "type": "string",
  11405. "description": "The new name (full path) of the file."
  11406. },
  11407. "dist": {
  11408. "type": "string",
  11409. "description": "The new name of the dist"
  11410. }
  11411. }
  11412. }
  11413. }
  11414. }
  11415. },
  11416. "responses": {
  11417. "201": {
  11418. "description": "Success.",
  11419. "content": {
  11420. "application/json": {
  11421. "schema": {
  11422. "type": "object",
  11423. "required": [
  11424. "sha1",
  11425. "dist",
  11426. "name",
  11427. "dateCreated",
  11428. "headers",
  11429. "id",
  11430. "size"
  11431. ],
  11432. "properties": {
  11433. "sha1": {
  11434. "type": "string"
  11435. },
  11436. "dist": {
  11437. "type": "string",
  11438. "nullable": true
  11439. },
  11440. "name": {
  11441. "type": "string"
  11442. },
  11443. "dateCreated": {
  11444. "type": "string",
  11445. "format": "date-time"
  11446. },
  11447. "headers": {
  11448. "type": "object"
  11449. },
  11450. "id": {
  11451. "type": "string"
  11452. },
  11453. "size": {
  11454. "type": "integer"
  11455. }
  11456. }
  11457. },
  11458. "example": {
  11459. "dateCreated": "2018-11-06T21:20:22.894Z",
  11460. "dist": null,
  11461. "headers": {
  11462. "Content-Type": "text/plain; encoding=utf-8"
  11463. },
  11464. "id": "3",
  11465. "name": "/demo/goodbye.txt",
  11466. "sha1": "94d6b21e962a9fc65889617ec1f17a1e2fe11b65",
  11467. "size": 15
  11468. }
  11469. }
  11470. }
  11471. }
  11472. },
  11473. "security": [
  11474. {
  11475. "auth_token": [
  11476. "project:releases"
  11477. ]
  11478. }
  11479. ]
  11480. },
  11481. "delete": {
  11482. "tags": [
  11483. "Releases"
  11484. ],
  11485. "description": "Delete a file for a given release.",
  11486. "operationId": "Delete an Project Release's File",
  11487. "parameters": [
  11488. {
  11489. "name": "organization_slug",
  11490. "in": "path",
  11491. "description": "The slug of the organization the release belongs to.",
  11492. "required": true,
  11493. "schema": {
  11494. "type": "string"
  11495. }
  11496. },
  11497. {
  11498. "name": "project_slug",
  11499. "in": "path",
  11500. "description": "The slug of the project.",
  11501. "required": true,
  11502. "schema": {
  11503. "type": "string"
  11504. }
  11505. },
  11506. {
  11507. "name": "version",
  11508. "in": "path",
  11509. "description": "The version identifier of the release.",
  11510. "required": true,
  11511. "schema": {
  11512. "type": "string"
  11513. }
  11514. },
  11515. {
  11516. "name": "file_id",
  11517. "in": "path",
  11518. "description": "The ID of the file to delete.",
  11519. "required": true,
  11520. "schema": {
  11521. "type": "string"
  11522. }
  11523. }
  11524. ],
  11525. "responses": {
  11526. "204": {
  11527. "description": "Success."
  11528. }
  11529. },
  11530. "security": [
  11531. {
  11532. "auth_token": [
  11533. "project:releases"
  11534. ]
  11535. }
  11536. ]
  11537. }
  11538. },
  11539. "/api/0/organizations/{organization_slug}/releases/{version}/commits/": {
  11540. "get": {
  11541. "tags": [
  11542. "Releases"
  11543. ],
  11544. "description": "List an organization release's commits.",
  11545. "operationId": "List an Organization Release's Commits",
  11546. "parameters": [
  11547. {
  11548. "name": "organization_slug",
  11549. "in": "path",
  11550. "description": "The slug of the organization the release belongs to.",
  11551. "required": true,
  11552. "schema": {
  11553. "type": "string"
  11554. }
  11555. },
  11556. {
  11557. "name": "version",
  11558. "in": "path",
  11559. "description": "The version identifier of the release.",
  11560. "required": true,
  11561. "schema": {
  11562. "type": "string"
  11563. }
  11564. }
  11565. ],
  11566. "responses": {
  11567. "200": {
  11568. "description": "Success.",
  11569. "content": {
  11570. "application/json": {
  11571. "schema": {
  11572. "type": "array",
  11573. "items": {
  11574. "type": "object",
  11575. "required": [
  11576. "dateCreated",
  11577. "id",
  11578. "message"
  11579. ],
  11580. "properties": {
  11581. "dateCreated": {
  11582. "type": "string",
  11583. "format": "date-time"
  11584. },
  11585. "id": {
  11586. "type": "string"
  11587. },
  11588. "message": {
  11589. "type": "string"
  11590. }
  11591. }
  11592. }
  11593. },
  11594. "example": [
  11595. {
  11596. "dateCreated": "2018-11-06T21:19:58.536Z",
  11597. "id": "acbafc639127fd89d10f474520104517ff1d709e",
  11598. "message": "Initial commit from Create Next App"
  11599. }
  11600. ]
  11601. }
  11602. }
  11603. }
  11604. },
  11605. "security": [
  11606. {
  11607. "auth_token": [
  11608. "project:releases"
  11609. ]
  11610. }
  11611. ]
  11612. }
  11613. },
  11614. "/api/0/projects/{organization_slug}/{project_slug}/releases/{version}/commits/": {
  11615. "get": {
  11616. "tags": [
  11617. "Releases"
  11618. ],
  11619. "description": "List an project release's commits.",
  11620. "operationId": "List an Project Release's Commits",
  11621. "parameters": [
  11622. {
  11623. "name": "organization_slug",
  11624. "in": "path",
  11625. "description": "The slug of the organization the release belongs to.",
  11626. "required": true,
  11627. "schema": {
  11628. "type": "string"
  11629. }
  11630. },
  11631. {
  11632. "name": "project_slug",
  11633. "in": "path",
  11634. "description": "The slug of the project the release belongs to.",
  11635. "required": true,
  11636. "schema": {
  11637. "type": "string"
  11638. }
  11639. },
  11640. {
  11641. "name": "version",
  11642. "in": "path",
  11643. "description": "The version identifier of the release.",
  11644. "required": true,
  11645. "schema": {
  11646. "type": "string"
  11647. }
  11648. }
  11649. ],
  11650. "responses": {
  11651. "200": {
  11652. "description": "Success.",
  11653. "content": {
  11654. "application/json": {
  11655. "schema": {
  11656. "type": "array",
  11657. "items": {
  11658. "type": "object",
  11659. "required": [
  11660. "dateCreated",
  11661. "id",
  11662. "message"
  11663. ],
  11664. "properties": {
  11665. "dateCreated": {
  11666. "type": "string",
  11667. "format": "date-time"
  11668. },
  11669. "id": {
  11670. "type": "string"
  11671. },
  11672. "message": {
  11673. "type": "string"
  11674. }
  11675. }
  11676. }
  11677. },
  11678. "example": [
  11679. {
  11680. "dateCreated": "2018-11-06T21:19:58.536Z",
  11681. "id": "acbafc639127fd89d10f474520104517ff1d709e",
  11682. "message": "Initial commit from Create Next App"
  11683. }
  11684. ]
  11685. }
  11686. }
  11687. }
  11688. },
  11689. "security": [
  11690. {
  11691. "auth_token": [
  11692. "project:releases"
  11693. ]
  11694. }
  11695. ]
  11696. }
  11697. },
  11698. "/api/0/organizations/{organization_slug}/releases/{version}/commitfiles/": {
  11699. "get": {
  11700. "tags": [
  11701. "Releases"
  11702. ],
  11703. "description": "Retrieve files changed in a release's commits",
  11704. "operationId": "Retrieve Files Changed in a Release's Commits",
  11705. "parameters": [
  11706. {
  11707. "name": "organization_slug",
  11708. "in": "path",
  11709. "description": "The slug of the organization the release belongs to.",
  11710. "required": true,
  11711. "schema": {
  11712. "type": "string"
  11713. }
  11714. },
  11715. {
  11716. "name": "version",
  11717. "in": "path",
  11718. "description": "The version identifier of the release.",
  11719. "required": true,
  11720. "schema": {
  11721. "type": "string"
  11722. }
  11723. }
  11724. ],
  11725. "responses": {
  11726. "200": {
  11727. "description": "Success."
  11728. }
  11729. },
  11730. "security": [
  11731. {
  11732. "auth_token": [
  11733. "project:releases"
  11734. ]
  11735. }
  11736. ]
  11737. }
  11738. },
  11739. "/api/0/projects/{organization_slug}/{project_slug}/releases/{version}/resolved/": {
  11740. "get": {
  11741. "tags": [
  11742. "Releases"
  11743. ],
  11744. "description": "List issues to be resolved in a particular release.",
  11745. "operationId": "List Issues to be Resolved in a Particular Release.",
  11746. "parameters": [
  11747. {
  11748. "name": "organization_slug",
  11749. "in": "path",
  11750. "description": "The slug of the organization.",
  11751. "required": true,
  11752. "schema": {
  11753. "type": "string"
  11754. }
  11755. },
  11756. {
  11757. "name": "project_slug",
  11758. "in": "path",
  11759. "description": "The slug of the project.",
  11760. "required": true,
  11761. "schema": {
  11762. "type": "string"
  11763. }
  11764. },
  11765. {
  11766. "name": "version",
  11767. "in": "path",
  11768. "description": "The version identifier of the release.",
  11769. "required": true,
  11770. "schema": {
  11771. "type": "string"
  11772. }
  11773. }
  11774. ],
  11775. "responses": {
  11776. "200": {
  11777. "description": "Success."
  11778. },
  11779. "403": {
  11780. "description": "Forbidden"
  11781. }
  11782. },
  11783. "security": [
  11784. {
  11785. "auth_token": [
  11786. "project:releases"
  11787. ]
  11788. }
  11789. ]
  11790. }
  11791. },
  11792. "/api/0/organizations/{organization_slug}/releases/{version}/deploys/": {
  11793. "get": {
  11794. "tags": [
  11795. "Releases"
  11796. ],
  11797. "description": "Return a list of deploys for a given release.",
  11798. "operationId": "List a Release's Deploys",
  11799. "parameters": [
  11800. {
  11801. "name": "organization_slug",
  11802. "in": "path",
  11803. "description": "The slug of the organization.",
  11804. "required": true,
  11805. "schema": {
  11806. "type": "string"
  11807. }
  11808. },
  11809. {
  11810. "name": "version",
  11811. "in": "path",
  11812. "description": "The version identifier of the release.",
  11813. "required": true,
  11814. "schema": {
  11815. "type": "string"
  11816. }
  11817. }
  11818. ],
  11819. "responses": {
  11820. "200": {
  11821. "description": "Success.",
  11822. "content": {
  11823. "application/json": {
  11824. "schema": {
  11825. "type": "array",
  11826. "items": {
  11827. "type": "object",
  11828. "required": [
  11829. "environment",
  11830. "name",
  11831. "dateStarted",
  11832. "dateFinished",
  11833. "url",
  11834. "id"
  11835. ],
  11836. "properties": {
  11837. "environment": {
  11838. "type": "string"
  11839. },
  11840. "name": {
  11841. "type": "string",
  11842. "nullable": true
  11843. },
  11844. "dateStarted": {
  11845. "type": "string",
  11846. "format": "date-time",
  11847. "nullable": true
  11848. },
  11849. "dateFinished": {
  11850. "type": "string",
  11851. "format": "date-time"
  11852. },
  11853. "url": {
  11854. "type": "string",
  11855. "nullable": true
  11856. },
  11857. "id": {
  11858. "type": "string"
  11859. }
  11860. }
  11861. }
  11862. },
  11863. "example": [
  11864. {
  11865. "environment": "prod",
  11866. "name": null,
  11867. "url": null,
  11868. "dateStarted": null,
  11869. "dateFinished": "2020-08-31T19:40:38.651670Z",
  11870. "id": "1234567"
  11871. }
  11872. ]
  11873. }
  11874. }
  11875. },
  11876. "403": {
  11877. "description": "Forbidden"
  11878. }
  11879. },
  11880. "security": [
  11881. {
  11882. "auth_token": [
  11883. "project:releases"
  11884. ]
  11885. }
  11886. ]
  11887. },
  11888. "post": {
  11889. "tags": [
  11890. "Releases"
  11891. ],
  11892. "description": "Create a Deploy.",
  11893. "operationId": "Create a New Deploy for an Organization.",
  11894. "parameters": [
  11895. {
  11896. "name": "organization_slug",
  11897. "in": "path",
  11898. "description": "The slug of the organization.",
  11899. "required": true,
  11900. "schema": {
  11901. "type": "string"
  11902. }
  11903. },
  11904. {
  11905. "name": "version",
  11906. "in": "path",
  11907. "description": "The version identifier of the release.",
  11908. "required": true,
  11909. "schema": {
  11910. "type": "string"
  11911. }
  11912. }
  11913. ],
  11914. "requestBody": {
  11915. "content": {
  11916. "application/json": {
  11917. "schema": {
  11918. "type": "object",
  11919. "required": [
  11920. "environment"
  11921. ],
  11922. "properties": {
  11923. "environment": {
  11924. "type": "string",
  11925. "description": "The environment you're deploying to."
  11926. },
  11927. "url": {
  11928. "type": "string",
  11929. "description": "The optional url that points to the deploy."
  11930. },
  11931. "name": {
  11932. "type": "string",
  11933. "description": "The optional name of the deploy."
  11934. },
  11935. "dateStarted": {
  11936. "type": "string",
  11937. "format": "date-time",
  11938. "description": "An optional date that indicates when the deploy started."
  11939. },
  11940. "dateFinished": {
  11941. "type": "string",
  11942. "format": "date-time",
  11943. "description": "An optional date that indicates when the deploy ended. If not provided, the current time is used."
  11944. }
  11945. }
  11946. },
  11947. "example": {
  11948. "environment": "prod"
  11949. }
  11950. }
  11951. }
  11952. },
  11953. "responses": {
  11954. "201": {
  11955. "description": "Success.",
  11956. "content": {
  11957. "application/json": {
  11958. "schema": {
  11959. "type": "object",
  11960. "required": [
  11961. "environment",
  11962. "name",
  11963. "dateStarted",
  11964. "dateFinished",
  11965. "url",
  11966. "id"
  11967. ],
  11968. "properties": {
  11969. "environment": {
  11970. "type": "string"
  11971. },
  11972. "name": {
  11973. "type": "string",
  11974. "nullable": true
  11975. },
  11976. "dateStarted": {
  11977. "type": "string",
  11978. "format": "date-time",
  11979. "nullable": true
  11980. },
  11981. "dateFinished": {
  11982. "type": "string",
  11983. "format": "date-time"
  11984. },
  11985. "url": {
  11986. "type": "string",
  11987. "nullable": true
  11988. },
  11989. "id": {
  11990. "type": "string"
  11991. }
  11992. }
  11993. },
  11994. "example": {
  11995. "environment": "prod",
  11996. "name": null,
  11997. "url": null,
  11998. "dateStarted": null,
  11999. "dateFinished": "2020-08-31T19:40:38.651670Z",
  12000. "id": "1234567"
  12001. }
  12002. }
  12003. }
  12004. }
  12005. },
  12006. "security": [
  12007. {
  12008. "auth_token": [
  12009. "project:releases"
  12010. ]
  12011. }
  12012. ]
  12013. }
  12014. }
  12015. },
  12016. "components": {
  12017. "securitySchemes": {
  12018. "auth_token": {
  12019. "type": "http",
  12020. "scheme": "bearer"
  12021. },
  12022. "dsn": {
  12023. "type": "http",
  12024. "scheme": "DSN"
  12025. }
  12026. }
  12027. }
  12028. }