api.json 161 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442
  1. {
  2. "openapi": "3.0.0",
  3. "info": {
  4. "title": "Organizr API",
  5. "description": "Organizr - Accept no others",
  6. "version": "2.0"
  7. },
  8. "servers": [
  9. {
  10. "url": "https://organizr.dev/",
  11. "description": "This Organizr Install"
  12. },
  13. {
  14. "url": "https://demo.organizr.app",
  15. "description": "Organizr Demo API"
  16. },
  17. {
  18. "url": "{schema}://{hostPath}",
  19. "description": "Custom Organizr API",
  20. "variables": {
  21. "schema": {
  22. "enum": [
  23. "https",
  24. "http"
  25. ],
  26. "default": "http"
  27. },
  28. "hostPath": {
  29. "default": "localhost",
  30. "description": "Your Organizr URL"
  31. }
  32. }
  33. }
  34. ],
  35. "paths": {
  36. "/api/v2/plugins/chat/settings": {
  37. "get": {
  38. "tags": [
  39. "plugins-chat"
  40. ],
  41. "summary": "Get settings",
  42. "responses": {
  43. "200": {
  44. "description": "Success",
  45. "content": {
  46. "application/json": {
  47. "schema": {
  48. "$ref": "#/components/schemas/pluginSettingsPage"
  49. }
  50. }
  51. }
  52. },
  53. "401": {
  54. "description": "Unauthorized"
  55. }
  56. },
  57. "security": [
  58. {
  59. "api_key": []
  60. }
  61. ]
  62. }
  63. },
  64. "/api/v2/plugins/chat/message": {
  65. "get": {
  66. "tags": [
  67. "plugins-chat"
  68. ],
  69. "summary": "Get all messages",
  70. "responses": {
  71. "200": {
  72. "description": "Success",
  73. "content": {
  74. "application/json": {
  75. "schema": {
  76. "$ref": "#/components/schemas/getChatMessages"
  77. }
  78. }
  79. }
  80. },
  81. "401": {
  82. "description": "Unauthorized"
  83. }
  84. },
  85. "security": [
  86. {
  87. "api_key": []
  88. }
  89. ]
  90. },
  91. "post": {
  92. "tags": [
  93. "plugins-chat"
  94. ],
  95. "summary": "Submit a message",
  96. "requestBody": {
  97. "description": "Success",
  98. "required": true,
  99. "content": {
  100. "application/x-www-form-urlencoded": {
  101. "schema": {
  102. "properties": {
  103. "message": {
  104. "description": "message to send",
  105. "type": "string"
  106. }
  107. },
  108. "type": "object"
  109. }
  110. },
  111. "application/json": {
  112. "schema": {
  113. "$ref": "#/components/schemas/submitMessageData"
  114. }
  115. }
  116. }
  117. },
  118. "responses": {
  119. "200": {
  120. "description": "Success",
  121. "content": {
  122. "application/json": {
  123. "schema": {
  124. "$ref": "#/components/schemas/submitMessage"
  125. }
  126. }
  127. }
  128. },
  129. "401": {
  130. "description": "Unauthorized"
  131. }
  132. },
  133. "security": [
  134. {
  135. "api_key": []
  136. }
  137. ]
  138. }
  139. },
  140. "/api/v2/plugins/healthchecks/settings": {
  141. "get": {
  142. "tags": [
  143. "plugins-healthchecks"
  144. ],
  145. "summary": "Get settings",
  146. "responses": {
  147. "200": {
  148. "description": "Success",
  149. "content": {
  150. "application/json": {
  151. "schema": {
  152. "$ref": "#/components/schemas/pluginSettingsPage"
  153. }
  154. }
  155. }
  156. },
  157. "401": {
  158. "description": "Unauthorized"
  159. }
  160. },
  161. "security": [
  162. {
  163. "api_key": []
  164. }
  165. ]
  166. }
  167. },
  168. "/api/v2/plugins/healthchecks/run": {
  169. "get": {
  170. "tags": [
  171. "plugins-healthchecks"
  172. ],
  173. "summary": "Run Healthchecks.io plugin",
  174. "responses": {
  175. "200": {
  176. "description": "Success",
  177. "content": {
  178. "application/json": {
  179. "schema": {
  180. "$ref": "#/components/schemas/healthChecksRun"
  181. }
  182. }
  183. }
  184. },
  185. "401": {
  186. "description": "Unauthorized"
  187. }
  188. },
  189. "security": [
  190. {
  191. "api_key": []
  192. }
  193. ]
  194. }
  195. },
  196. "/api/v2/plugins/invites/settings": {
  197. "get": {
  198. "tags": [
  199. "plugins-invites"
  200. ],
  201. "summary": "Get settings",
  202. "responses": {
  203. "200": {
  204. "description": "Success",
  205. "content": {
  206. "application/json": {
  207. "schema": {
  208. "$ref": "#/components/schemas/pluginSettingsPage"
  209. }
  210. }
  211. }
  212. },
  213. "401": {
  214. "description": "Unauthorized"
  215. }
  216. },
  217. "security": [
  218. {
  219. "api_key": []
  220. }
  221. ]
  222. }
  223. },
  224. "/api/v2/plugins/invites": {
  225. "get": {
  226. "tags": [
  227. "plugins-invites"
  228. ],
  229. "summary": "Get All Invites",
  230. "responses": {
  231. "200": {
  232. "description": "Success",
  233. "content": {
  234. "application/json": {
  235. "schema": {
  236. "$ref": "#/components/schemas/getInvites"
  237. }
  238. }
  239. }
  240. },
  241. "401": {
  242. "description": "Unauthorized"
  243. }
  244. },
  245. "security": [
  246. {
  247. "api_key": []
  248. }
  249. ]
  250. },
  251. "post": {
  252. "tags": [
  253. "plugins-invites"
  254. ],
  255. "summary": "Create Invite Code",
  256. "responses": {
  257. "200": {
  258. "description": "Success",
  259. "content": {
  260. "application/json": {
  261. "schema": {
  262. "$ref": "#/components/schemas/createInviteCode"
  263. }
  264. }
  265. }
  266. },
  267. "401": {
  268. "description": "Unauthorized"
  269. }
  270. },
  271. "security": [
  272. {
  273. "api_key": []
  274. }
  275. ]
  276. }
  277. },
  278. "/api/v2/plugins/invites/{code}": {
  279. "get": {
  280. "tags": [
  281. "plugins-invites"
  282. ],
  283. "summary": "Verify Invite Code",
  284. "parameters": [
  285. {
  286. "name": "code",
  287. "in": "path",
  288. "description": "The Invite Code",
  289. "required": true,
  290. "schema": {
  291. "type": "integer",
  292. "format": "int64"
  293. }
  294. }
  295. ],
  296. "responses": {
  297. "200": {
  298. "description": "Success",
  299. "content": {
  300. "application/json": {
  301. "schema": {
  302. "$ref": "#/components/schemas/verifyInviteCode"
  303. }
  304. }
  305. }
  306. },
  307. "401": {
  308. "description": "Unauthorized"
  309. }
  310. }
  311. },
  312. "post": {
  313. "tags": [
  314. "plugins-invites"
  315. ],
  316. "summary": "Use Invite Code",
  317. "parameters": [
  318. {
  319. "name": "code",
  320. "in": "path",
  321. "description": "The Invite Code",
  322. "required": true,
  323. "schema": {
  324. "type": "integer",
  325. "format": "int64"
  326. }
  327. }
  328. ],
  329. "responses": {
  330. "200": {
  331. "description": "Success",
  332. "content": {
  333. "application/json": {
  334. "schema": {
  335. "$ref": "#/components/schemas/useInviteCode"
  336. }
  337. }
  338. }
  339. },
  340. "401": {
  341. "description": "Unauthorized"
  342. }
  343. }
  344. },
  345. "delete": {
  346. "tags": [
  347. "plugins-invites"
  348. ],
  349. "summary": "Delete Invite Code",
  350. "parameters": [
  351. {
  352. "name": "code",
  353. "in": "path",
  354. "description": "The Invite Code",
  355. "required": true,
  356. "schema": {
  357. "type": "integer",
  358. "format": "int64"
  359. }
  360. }
  361. ],
  362. "responses": {
  363. "200": {
  364. "description": "Success",
  365. "content": {
  366. "application/json": {
  367. "schema": {
  368. "$ref": "#/components/schemas/deleteInviteCode"
  369. }
  370. }
  371. }
  372. },
  373. "401": {
  374. "description": "Unauthorized"
  375. }
  376. },
  377. "security": [
  378. {
  379. "api_key": []
  380. }
  381. ]
  382. }
  383. },
  384. "/api/v2/plugins/php-mailer/settings": {
  385. "get": {
  386. "tags": [
  387. "plugins-php-mailer"
  388. ],
  389. "summary": "Get settings",
  390. "responses": {
  391. "200": {
  392. "description": "Success",
  393. "content": {
  394. "application/json": {
  395. "schema": {
  396. "$ref": "#/components/schemas/pluginSettingsPage"
  397. }
  398. }
  399. }
  400. },
  401. "401": {
  402. "description": "Unauthorized"
  403. }
  404. },
  405. "security": [
  406. {
  407. "api_key": []
  408. }
  409. ]
  410. }
  411. },
  412. "/api/v2/plugins/php-mailer/email/test": {
  413. "get": {
  414. "tags": [
  415. "plugins-php-mailer"
  416. ],
  417. "summary": "Send Test Email to Default Admin Email",
  418. "responses": {
  419. "200": {
  420. "description": "Success",
  421. "content": {
  422. "application/json": {
  423. "schema": {
  424. "$ref": "#/components/schemas/successNullData"
  425. }
  426. }
  427. }
  428. },
  429. "401": {
  430. "description": "Unauthorized"
  431. }
  432. },
  433. "security": [
  434. {
  435. "api_key": []
  436. }
  437. ]
  438. }
  439. },
  440. "/api/v2/plugins/php-mailer/email/send": {
  441. "post": {
  442. "tags": [
  443. "plugins-php-mailer"
  444. ],
  445. "summary": "Send Email",
  446. "requestBody": {
  447. "description": "Success",
  448. "required": true,
  449. "content": {
  450. "application/json": {
  451. "schema": {
  452. "$ref": "#/components/schemas/sendEmailData"
  453. }
  454. }
  455. }
  456. },
  457. "responses": {
  458. "200": {
  459. "description": "Success",
  460. "content": {
  461. "application/json": {
  462. "schema": {
  463. "$ref": "#/components/schemas/successNullData"
  464. }
  465. }
  466. }
  467. },
  468. "401": {
  469. "description": "Unauthorized"
  470. }
  471. },
  472. "security": [
  473. {
  474. "api_key": []
  475. }
  476. ]
  477. }
  478. },
  479. "/api/v2/plugins/php-mailer/email/list": {
  480. "get": {
  481. "tags": [
  482. "plugins-php-mailer"
  483. ],
  484. "summary": "Get List of User Emails",
  485. "responses": {
  486. "200": {
  487. "description": "Success",
  488. "content": {
  489. "application/json": {
  490. "schema": {
  491. "$ref": "#/components/schemas/php-mailer-email-list"
  492. }
  493. }
  494. }
  495. },
  496. "401": {
  497. "description": "Unauthorized"
  498. }
  499. },
  500. "security": [
  501. {
  502. "api_key": []
  503. }
  504. ]
  505. }
  506. },
  507. "/api/v2/plugins/speedtest/settings": {
  508. "get": {
  509. "tags": [
  510. "plugins-speedtest"
  511. ],
  512. "summary": "Get settings",
  513. "responses": {
  514. "200": {
  515. "description": "Success",
  516. "content": {
  517. "application/json": {
  518. "schema": {
  519. "$ref": "#/components/schemas/pluginSettingsPage"
  520. }
  521. }
  522. }
  523. },
  524. "401": {
  525. "description": "Unauthorized"
  526. }
  527. },
  528. "security": [
  529. {
  530. "api_key": []
  531. }
  532. ]
  533. }
  534. },
  535. "/api/v2/2fa": {
  536. "put": {
  537. "tags": [
  538. "2fa"
  539. ],
  540. "summary": "Save 2FA code",
  541. "requestBody": {
  542. "description": "Success",
  543. "required": true,
  544. "content": {
  545. "application/json": {
  546. "schema": {
  547. "$ref": "#/components/schemas/submit-2fa-save"
  548. }
  549. }
  550. }
  551. },
  552. "responses": {
  553. "200": {
  554. "description": "Success",
  555. "content": {
  556. "application/json": {
  557. "schema": {
  558. "$ref": "#/components/schemas/success-message"
  559. }
  560. }
  561. }
  562. },
  563. "401": {
  564. "description": "Unauthorized",
  565. "content": {
  566. "application/json": {
  567. "schema": {
  568. "$ref": "#/components/schemas/unauthorized-message"
  569. }
  570. }
  571. }
  572. },
  573. "422": {
  574. "description": "Error",
  575. "content": {
  576. "application/json": {
  577. "schema": {
  578. "$ref": "#/components/schemas/error-message"
  579. }
  580. }
  581. }
  582. }
  583. },
  584. "security": [
  585. {
  586. "api_key": []
  587. }
  588. ]
  589. },
  590. "post": {
  591. "tags": [
  592. "2fa"
  593. ],
  594. "summary": "Verify 2FA code",
  595. "requestBody": {
  596. "description": "Success",
  597. "required": true,
  598. "content": {
  599. "application/json": {
  600. "schema": {
  601. "$ref": "#/components/schemas/submit-2fa-verify"
  602. }
  603. }
  604. }
  605. },
  606. "responses": {
  607. "200": {
  608. "description": "Success",
  609. "content": {
  610. "application/json": {
  611. "schema": {
  612. "$ref": "#/components/schemas/success-message"
  613. }
  614. }
  615. }
  616. },
  617. "401": {
  618. "description": "Unauthorized",
  619. "content": {
  620. "application/json": {
  621. "schema": {
  622. "$ref": "#/components/schemas/unauthorized-message"
  623. }
  624. }
  625. }
  626. },
  627. "404": {
  628. "description": "Error",
  629. "content": {
  630. "application/json": {
  631. "schema": {
  632. "$ref": "#/components/schemas/error-message"
  633. }
  634. }
  635. }
  636. },
  637. "422": {
  638. "description": "Error",
  639. "content": {
  640. "application/json": {
  641. "schema": {
  642. "$ref": "#/components/schemas/error-message"
  643. }
  644. }
  645. }
  646. },
  647. "500": {
  648. "description": "Error",
  649. "content": {
  650. "application/json": {
  651. "schema": {
  652. "$ref": "#/components/schemas/error-message"
  653. }
  654. }
  655. }
  656. }
  657. },
  658. "security": [
  659. {
  660. "api_key": []
  661. }
  662. ]
  663. },
  664. "delete": {
  665. "tags": [
  666. "2fa"
  667. ],
  668. "summary": "Delete 2FA code",
  669. "responses": {
  670. "204": {
  671. "description": "Success"
  672. },
  673. "401": {
  674. "description": "Unauthorized",
  675. "content": {
  676. "application/json": {
  677. "schema": {
  678. "$ref": "#/components/schemas/unauthorized-message"
  679. }
  680. }
  681. }
  682. }
  683. },
  684. "security": [
  685. {
  686. "api_key": []
  687. }
  688. ]
  689. }
  690. },
  691. "/api/v2/2fa/{type}": {
  692. "post": {
  693. "tags": [
  694. "2fa"
  695. ],
  696. "summary": "Create 2FA code",
  697. "parameters": [
  698. {
  699. "name": "type",
  700. "in": "path",
  701. "description": "The type of 2FA",
  702. "required": true,
  703. "schema": {
  704. "type": "string"
  705. },
  706. "example": "google"
  707. }
  708. ],
  709. "responses": {
  710. "200": {
  711. "description": "Success",
  712. "content": {
  713. "application/json": {
  714. "schema": {
  715. "$ref": "#/components/schemas/success-message"
  716. }
  717. }
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "/api/v2/categories": {
  724. "get": {
  725. "tags": [
  726. "categories"
  727. ],
  728. "summary": "Get all categories",
  729. "responses": {
  730. "200": {
  731. "description": "Success",
  732. "content": {
  733. "application/json": {
  734. "schema": {
  735. "$ref": "#/components/schemas/success-message"
  736. }
  737. }
  738. }
  739. },
  740. "401": {
  741. "description": "Unauthorized",
  742. "content": {
  743. "application/json": {
  744. "schema": {
  745. "$ref": "#/components/schemas/unauthorized-message"
  746. }
  747. }
  748. }
  749. },
  750. "404": {
  751. "description": "Error",
  752. "content": {
  753. "application/json": {
  754. "schema": {
  755. "$ref": "#/components/schemas/error-message"
  756. }
  757. }
  758. }
  759. },
  760. "422": {
  761. "description": "Error",
  762. "content": {
  763. "application/json": {
  764. "schema": {
  765. "$ref": "#/components/schemas/error-message"
  766. }
  767. }
  768. }
  769. },
  770. "500": {
  771. "description": "Error",
  772. "content": {
  773. "application/json": {
  774. "schema": {
  775. "$ref": "#/components/schemas/error-message"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "security": [
  782. {
  783. "api_key": []
  784. }
  785. ]
  786. },
  787. "put": {
  788. "tags": [
  789. "categories"
  790. ],
  791. "summary": "Update category order",
  792. "requestBody": {
  793. "description": "Success",
  794. "required": true,
  795. "content": {
  796. "application/json": {
  797. "schema": {
  798. "$ref": "#/components/schemas/submit-2fa-verify"
  799. }
  800. }
  801. }
  802. },
  803. "responses": {
  804. "200": {
  805. "description": "Success",
  806. "content": {
  807. "application/json": {
  808. "schema": {
  809. "$ref": "#/components/schemas/success-message"
  810. }
  811. }
  812. }
  813. },
  814. "401": {
  815. "description": "Unauthorized",
  816. "content": {
  817. "application/json": {
  818. "schema": {
  819. "$ref": "#/components/schemas/unauthorized-message"
  820. }
  821. }
  822. }
  823. },
  824. "404": {
  825. "description": "Error",
  826. "content": {
  827. "application/json": {
  828. "schema": {
  829. "$ref": "#/components/schemas/error-message"
  830. }
  831. }
  832. }
  833. },
  834. "422": {
  835. "description": "Error",
  836. "content": {
  837. "application/json": {
  838. "schema": {
  839. "$ref": "#/components/schemas/error-message"
  840. }
  841. }
  842. }
  843. },
  844. "500": {
  845. "description": "Error",
  846. "content": {
  847. "application/json": {
  848. "schema": {
  849. "$ref": "#/components/schemas/error-message"
  850. }
  851. }
  852. }
  853. }
  854. },
  855. "security": [
  856. {
  857. "api_key": []
  858. }
  859. ]
  860. },
  861. "post": {
  862. "tags": [
  863. "categories"
  864. ],
  865. "summary": "Add new category",
  866. "requestBody": {
  867. "description": "Success",
  868. "required": true,
  869. "content": {
  870. "application/json": {
  871. "schema": {
  872. "$ref": "#/components/schemas/submit-2fa-verify"
  873. }
  874. }
  875. }
  876. },
  877. "responses": {
  878. "200": {
  879. "description": "Success",
  880. "content": {
  881. "application/json": {
  882. "schema": {
  883. "$ref": "#/components/schemas/success-message"
  884. }
  885. }
  886. }
  887. },
  888. "401": {
  889. "description": "Unauthorized",
  890. "content": {
  891. "application/json": {
  892. "schema": {
  893. "$ref": "#/components/schemas/unauthorized-message"
  894. }
  895. }
  896. }
  897. },
  898. "404": {
  899. "description": "Error",
  900. "content": {
  901. "application/json": {
  902. "schema": {
  903. "$ref": "#/components/schemas/error-message"
  904. }
  905. }
  906. }
  907. },
  908. "422": {
  909. "description": "Error",
  910. "content": {
  911. "application/json": {
  912. "schema": {
  913. "$ref": "#/components/schemas/error-message"
  914. }
  915. }
  916. }
  917. },
  918. "500": {
  919. "description": "Error",
  920. "content": {
  921. "application/json": {
  922. "schema": {
  923. "$ref": "#/components/schemas/error-message"
  924. }
  925. }
  926. }
  927. }
  928. },
  929. "security": [
  930. {
  931. "api_key": []
  932. }
  933. ]
  934. }
  935. },
  936. "/api/v2/categories/{id}": {
  937. "put": {
  938. "tags": [
  939. "categories"
  940. ],
  941. "summary": "Update category",
  942. "requestBody": {
  943. "description": "Success",
  944. "required": true,
  945. "content": {
  946. "application/json": {
  947. "schema": {
  948. "$ref": "#/components/schemas/submit-2fa-verify"
  949. }
  950. }
  951. }
  952. },
  953. "responses": {
  954. "200": {
  955. "description": "Success",
  956. "content": {
  957. "application/json": {
  958. "schema": {
  959. "$ref": "#/components/schemas/success-message"
  960. }
  961. }
  962. }
  963. },
  964. "401": {
  965. "description": "Unauthorized",
  966. "content": {
  967. "application/json": {
  968. "schema": {
  969. "$ref": "#/components/schemas/unauthorized-message"
  970. }
  971. }
  972. }
  973. },
  974. "404": {
  975. "description": "Error",
  976. "content": {
  977. "application/json": {
  978. "schema": {
  979. "$ref": "#/components/schemas/error-message"
  980. }
  981. }
  982. }
  983. },
  984. "422": {
  985. "description": "Error",
  986. "content": {
  987. "application/json": {
  988. "schema": {
  989. "$ref": "#/components/schemas/error-message"
  990. }
  991. }
  992. }
  993. },
  994. "500": {
  995. "description": "Error",
  996. "content": {
  997. "application/json": {
  998. "schema": {
  999. "$ref": "#/components/schemas/error-message"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "security": [
  1006. {
  1007. "api_key": []
  1008. }
  1009. ]
  1010. },
  1011. "delete": {
  1012. "tags": [
  1013. "categories"
  1014. ],
  1015. "summary": "Delete category",
  1016. "requestBody": {
  1017. "description": "Success",
  1018. "required": true,
  1019. "content": {
  1020. "application/json": {
  1021. "schema": {
  1022. "$ref": "#/components/schemas/submit-2fa-verify"
  1023. }
  1024. }
  1025. }
  1026. },
  1027. "responses": {
  1028. "200": {
  1029. "description": "Success",
  1030. "content": {
  1031. "application/json": {
  1032. "schema": {
  1033. "$ref": "#/components/schemas/success-message"
  1034. }
  1035. }
  1036. }
  1037. },
  1038. "401": {
  1039. "description": "Unauthorized",
  1040. "content": {
  1041. "application/json": {
  1042. "schema": {
  1043. "$ref": "#/components/schemas/unauthorized-message"
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "404": {
  1049. "description": "Error",
  1050. "content": {
  1051. "application/json": {
  1052. "schema": {
  1053. "$ref": "#/components/schemas/error-message"
  1054. }
  1055. }
  1056. }
  1057. },
  1058. "422": {
  1059. "description": "Error",
  1060. "content": {
  1061. "application/json": {
  1062. "schema": {
  1063. "$ref": "#/components/schemas/error-message"
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "500": {
  1069. "description": "Error",
  1070. "content": {
  1071. "application/json": {
  1072. "schema": {
  1073. "$ref": "#/components/schemas/error-message"
  1074. }
  1075. }
  1076. }
  1077. }
  1078. },
  1079. "security": [
  1080. {
  1081. "api_key": []
  1082. }
  1083. ]
  1084. }
  1085. },
  1086. "/api/v2/config": {
  1087. "get": {
  1088. "tags": [
  1089. "config"
  1090. ],
  1091. "summary": "Get Organizr Coniguration Items",
  1092. "responses": {
  1093. "200": {
  1094. "description": "Success",
  1095. "content": {
  1096. "application/json": {
  1097. "schema": {
  1098. "$ref": "#/components/schemas/success-message"
  1099. }
  1100. }
  1101. }
  1102. },
  1103. "401": {
  1104. "description": "Unauthorized"
  1105. }
  1106. },
  1107. "security": [
  1108. {
  1109. "api_key": []
  1110. }
  1111. ]
  1112. },
  1113. "put": {
  1114. "tags": [
  1115. "config"
  1116. ],
  1117. "summary": "Update Organizr Coniguration Item(s)",
  1118. "requestBody": {
  1119. "description": "Success",
  1120. "required": true,
  1121. "content": {
  1122. "application/json": {
  1123. "schema": {
  1124. "$ref": "#/components/schemas/config-items-example"
  1125. }
  1126. }
  1127. }
  1128. },
  1129. "responses": {
  1130. "200": {
  1131. "description": "Success",
  1132. "content": {
  1133. "application/json": {
  1134. "schema": {
  1135. "$ref": "#/components/schemas/success-message"
  1136. }
  1137. }
  1138. }
  1139. },
  1140. "401": {
  1141. "description": "Unauthorized"
  1142. }
  1143. },
  1144. "security": [
  1145. {
  1146. "api_key": []
  1147. }
  1148. ]
  1149. }
  1150. },
  1151. "/api/v2/config/{item}": {
  1152. "get": {
  1153. "tags": [
  1154. "config"
  1155. ],
  1156. "summary": "Get Organizr Coniguration Item",
  1157. "parameters": [
  1158. {
  1159. "name": "item",
  1160. "in": "path",
  1161. "description": "The key of the item you want to grab",
  1162. "required": true,
  1163. "schema": {
  1164. "type": "string"
  1165. },
  1166. "example": "configVersion"
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "Success",
  1172. "content": {
  1173. "application/json": {
  1174. "schema": {
  1175. "$ref": "#/components/schemas/success-message"
  1176. }
  1177. }
  1178. }
  1179. },
  1180. "401": {
  1181. "description": "Unauthorized"
  1182. }
  1183. },
  1184. "security": [
  1185. {
  1186. "api_key": []
  1187. }
  1188. ]
  1189. }
  1190. },
  1191. "/api/v2/config/search/{term}": {
  1192. "get": {
  1193. "tags": [
  1194. "config"
  1195. ],
  1196. "summary": "Search Organizr Coniguration Items",
  1197. "parameters": [
  1198. {
  1199. "name": "term",
  1200. "in": "path",
  1201. "description": "The term of the items you want to grab",
  1202. "required": true,
  1203. "schema": {
  1204. "type": "string"
  1205. },
  1206. "example": "version"
  1207. }
  1208. ],
  1209. "responses": {
  1210. "200": {
  1211. "description": "Success",
  1212. "content": {
  1213. "application/json": {
  1214. "schema": {
  1215. "$ref": "#/components/schemas/success-message"
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "401": {
  1221. "description": "Unauthorized"
  1222. }
  1223. },
  1224. "security": [
  1225. {
  1226. "api_key": []
  1227. }
  1228. ]
  1229. }
  1230. },
  1231. "/api/v2/test/ldap": {
  1232. "post": {
  1233. "tags": [
  1234. "test connection"
  1235. ],
  1236. "summary": "Test LDAP connection",
  1237. "responses": {
  1238. "200": {
  1239. "description": "Success",
  1240. "content": {
  1241. "application/json": {
  1242. "schema": {
  1243. "$ref": "#/components/schemas/success-message"
  1244. }
  1245. }
  1246. }
  1247. },
  1248. "401": {
  1249. "description": "Unauthorized",
  1250. "content": {
  1251. "application/json": {
  1252. "schema": {
  1253. "$ref": "#/components/schemas/unauthorized-message"
  1254. }
  1255. }
  1256. }
  1257. },
  1258. "404": {
  1259. "description": "Error",
  1260. "content": {
  1261. "application/json": {
  1262. "schema": {
  1263. "$ref": "#/components/schemas/error-message"
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "409": {
  1269. "description": "Error",
  1270. "content": {
  1271. "application/json": {
  1272. "schema": {
  1273. "$ref": "#/components/schemas/error-message"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "security": [
  1280. {
  1281. "api_key": []
  1282. }
  1283. ]
  1284. }
  1285. },
  1286. "/api/v2/test/ldap/login": {
  1287. "post": {
  1288. "tags": [
  1289. "test connection"
  1290. ],
  1291. "summary": "Test LDAP connection using account login",
  1292. "responses": {
  1293. "200": {
  1294. "description": "Success",
  1295. "content": {
  1296. "application/json": {
  1297. "schema": {
  1298. "$ref": "#/components/schemas/success-message"
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "401": {
  1304. "description": "Unauthorized",
  1305. "content": {
  1306. "application/json": {
  1307. "schema": {
  1308. "$ref": "#/components/schemas/unauthorized-message"
  1309. }
  1310. }
  1311. }
  1312. },
  1313. "404": {
  1314. "description": "Error",
  1315. "content": {
  1316. "application/json": {
  1317. "schema": {
  1318. "$ref": "#/components/schemas/error-message"
  1319. }
  1320. }
  1321. }
  1322. },
  1323. "409": {
  1324. "description": "Error",
  1325. "content": {
  1326. "application/json": {
  1327. "schema": {
  1328. "$ref": "#/components/schemas/error-message"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "security": [
  1335. {
  1336. "api_key": []
  1337. }
  1338. ]
  1339. }
  1340. },
  1341. "/api/v2/test/iframe": {
  1342. "post": {
  1343. "tags": [
  1344. "test connection"
  1345. ],
  1346. "summary": "Test if URL can be iFramed",
  1347. "responses": {
  1348. "200": {
  1349. "description": "Success",
  1350. "content": {
  1351. "application/json": {
  1352. "schema": {
  1353. "$ref": "#/components/schemas/success-message"
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "401": {
  1359. "description": "Unauthorized",
  1360. "content": {
  1361. "application/json": {
  1362. "schema": {
  1363. "$ref": "#/components/schemas/unauthorized-message"
  1364. }
  1365. }
  1366. }
  1367. },
  1368. "404": {
  1369. "description": "Error",
  1370. "content": {
  1371. "application/json": {
  1372. "schema": {
  1373. "$ref": "#/components/schemas/error-message"
  1374. }
  1375. }
  1376. }
  1377. },
  1378. "409": {
  1379. "description": "Error",
  1380. "content": {
  1381. "application/json": {
  1382. "schema": {
  1383. "$ref": "#/components/schemas/error-message"
  1384. }
  1385. }
  1386. }
  1387. }
  1388. },
  1389. "security": [
  1390. {
  1391. "api_key": []
  1392. }
  1393. ]
  1394. }
  1395. },
  1396. "/api/v2/test/path": {
  1397. "post": {
  1398. "tags": [
  1399. "test connection"
  1400. ],
  1401. "summary": "Test if path has correct permissions",
  1402. "responses": {
  1403. "200": {
  1404. "description": "Success",
  1405. "content": {
  1406. "application/json": {
  1407. "schema": {
  1408. "$ref": "#/components/schemas/success-message"
  1409. }
  1410. }
  1411. }
  1412. },
  1413. "401": {
  1414. "description": "Unauthorized",
  1415. "content": {
  1416. "application/json": {
  1417. "schema": {
  1418. "$ref": "#/components/schemas/unauthorized-message"
  1419. }
  1420. }
  1421. }
  1422. },
  1423. "404": {
  1424. "description": "Error",
  1425. "content": {
  1426. "application/json": {
  1427. "schema": {
  1428. "$ref": "#/components/schemas/error-message"
  1429. }
  1430. }
  1431. }
  1432. }
  1433. },
  1434. "security": [
  1435. {
  1436. "api_key": []
  1437. }
  1438. ]
  1439. }
  1440. },
  1441. "/api/v2/test/plex": {
  1442. "post": {
  1443. "tags": [
  1444. "test connection"
  1445. ],
  1446. "summary": "Test connection to Plex",
  1447. "responses": {
  1448. "200": {
  1449. "description": "Success",
  1450. "content": {
  1451. "application/json": {
  1452. "schema": {
  1453. "$ref": "#/components/schemas/success-message"
  1454. }
  1455. }
  1456. }
  1457. },
  1458. "401": {
  1459. "description": "Unauthorized",
  1460. "content": {
  1461. "application/json": {
  1462. "schema": {
  1463. "$ref": "#/components/schemas/unauthorized-message"
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "422": {
  1469. "description": "Error",
  1470. "content": {
  1471. "application/json": {
  1472. "schema": {
  1473. "$ref": "#/components/schemas/error-message"
  1474. }
  1475. }
  1476. }
  1477. },
  1478. "500": {
  1479. "description": "Error",
  1480. "content": {
  1481. "application/json": {
  1482. "schema": {
  1483. "$ref": "#/components/schemas/error-message"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "security": [
  1490. {
  1491. "api_key": []
  1492. }
  1493. ]
  1494. }
  1495. },
  1496. "/api/v2/test/emby": {
  1497. "post": {
  1498. "tags": [
  1499. "test connection"
  1500. ],
  1501. "summary": "Test connection to Emby",
  1502. "responses": {
  1503. "200": {
  1504. "description": "Success",
  1505. "content": {
  1506. "application/json": {
  1507. "schema": {
  1508. "$ref": "#/components/schemas/success-message"
  1509. }
  1510. }
  1511. }
  1512. },
  1513. "401": {
  1514. "description": "Unauthorized",
  1515. "content": {
  1516. "application/json": {
  1517. "schema": {
  1518. "$ref": "#/components/schemas/unauthorized-message"
  1519. }
  1520. }
  1521. }
  1522. },
  1523. "422": {
  1524. "description": "Error",
  1525. "content": {
  1526. "application/json": {
  1527. "schema": {
  1528. "$ref": "#/components/schemas/error-message"
  1529. }
  1530. }
  1531. }
  1532. },
  1533. "500": {
  1534. "description": "Error",
  1535. "content": {
  1536. "application/json": {
  1537. "schema": {
  1538. "$ref": "#/components/schemas/error-message"
  1539. }
  1540. }
  1541. }
  1542. }
  1543. },
  1544. "security": [
  1545. {
  1546. "api_key": []
  1547. }
  1548. ]
  1549. }
  1550. },
  1551. "/api/v2/test/jellyfin": {
  1552. "post": {
  1553. "tags": [
  1554. "test connection"
  1555. ],
  1556. "summary": "Test connection to Jellyfin",
  1557. "responses": {
  1558. "200": {
  1559. "description": "Success",
  1560. "content": {
  1561. "application/json": {
  1562. "schema": {
  1563. "$ref": "#/components/schemas/success-message"
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "401": {
  1569. "description": "Unauthorized",
  1570. "content": {
  1571. "application/json": {
  1572. "schema": {
  1573. "$ref": "#/components/schemas/unauthorized-message"
  1574. }
  1575. }
  1576. }
  1577. },
  1578. "422": {
  1579. "description": "Error",
  1580. "content": {
  1581. "application/json": {
  1582. "schema": {
  1583. "$ref": "#/components/schemas/error-message"
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "500": {
  1589. "description": "Error",
  1590. "content": {
  1591. "application/json": {
  1592. "schema": {
  1593. "$ref": "#/components/schemas/error-message"
  1594. }
  1595. }
  1596. }
  1597. }
  1598. },
  1599. "security": [
  1600. {
  1601. "api_key": []
  1602. }
  1603. ]
  1604. }
  1605. },
  1606. "/api/v2/test/sabnzbd": {
  1607. "post": {
  1608. "tags": [
  1609. "test connection"
  1610. ],
  1611. "summary": "Test connection to SabNZBd",
  1612. "responses": {
  1613. "200": {
  1614. "description": "Success",
  1615. "content": {
  1616. "application/json": {
  1617. "schema": {
  1618. "$ref": "#/components/schemas/success-message"
  1619. }
  1620. }
  1621. }
  1622. },
  1623. "401": {
  1624. "description": "Unauthorized",
  1625. "content": {
  1626. "application/json": {
  1627. "schema": {
  1628. "$ref": "#/components/schemas/unauthorized-message"
  1629. }
  1630. }
  1631. }
  1632. },
  1633. "422": {
  1634. "description": "Error",
  1635. "content": {
  1636. "application/json": {
  1637. "schema": {
  1638. "$ref": "#/components/schemas/error-message"
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Error",
  1645. "content": {
  1646. "application/json": {
  1647. "schema": {
  1648. "$ref": "#/components/schemas/error-message"
  1649. }
  1650. }
  1651. }
  1652. }
  1653. },
  1654. "security": [
  1655. {
  1656. "api_key": []
  1657. }
  1658. ]
  1659. }
  1660. },
  1661. "/api/v2/test/pihole": {
  1662. "post": {
  1663. "tags": [
  1664. "test connection"
  1665. ],
  1666. "summary": "Test connection to PiHole",
  1667. "responses": {
  1668. "200": {
  1669. "description": "Success",
  1670. "content": {
  1671. "application/json": {
  1672. "schema": {
  1673. "$ref": "#/components/schemas/success-message"
  1674. }
  1675. }
  1676. }
  1677. },
  1678. "401": {
  1679. "description": "Unauthorized",
  1680. "content": {
  1681. "application/json": {
  1682. "schema": {
  1683. "$ref": "#/components/schemas/unauthorized-message"
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "422": {
  1689. "description": "Error",
  1690. "content": {
  1691. "application/json": {
  1692. "schema": {
  1693. "$ref": "#/components/schemas/error-message"
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "500": {
  1699. "description": "Error",
  1700. "content": {
  1701. "application/json": {
  1702. "schema": {
  1703. "$ref": "#/components/schemas/error-message"
  1704. }
  1705. }
  1706. }
  1707. }
  1708. },
  1709. "security": [
  1710. {
  1711. "api_key": []
  1712. }
  1713. ]
  1714. }
  1715. },
  1716. "/api/v2/test/rtorrent": {
  1717. "post": {
  1718. "tags": [
  1719. "test connection"
  1720. ],
  1721. "summary": "Test connection to rTorrent",
  1722. "responses": {
  1723. "200": {
  1724. "description": "Success",
  1725. "content": {
  1726. "application/json": {
  1727. "schema": {
  1728. "$ref": "#/components/schemas/success-message"
  1729. }
  1730. }
  1731. }
  1732. },
  1733. "401": {
  1734. "description": "Unauthorized",
  1735. "content": {
  1736. "application/json": {
  1737. "schema": {
  1738. "$ref": "#/components/schemas/unauthorized-message"
  1739. }
  1740. }
  1741. }
  1742. },
  1743. "422": {
  1744. "description": "Error",
  1745. "content": {
  1746. "application/json": {
  1747. "schema": {
  1748. "$ref": "#/components/schemas/error-message"
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Error",
  1755. "content": {
  1756. "application/json": {
  1757. "schema": {
  1758. "$ref": "#/components/schemas/error-message"
  1759. }
  1760. }
  1761. }
  1762. }
  1763. },
  1764. "security": [
  1765. {
  1766. "api_key": []
  1767. }
  1768. ]
  1769. }
  1770. },
  1771. "/api/v2/test/sonarr": {
  1772. "post": {
  1773. "tags": [
  1774. "test connection"
  1775. ],
  1776. "summary": "Test connection to Sonarr",
  1777. "responses": {
  1778. "200": {
  1779. "description": "Success",
  1780. "content": {
  1781. "application/json": {
  1782. "schema": {
  1783. "$ref": "#/components/schemas/success-message"
  1784. }
  1785. }
  1786. }
  1787. },
  1788. "401": {
  1789. "description": "Unauthorized",
  1790. "content": {
  1791. "application/json": {
  1792. "schema": {
  1793. "$ref": "#/components/schemas/unauthorized-message"
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "422": {
  1799. "description": "Error",
  1800. "content": {
  1801. "application/json": {
  1802. "schema": {
  1803. "$ref": "#/components/schemas/error-message"
  1804. }
  1805. }
  1806. }
  1807. },
  1808. "500": {
  1809. "description": "Error",
  1810. "content": {
  1811. "application/json": {
  1812. "schema": {
  1813. "$ref": "#/components/schemas/error-message"
  1814. }
  1815. }
  1816. }
  1817. }
  1818. },
  1819. "security": [
  1820. {
  1821. "api_key": []
  1822. }
  1823. ]
  1824. }
  1825. },
  1826. "/api/v2/test/radarr": {
  1827. "post": {
  1828. "tags": [
  1829. "test connection"
  1830. ],
  1831. "summary": "Test connection to Radarr",
  1832. "responses": {
  1833. "200": {
  1834. "description": "Success",
  1835. "content": {
  1836. "application/json": {
  1837. "schema": {
  1838. "$ref": "#/components/schemas/success-message"
  1839. }
  1840. }
  1841. }
  1842. },
  1843. "401": {
  1844. "description": "Unauthorized",
  1845. "content": {
  1846. "application/json": {
  1847. "schema": {
  1848. "$ref": "#/components/schemas/unauthorized-message"
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "422": {
  1854. "description": "Error",
  1855. "content": {
  1856. "application/json": {
  1857. "schema": {
  1858. "$ref": "#/components/schemas/error-message"
  1859. }
  1860. }
  1861. }
  1862. },
  1863. "500": {
  1864. "description": "Error",
  1865. "content": {
  1866. "application/json": {
  1867. "schema": {
  1868. "$ref": "#/components/schemas/error-message"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "security": [
  1875. {
  1876. "api_key": []
  1877. }
  1878. ]
  1879. }
  1880. },
  1881. "/api/v2/test/lidarr": {
  1882. "post": {
  1883. "tags": [
  1884. "test connection"
  1885. ],
  1886. "summary": "Test connection to Lidarr",
  1887. "responses": {
  1888. "200": {
  1889. "description": "Success",
  1890. "content": {
  1891. "application/json": {
  1892. "schema": {
  1893. "$ref": "#/components/schemas/success-message"
  1894. }
  1895. }
  1896. }
  1897. },
  1898. "401": {
  1899. "description": "Unauthorized",
  1900. "content": {
  1901. "application/json": {
  1902. "schema": {
  1903. "$ref": "#/components/schemas/unauthorized-message"
  1904. }
  1905. }
  1906. }
  1907. },
  1908. "422": {
  1909. "description": "Error",
  1910. "content": {
  1911. "application/json": {
  1912. "schema": {
  1913. "$ref": "#/components/schemas/error-message"
  1914. }
  1915. }
  1916. }
  1917. },
  1918. "500": {
  1919. "description": "Error",
  1920. "content": {
  1921. "application/json": {
  1922. "schema": {
  1923. "$ref": "#/components/schemas/error-message"
  1924. }
  1925. }
  1926. }
  1927. }
  1928. },
  1929. "security": [
  1930. {
  1931. "api_key": []
  1932. }
  1933. ]
  1934. }
  1935. },
  1936. "/api/v2/test/sickrage": {
  1937. "post": {
  1938. "tags": [
  1939. "test connection"
  1940. ],
  1941. "summary": "Test connection to SickRage",
  1942. "responses": {
  1943. "200": {
  1944. "description": "Success",
  1945. "content": {
  1946. "application/json": {
  1947. "schema": {
  1948. "$ref": "#/components/schemas/success-message"
  1949. }
  1950. }
  1951. }
  1952. },
  1953. "401": {
  1954. "description": "Unauthorized",
  1955. "content": {
  1956. "application/json": {
  1957. "schema": {
  1958. "$ref": "#/components/schemas/unauthorized-message"
  1959. }
  1960. }
  1961. }
  1962. },
  1963. "422": {
  1964. "description": "Error",
  1965. "content": {
  1966. "application/json": {
  1967. "schema": {
  1968. "$ref": "#/components/schemas/error-message"
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "500": {
  1974. "description": "Error",
  1975. "content": {
  1976. "application/json": {
  1977. "schema": {
  1978. "$ref": "#/components/schemas/error-message"
  1979. }
  1980. }
  1981. }
  1982. }
  1983. },
  1984. "security": [
  1985. {
  1986. "api_key": []
  1987. }
  1988. ]
  1989. }
  1990. },
  1991. "/api/v2/test/ombi": {
  1992. "post": {
  1993. "tags": [
  1994. "test connection"
  1995. ],
  1996. "summary": "Test connection to Ombi",
  1997. "responses": {
  1998. "200": {
  1999. "description": "Success",
  2000. "content": {
  2001. "application/json": {
  2002. "schema": {
  2003. "$ref": "#/components/schemas/success-message"
  2004. }
  2005. }
  2006. }
  2007. },
  2008. "401": {
  2009. "description": "Unauthorized",
  2010. "content": {
  2011. "application/json": {
  2012. "schema": {
  2013. "$ref": "#/components/schemas/unauthorized-message"
  2014. }
  2015. }
  2016. }
  2017. },
  2018. "422": {
  2019. "description": "Error",
  2020. "content": {
  2021. "application/json": {
  2022. "schema": {
  2023. "$ref": "#/components/schemas/error-message"
  2024. }
  2025. }
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Error",
  2030. "content": {
  2031. "application/json": {
  2032. "schema": {
  2033. "$ref": "#/components/schemas/error-message"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "security": [
  2040. {
  2041. "api_key": []
  2042. }
  2043. ]
  2044. }
  2045. },
  2046. "/api/v2/test/overseerr": {
  2047. "post": {
  2048. "tags": [
  2049. "test connection"
  2050. ],
  2051. "summary": "Test connection to Overseerr",
  2052. "responses": {
  2053. "200": {
  2054. "description": "Success",
  2055. "content": {
  2056. "application/json": {
  2057. "schema": {
  2058. "$ref": "#/components/schemas/success-message"
  2059. }
  2060. }
  2061. }
  2062. },
  2063. "401": {
  2064. "description": "Unauthorized",
  2065. "content": {
  2066. "application/json": {
  2067. "schema": {
  2068. "$ref": "#/components/schemas/unauthorized-message"
  2069. }
  2070. }
  2071. }
  2072. },
  2073. "422": {
  2074. "description": "Error",
  2075. "content": {
  2076. "application/json": {
  2077. "schema": {
  2078. "$ref": "#/components/schemas/error-message"
  2079. }
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Error",
  2085. "content": {
  2086. "application/json": {
  2087. "schema": {
  2088. "$ref": "#/components/schemas/error-message"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. },
  2094. "security": [
  2095. {
  2096. "api_key": []
  2097. }
  2098. ]
  2099. }
  2100. },
  2101. "/api/v2/test/nzbget": {
  2102. "post": {
  2103. "tags": [
  2104. "test connection"
  2105. ],
  2106. "summary": "Test connection to NzbGet",
  2107. "responses": {
  2108. "200": {
  2109. "description": "Success",
  2110. "content": {
  2111. "application/json": {
  2112. "schema": {
  2113. "$ref": "#/components/schemas/success-message"
  2114. }
  2115. }
  2116. }
  2117. },
  2118. "401": {
  2119. "description": "Unauthorized",
  2120. "content": {
  2121. "application/json": {
  2122. "schema": {
  2123. "$ref": "#/components/schemas/unauthorized-message"
  2124. }
  2125. }
  2126. }
  2127. },
  2128. "422": {
  2129. "description": "Error",
  2130. "content": {
  2131. "application/json": {
  2132. "schema": {
  2133. "$ref": "#/components/schemas/error-message"
  2134. }
  2135. }
  2136. }
  2137. },
  2138. "500": {
  2139. "description": "Error",
  2140. "content": {
  2141. "application/json": {
  2142. "schema": {
  2143. "$ref": "#/components/schemas/error-message"
  2144. }
  2145. }
  2146. }
  2147. }
  2148. },
  2149. "security": [
  2150. {
  2151. "api_key": []
  2152. }
  2153. ]
  2154. }
  2155. },
  2156. "/api/v2/test/utorrent": {
  2157. "post": {
  2158. "tags": [
  2159. "test connection"
  2160. ],
  2161. "summary": "Test connection to uTorrent",
  2162. "responses": {
  2163. "200": {
  2164. "description": "Success",
  2165. "content": {
  2166. "application/json": {
  2167. "schema": {
  2168. "$ref": "#/components/schemas/success-message"
  2169. }
  2170. }
  2171. }
  2172. },
  2173. "401": {
  2174. "description": "Unauthorized",
  2175. "content": {
  2176. "application/json": {
  2177. "schema": {
  2178. "$ref": "#/components/schemas/unauthorized-message"
  2179. }
  2180. }
  2181. }
  2182. },
  2183. "400": {
  2184. "description": "Error",
  2185. "content": {
  2186. "application/json": {
  2187. "schema": {
  2188. "$ref": "#/components/schemas/error-message"
  2189. }
  2190. }
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Error",
  2195. "content": {
  2196. "application/json": {
  2197. "schema": {
  2198. "$ref": "#/components/schemas/error-message"
  2199. }
  2200. }
  2201. }
  2202. }
  2203. },
  2204. "security": [
  2205. {
  2206. "api_key": []
  2207. }
  2208. ]
  2209. }
  2210. },
  2211. "/api/v2/test/deluge": {
  2212. "post": {
  2213. "tags": [
  2214. "test connection"
  2215. ],
  2216. "summary": "Test connection to Deluge",
  2217. "responses": {
  2218. "200": {
  2219. "description": "Success",
  2220. "content": {
  2221. "application/json": {
  2222. "schema": {
  2223. "$ref": "#/components/schemas/success-message"
  2224. }
  2225. }
  2226. }
  2227. },
  2228. "401": {
  2229. "description": "Unauthorized",
  2230. "content": {
  2231. "application/json": {
  2232. "schema": {
  2233. "$ref": "#/components/schemas/unauthorized-message"
  2234. }
  2235. }
  2236. }
  2237. },
  2238. "422": {
  2239. "description": "Error",
  2240. "content": {
  2241. "application/json": {
  2242. "schema": {
  2243. "$ref": "#/components/schemas/error-message"
  2244. }
  2245. }
  2246. }
  2247. },
  2248. "500": {
  2249. "description": "Error",
  2250. "content": {
  2251. "application/json": {
  2252. "schema": {
  2253. "$ref": "#/components/schemas/error-message"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "security": [
  2260. {
  2261. "api_key": []
  2262. }
  2263. ]
  2264. }
  2265. },
  2266. "/api/v2/test/jdownloader": {
  2267. "post": {
  2268. "tags": [
  2269. "test connection"
  2270. ],
  2271. "summary": "Test connection to jDownloader",
  2272. "responses": {
  2273. "200": {
  2274. "description": "Success",
  2275. "content": {
  2276. "application/json": {
  2277. "schema": {
  2278. "$ref": "#/components/schemas/success-message"
  2279. }
  2280. }
  2281. }
  2282. },
  2283. "401": {
  2284. "description": "Unauthorized",
  2285. "content": {
  2286. "application/json": {
  2287. "schema": {
  2288. "$ref": "#/components/schemas/unauthorized-message"
  2289. }
  2290. }
  2291. }
  2292. },
  2293. "422": {
  2294. "description": "Error",
  2295. "content": {
  2296. "application/json": {
  2297. "schema": {
  2298. "$ref": "#/components/schemas/error-message"
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "500": {
  2304. "description": "Error",
  2305. "content": {
  2306. "application/json": {
  2307. "schema": {
  2308. "$ref": "#/components/schemas/error-message"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "security": [
  2315. {
  2316. "api_key": []
  2317. }
  2318. ]
  2319. }
  2320. },
  2321. "/api/v2/test/transmission": {
  2322. "post": {
  2323. "tags": [
  2324. "test connection"
  2325. ],
  2326. "summary": "Test connection to Transmission",
  2327. "responses": {
  2328. "200": {
  2329. "description": "Success",
  2330. "content": {
  2331. "application/json": {
  2332. "schema": {
  2333. "$ref": "#/components/schemas/success-message"
  2334. }
  2335. }
  2336. }
  2337. },
  2338. "401": {
  2339. "description": "Unauthorized",
  2340. "content": {
  2341. "application/json": {
  2342. "schema": {
  2343. "$ref": "#/components/schemas/unauthorized-message"
  2344. }
  2345. }
  2346. }
  2347. },
  2348. "422": {
  2349. "description": "Error",
  2350. "content": {
  2351. "application/json": {
  2352. "schema": {
  2353. "$ref": "#/components/schemas/error-message"
  2354. }
  2355. }
  2356. }
  2357. },
  2358. "500": {
  2359. "description": "Error",
  2360. "content": {
  2361. "application/json": {
  2362. "schema": {
  2363. "$ref": "#/components/schemas/error-message"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "security": [
  2370. {
  2371. "api_key": []
  2372. }
  2373. ]
  2374. }
  2375. },
  2376. "/api/v2/test/qbittorrent": {
  2377. "post": {
  2378. "tags": [
  2379. "test connection"
  2380. ],
  2381. "summary": "Test connection to qBittorrent",
  2382. "responses": {
  2383. "200": {
  2384. "description": "Success",
  2385. "content": {
  2386. "application/json": {
  2387. "schema": {
  2388. "$ref": "#/components/schemas/success-message"
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "401": {
  2394. "description": "Unauthorized",
  2395. "content": {
  2396. "application/json": {
  2397. "schema": {
  2398. "$ref": "#/components/schemas/unauthorized-message"
  2399. }
  2400. }
  2401. }
  2402. },
  2403. "422": {
  2404. "description": "Error",
  2405. "content": {
  2406. "application/json": {
  2407. "schema": {
  2408. "$ref": "#/components/schemas/error-message"
  2409. }
  2410. }
  2411. }
  2412. },
  2413. "500": {
  2414. "description": "Error",
  2415. "content": {
  2416. "application/json": {
  2417. "schema": {
  2418. "$ref": "#/components/schemas/error-message"
  2419. }
  2420. }
  2421. }
  2422. }
  2423. },
  2424. "security": [
  2425. {
  2426. "api_key": []
  2427. }
  2428. ]
  2429. }
  2430. },
  2431. "/api/v2/test/unifi": {
  2432. "post": {
  2433. "tags": [
  2434. "test connection"
  2435. ],
  2436. "summary": "Test connection to Unifi",
  2437. "responses": {
  2438. "200": {
  2439. "description": "Success",
  2440. "content": {
  2441. "application/json": {
  2442. "schema": {
  2443. "$ref": "#/components/schemas/success-message"
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "401": {
  2449. "description": "Unauthorized",
  2450. "content": {
  2451. "application/json": {
  2452. "schema": {
  2453. "$ref": "#/components/schemas/unauthorized-message"
  2454. }
  2455. }
  2456. }
  2457. },
  2458. "422": {
  2459. "description": "Error",
  2460. "content": {
  2461. "application/json": {
  2462. "schema": {
  2463. "$ref": "#/components/schemas/error-message"
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "500": {
  2469. "description": "Error",
  2470. "content": {
  2471. "application/json": {
  2472. "schema": {
  2473. "$ref": "#/components/schemas/error-message"
  2474. }
  2475. }
  2476. }
  2477. }
  2478. },
  2479. "security": [
  2480. {
  2481. "api_key": []
  2482. }
  2483. ]
  2484. }
  2485. },
  2486. "/api/v2/test/unifi/site": {
  2487. "post": {
  2488. "tags": [
  2489. "test connection"
  2490. ],
  2491. "summary": "Test connection to Unifi Sites",
  2492. "responses": {
  2493. "200": {
  2494. "description": "Success",
  2495. "content": {
  2496. "application/json": {
  2497. "schema": {
  2498. "$ref": "#/components/schemas/success-message"
  2499. }
  2500. }
  2501. }
  2502. },
  2503. "401": {
  2504. "description": "Unauthorized",
  2505. "content": {
  2506. "application/json": {
  2507. "schema": {
  2508. "$ref": "#/components/schemas/unauthorized-message"
  2509. }
  2510. }
  2511. }
  2512. },
  2513. "422": {
  2514. "description": "Error",
  2515. "content": {
  2516. "application/json": {
  2517. "schema": {
  2518. "$ref": "#/components/schemas/error-message"
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Error",
  2525. "content": {
  2526. "application/json": {
  2527. "schema": {
  2528. "$ref": "#/components/schemas/error-message"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "security": [
  2535. {
  2536. "api_key": []
  2537. }
  2538. ]
  2539. }
  2540. },
  2541. "/api/v2/test/tautulli": {
  2542. "post": {
  2543. "tags": [
  2544. "test connection"
  2545. ],
  2546. "summary": "Test connection to Tautulli",
  2547. "responses": {
  2548. "200": {
  2549. "description": "Success",
  2550. "content": {
  2551. "application/json": {
  2552. "schema": {
  2553. "$ref": "#/components/schemas/success-message"
  2554. }
  2555. }
  2556. }
  2557. },
  2558. "401": {
  2559. "description": "Unauthorized",
  2560. "content": {
  2561. "application/json": {
  2562. "schema": {
  2563. "$ref": "#/components/schemas/unauthorized-message"
  2564. }
  2565. }
  2566. }
  2567. },
  2568. "422": {
  2569. "description": "Error",
  2570. "content": {
  2571. "application/json": {
  2572. "schema": {
  2573. "$ref": "#/components/schemas/error-message"
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Error",
  2580. "content": {
  2581. "application/json": {
  2582. "schema": {
  2583. "$ref": "#/components/schemas/error-message"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "security": [
  2590. {
  2591. "api_key": []
  2592. }
  2593. ]
  2594. }
  2595. },
  2596. "/api/v2/test/cron": {
  2597. "get": {
  2598. "tags": [
  2599. "test connection"
  2600. ],
  2601. "summary": "Test if cron is setup correctly",
  2602. "responses": {
  2603. "200": {
  2604. "description": "Success",
  2605. "content": {
  2606. "application/json": {
  2607. "schema": {
  2608. "$ref": "#/components/schemas/success-message"
  2609. }
  2610. }
  2611. }
  2612. },
  2613. "401": {
  2614. "description": "Unauthorized",
  2615. "content": {
  2616. "application/json": {
  2617. "schema": {
  2618. "$ref": "#/components/schemas/unauthorized-message"
  2619. }
  2620. }
  2621. }
  2622. },
  2623. "422": {
  2624. "description": "Error",
  2625. "content": {
  2626. "application/json": {
  2627. "schema": {
  2628. "$ref": "#/components/schemas/error-message"
  2629. }
  2630. }
  2631. }
  2632. },
  2633. "500": {
  2634. "description": "Error",
  2635. "content": {
  2636. "application/json": {
  2637. "schema": {
  2638. "$ref": "#/components/schemas/error-message"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "security": [
  2645. {
  2646. "api_key": []
  2647. }
  2648. ]
  2649. },
  2650. "post": {
  2651. "tags": [
  2652. "test connection"
  2653. ],
  2654. "summary": "Test cron schedule",
  2655. "responses": {
  2656. "200": {
  2657. "description": "Success",
  2658. "content": {
  2659. "application/json": {
  2660. "schema": {
  2661. "$ref": "#/components/schemas/success-message"
  2662. }
  2663. }
  2664. }
  2665. },
  2666. "401": {
  2667. "description": "Unauthorized",
  2668. "content": {
  2669. "application/json": {
  2670. "schema": {
  2671. "$ref": "#/components/schemas/unauthorized-message"
  2672. }
  2673. }
  2674. }
  2675. },
  2676. "422": {
  2677. "description": "Error",
  2678. "content": {
  2679. "application/json": {
  2680. "schema": {
  2681. "$ref": "#/components/schemas/error-message"
  2682. }
  2683. }
  2684. }
  2685. },
  2686. "500": {
  2687. "description": "Error",
  2688. "content": {
  2689. "application/json": {
  2690. "schema": {
  2691. "$ref": "#/components/schemas/error-message"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "security": [
  2698. {
  2699. "api_key": []
  2700. }
  2701. ]
  2702. }
  2703. },
  2704. "/api/v2/test/folder": {
  2705. "post": {
  2706. "tags": [
  2707. "test connection"
  2708. ],
  2709. "summary": "Test folder path",
  2710. "responses": {
  2711. "200": {
  2712. "description": "Success",
  2713. "content": {
  2714. "application/json": {
  2715. "schema": {
  2716. "$ref": "#/components/schemas/success-message"
  2717. }
  2718. }
  2719. }
  2720. },
  2721. "401": {
  2722. "description": "Unauthorized",
  2723. "content": {
  2724. "application/json": {
  2725. "schema": {
  2726. "$ref": "#/components/schemas/unauthorized-message"
  2727. }
  2728. }
  2729. }
  2730. },
  2731. "422": {
  2732. "description": "Error",
  2733. "content": {
  2734. "application/json": {
  2735. "schema": {
  2736. "$ref": "#/components/schemas/error-message"
  2737. }
  2738. }
  2739. }
  2740. },
  2741. "500": {
  2742. "description": "Error",
  2743. "content": {
  2744. "application/json": {
  2745. "schema": {
  2746. "$ref": "#/components/schemas/error-message"
  2747. }
  2748. }
  2749. }
  2750. }
  2751. },
  2752. "security": [
  2753. {
  2754. "api_key": []
  2755. }
  2756. ]
  2757. }
  2758. },
  2759. "/api/v2/test/database": {
  2760. "post": {
  2761. "tags": [
  2762. "test connection"
  2763. ],
  2764. "summary": "Test Database connection",
  2765. "responses": {
  2766. "200": {
  2767. "description": "Success",
  2768. "content": {
  2769. "application/json": {
  2770. "schema": {
  2771. "$ref": "#/components/schemas/success-message"
  2772. }
  2773. }
  2774. }
  2775. },
  2776. "401": {
  2777. "description": "Unauthorized",
  2778. "content": {
  2779. "application/json": {
  2780. "schema": {
  2781. "$ref": "#/components/schemas/unauthorized-message"
  2782. }
  2783. }
  2784. }
  2785. },
  2786. "422": {
  2787. "description": "Error",
  2788. "content": {
  2789. "application/json": {
  2790. "schema": {
  2791. "$ref": "#/components/schemas/error-message"
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "500": {
  2797. "description": "Error",
  2798. "content": {
  2799. "application/json": {
  2800. "schema": {
  2801. "$ref": "#/components/schemas/error-message"
  2802. }
  2803. }
  2804. }
  2805. }
  2806. },
  2807. "security": [
  2808. {
  2809. "api_key": []
  2810. }
  2811. ]
  2812. }
  2813. },
  2814. "/api/v2/test/jackett": {
  2815. "post": {
  2816. "tags": [
  2817. "test connection"
  2818. ],
  2819. "summary": "Test connection to Jackett",
  2820. "responses": {
  2821. "200": {
  2822. "description": "Success",
  2823. "content": {
  2824. "application/json": {
  2825. "schema": {
  2826. "$ref": "#/components/schemas/success-message"
  2827. }
  2828. }
  2829. }
  2830. },
  2831. "401": {
  2832. "description": "Unauthorized",
  2833. "content": {
  2834. "application/json": {
  2835. "schema": {
  2836. "$ref": "#/components/schemas/unauthorized-message"
  2837. }
  2838. }
  2839. }
  2840. },
  2841. "422": {
  2842. "description": "Error",
  2843. "content": {
  2844. "application/json": {
  2845. "schema": {
  2846. "$ref": "#/components/schemas/error-message"
  2847. }
  2848. }
  2849. }
  2850. },
  2851. "500": {
  2852. "description": "Error",
  2853. "content": {
  2854. "application/json": {
  2855. "schema": {
  2856. "$ref": "#/components/schemas/error-message"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "security": [
  2863. {
  2864. "api_key": []
  2865. }
  2866. ]
  2867. }
  2868. },
  2869. "/api/v2/emby/register": {
  2870. "post": {
  2871. "tags": [
  2872. "emby"
  2873. ],
  2874. "summary": "Register a user using Emby API",
  2875. "responses": {
  2876. "200": {
  2877. "description": "Success",
  2878. "content": {
  2879. "application/json": {
  2880. "schema": {
  2881. "$ref": "#/components/schemas/status"
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "401": {
  2887. "description": "Unauthorized"
  2888. }
  2889. }
  2890. }
  2891. },
  2892. "/api/v2/organizr/{page}": {
  2893. "get": {
  2894. "tags": [
  2895. "page"
  2896. ],
  2897. "summary": "Get HTML for Organizr Pages",
  2898. "parameters": [
  2899. {
  2900. "name": "page",
  2901. "in": "path",
  2902. "description": "Page to get",
  2903. "required": true,
  2904. "schema": {
  2905. "type": "string"
  2906. }
  2907. }
  2908. ],
  2909. "responses": {
  2910. "200": {
  2911. "description": "Success",
  2912. "content": {
  2913. "application/json": {
  2914. "schema": {
  2915. "$ref": "#/components/schemas/get-html"
  2916. }
  2917. }
  2918. }
  2919. },
  2920. "401": {
  2921. "description": "Unauthorized"
  2922. }
  2923. },
  2924. "security": [
  2925. {
  2926. "api_key": []
  2927. }
  2928. ]
  2929. }
  2930. },
  2931. "/api/v2/page/{page}": {
  2932. "get": {
  2933. "tags": [
  2934. "page"
  2935. ],
  2936. "summary": "Get HTML for Organizr Pages",
  2937. "parameters": [
  2938. {
  2939. "name": "page",
  2940. "in": "path",
  2941. "description": "Page to get",
  2942. "required": true,
  2943. "schema": {
  2944. "type": "string"
  2945. }
  2946. }
  2947. ],
  2948. "responses": {
  2949. "200": {
  2950. "description": "Success",
  2951. "content": {
  2952. "application/json": {
  2953. "schema": {
  2954. "$ref": "#/components/schemas/get-html"
  2955. }
  2956. }
  2957. }
  2958. },
  2959. "401": {
  2960. "description": "Unauthorized"
  2961. }
  2962. },
  2963. "security": [
  2964. {
  2965. "api_key": []
  2966. }
  2967. ]
  2968. }
  2969. },
  2970. "/api/v2/page": {
  2971. "get": {
  2972. "tags": [
  2973. "page"
  2974. ],
  2975. "summary": "Get list of all Organizr Pages",
  2976. "responses": {
  2977. "200": {
  2978. "description": "Success",
  2979. "content": {
  2980. "application/json": {
  2981. "schema": {
  2982. "$ref": "#/components/schemas/get-html"
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "401": {
  2988. "description": "Unauthorized"
  2989. }
  2990. },
  2991. "security": [
  2992. {
  2993. "api_key": []
  2994. }
  2995. ]
  2996. }
  2997. },
  2998. "/api/v2/ping": {
  2999. "get": {
  3000. "summary": "Ping the Organizr API",
  3001. "responses": {
  3002. "200": {
  3003. "description": "Success",
  3004. "content": {
  3005. "application/json": {
  3006. "schema": {
  3007. "$ref": "#/components/schemas/ping"
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "401": {
  3013. "description": "Unauthorized"
  3014. }
  3015. }
  3016. }
  3017. },
  3018. "/api/v2/plex/register": {
  3019. "post": {
  3020. "tags": [
  3021. "plex"
  3022. ],
  3023. "summary": "Register a user using Plex API",
  3024. "requestBody": {
  3025. "description": "Success",
  3026. "required": true,
  3027. "content": {
  3028. "application/json": {
  3029. "schema": {
  3030. "$ref": "#/components/schemas/plexRegister"
  3031. }
  3032. }
  3033. }
  3034. },
  3035. "responses": {
  3036. "200": {
  3037. "description": "Success",
  3038. "content": {
  3039. "application/json": {
  3040. "schema": {
  3041. "$ref": "#/components/schemas/status"
  3042. }
  3043. }
  3044. }
  3045. },
  3046. "401": {
  3047. "description": "Unauthorized"
  3048. }
  3049. }
  3050. }
  3051. },
  3052. "/api/v2/status": {
  3053. "get": {
  3054. "summary": "Query Organizr API to perform a Status Check",
  3055. "responses": {
  3056. "200": {
  3057. "description": "Success",
  3058. "content": {
  3059. "application/json": {
  3060. "schema": {
  3061. "$ref": "#/components/schemas/status"
  3062. }
  3063. }
  3064. }
  3065. },
  3066. "401": {
  3067. "description": "Unauthorized"
  3068. }
  3069. }
  3070. }
  3071. },
  3072. "/api/v2/auth": {
  3073. "get": {
  3074. "summary": "Nginx auth_request",
  3075. "parameters": [
  3076. {
  3077. "name": "group",
  3078. "in": "query",
  3079. "description": "The id of the group allowed",
  3080. "required": false,
  3081. "schema": {
  3082. "type": "integer",
  3083. "format": "int64"
  3084. }
  3085. },
  3086. {
  3087. "name": "whitelist",
  3088. "in": "query",
  3089. "description": "Whitelisted Ip's",
  3090. "required": false,
  3091. "explode": false,
  3092. "schema": {
  3093. "type": "array",
  3094. "items": {
  3095. "type": "string"
  3096. }
  3097. }
  3098. },
  3099. {
  3100. "name": "blacklist",
  3101. "in": "query",
  3102. "description": "Blacklisted Ip's",
  3103. "required": false,
  3104. "explode": false,
  3105. "schema": {
  3106. "type": "array",
  3107. "items": {
  3108. "type": "string"
  3109. }
  3110. }
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "Success"
  3116. },
  3117. "401": {
  3118. "description": "Unauthorized"
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/api/v2/update": {
  3124. "get": {
  3125. "tags": [
  3126. "update"
  3127. ],
  3128. "summary": "Update Organizr install using update script",
  3129. "responses": {
  3130. "200": {
  3131. "description": "Success",
  3132. "content": {
  3133. "application/json": {
  3134. "schema": {
  3135. "$ref": "#/components/schemas/success-message"
  3136. }
  3137. }
  3138. }
  3139. },
  3140. "401": {
  3141. "description": "Unauthorized",
  3142. "content": {
  3143. "application/json": {
  3144. "schema": {
  3145. "$ref": "#/components/schemas/unauthorized-message"
  3146. }
  3147. }
  3148. }
  3149. },
  3150. "404": {
  3151. "description": "Error",
  3152. "content": {
  3153. "application/json": {
  3154. "schema": {
  3155. "$ref": "#/components/schemas/error-message"
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "422": {
  3161. "description": "Error",
  3162. "content": {
  3163. "application/json": {
  3164. "schema": {
  3165. "$ref": "#/components/schemas/error-message"
  3166. }
  3167. }
  3168. }
  3169. },
  3170. "500": {
  3171. "description": "Error",
  3172. "content": {
  3173. "application/json": {
  3174. "schema": {
  3175. "$ref": "#/components/schemas/error-message"
  3176. }
  3177. }
  3178. }
  3179. }
  3180. },
  3181. "security": [
  3182. {
  3183. "api_key": []
  3184. }
  3185. ]
  3186. }
  3187. },
  3188. "/api/v2/update/download/{branch}": {
  3189. "get": {
  3190. "tags": [
  3191. "update"
  3192. ],
  3193. "summary": "Download Organizr Update Files",
  3194. "responses": {
  3195. "200": {
  3196. "description": "Success",
  3197. "content": {
  3198. "application/json": {
  3199. "schema": {
  3200. "$ref": "#/components/schemas/success-message"
  3201. }
  3202. }
  3203. }
  3204. },
  3205. "401": {
  3206. "description": "Unauthorized",
  3207. "content": {
  3208. "application/json": {
  3209. "schema": {
  3210. "$ref": "#/components/schemas/unauthorized-message"
  3211. }
  3212. }
  3213. }
  3214. },
  3215. "404": {
  3216. "description": "Error",
  3217. "content": {
  3218. "application/json": {
  3219. "schema": {
  3220. "$ref": "#/components/schemas/error-message"
  3221. }
  3222. }
  3223. }
  3224. },
  3225. "422": {
  3226. "description": "Error",
  3227. "content": {
  3228. "application/json": {
  3229. "schema": {
  3230. "$ref": "#/components/schemas/error-message"
  3231. }
  3232. }
  3233. }
  3234. },
  3235. "500": {
  3236. "description": "Error",
  3237. "content": {
  3238. "application/json": {
  3239. "schema": {
  3240. "$ref": "#/components/schemas/error-message"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "security": [
  3247. {
  3248. "api_key": []
  3249. }
  3250. ]
  3251. }
  3252. },
  3253. "/api/v2/update/unzip/{branch}": {
  3254. "get": {
  3255. "tags": [
  3256. "update"
  3257. ],
  3258. "summary": "Unzip Organizr Update Files",
  3259. "responses": {
  3260. "200": {
  3261. "description": "Success",
  3262. "content": {
  3263. "application/json": {
  3264. "schema": {
  3265. "$ref": "#/components/schemas/success-message"
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "401": {
  3271. "description": "Unauthorized",
  3272. "content": {
  3273. "application/json": {
  3274. "schema": {
  3275. "$ref": "#/components/schemas/unauthorized-message"
  3276. }
  3277. }
  3278. }
  3279. },
  3280. "404": {
  3281. "description": "Error",
  3282. "content": {
  3283. "application/json": {
  3284. "schema": {
  3285. "$ref": "#/components/schemas/error-message"
  3286. }
  3287. }
  3288. }
  3289. },
  3290. "422": {
  3291. "description": "Error",
  3292. "content": {
  3293. "application/json": {
  3294. "schema": {
  3295. "$ref": "#/components/schemas/error-message"
  3296. }
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Error",
  3302. "content": {
  3303. "application/json": {
  3304. "schema": {
  3305. "$ref": "#/components/schemas/error-message"
  3306. }
  3307. }
  3308. }
  3309. }
  3310. },
  3311. "security": [
  3312. {
  3313. "api_key": []
  3314. }
  3315. ]
  3316. }
  3317. },
  3318. "/api/v2/update/move/{branch}": {
  3319. "get": {
  3320. "tags": [
  3321. "update"
  3322. ],
  3323. "summary": "Move Organizr Update Files",
  3324. "responses": {
  3325. "200": {
  3326. "description": "Success",
  3327. "content": {
  3328. "application/json": {
  3329. "schema": {
  3330. "$ref": "#/components/schemas/success-message"
  3331. }
  3332. }
  3333. }
  3334. },
  3335. "401": {
  3336. "description": "Unauthorized",
  3337. "content": {
  3338. "application/json": {
  3339. "schema": {
  3340. "$ref": "#/components/schemas/unauthorized-message"
  3341. }
  3342. }
  3343. }
  3344. },
  3345. "404": {
  3346. "description": "Error",
  3347. "content": {
  3348. "application/json": {
  3349. "schema": {
  3350. "$ref": "#/components/schemas/error-message"
  3351. }
  3352. }
  3353. }
  3354. },
  3355. "422": {
  3356. "description": "Error",
  3357. "content": {
  3358. "application/json": {
  3359. "schema": {
  3360. "$ref": "#/components/schemas/error-message"
  3361. }
  3362. }
  3363. }
  3364. },
  3365. "500": {
  3366. "description": "Error",
  3367. "content": {
  3368. "application/json": {
  3369. "schema": {
  3370. "$ref": "#/components/schemas/error-message"
  3371. }
  3372. }
  3373. }
  3374. }
  3375. },
  3376. "security": [
  3377. {
  3378. "api_key": []
  3379. }
  3380. ]
  3381. }
  3382. },
  3383. "/api/v2/update/cleanup/{branch}": {
  3384. "get": {
  3385. "tags": [
  3386. "update"
  3387. ],
  3388. "summary": "Cleanup Organizr Update Files",
  3389. "responses": {
  3390. "200": {
  3391. "description": "Success",
  3392. "content": {
  3393. "application/json": {
  3394. "schema": {
  3395. "$ref": "#/components/schemas/success-message"
  3396. }
  3397. }
  3398. }
  3399. },
  3400. "401": {
  3401. "description": "Unauthorized",
  3402. "content": {
  3403. "application/json": {
  3404. "schema": {
  3405. "$ref": "#/components/schemas/unauthorized-message"
  3406. }
  3407. }
  3408. }
  3409. },
  3410. "404": {
  3411. "description": "Error",
  3412. "content": {
  3413. "application/json": {
  3414. "schema": {
  3415. "$ref": "#/components/schemas/error-message"
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "422": {
  3421. "description": "Error",
  3422. "content": {
  3423. "application/json": {
  3424. "schema": {
  3425. "$ref": "#/components/schemas/error-message"
  3426. }
  3427. }
  3428. }
  3429. },
  3430. "500": {
  3431. "description": "Error",
  3432. "content": {
  3433. "application/json": {
  3434. "schema": {
  3435. "$ref": "#/components/schemas/error-message"
  3436. }
  3437. }
  3438. }
  3439. }
  3440. },
  3441. "security": [
  3442. {
  3443. "api_key": []
  3444. }
  3445. ]
  3446. }
  3447. },
  3448. "/api/v2/update/docker": {
  3449. "get": {
  3450. "tags": [
  3451. "update"
  3452. ],
  3453. "summary": "Update Organizr install using Docker Container script",
  3454. "responses": {
  3455. "200": {
  3456. "description": "Success",
  3457. "content": {
  3458. "application/json": {
  3459. "schema": {
  3460. "$ref": "#/components/schemas/success-message"
  3461. }
  3462. }
  3463. }
  3464. },
  3465. "401": {
  3466. "description": "Unauthorized",
  3467. "content": {
  3468. "application/json": {
  3469. "schema": {
  3470. "$ref": "#/components/schemas/unauthorized-message"
  3471. }
  3472. }
  3473. }
  3474. },
  3475. "404": {
  3476. "description": "Error",
  3477. "content": {
  3478. "application/json": {
  3479. "schema": {
  3480. "$ref": "#/components/schemas/error-message"
  3481. }
  3482. }
  3483. }
  3484. },
  3485. "422": {
  3486. "description": "Error",
  3487. "content": {
  3488. "application/json": {
  3489. "schema": {
  3490. "$ref": "#/components/schemas/error-message"
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "500": {
  3496. "description": "Error",
  3497. "content": {
  3498. "application/json": {
  3499. "schema": {
  3500. "$ref": "#/components/schemas/error-message"
  3501. }
  3502. }
  3503. }
  3504. }
  3505. },
  3506. "security": [
  3507. {
  3508. "api_key": []
  3509. }
  3510. ]
  3511. }
  3512. },
  3513. "/api/v2/update/windows": {
  3514. "get": {
  3515. "tags": [
  3516. "update"
  3517. ],
  3518. "summary": "Update Organizr install using Windows script",
  3519. "responses": {
  3520. "200": {
  3521. "description": "Success",
  3522. "content": {
  3523. "application/json": {
  3524. "schema": {
  3525. "$ref": "#/components/schemas/success-message"
  3526. }
  3527. }
  3528. }
  3529. },
  3530. "401": {
  3531. "description": "Unauthorized",
  3532. "content": {
  3533. "application/json": {
  3534. "schema": {
  3535. "$ref": "#/components/schemas/unauthorized-message"
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "404": {
  3541. "description": "Error",
  3542. "content": {
  3543. "application/json": {
  3544. "schema": {
  3545. "$ref": "#/components/schemas/error-message"
  3546. }
  3547. }
  3548. }
  3549. },
  3550. "422": {
  3551. "description": "Error",
  3552. "content": {
  3553. "application/json": {
  3554. "schema": {
  3555. "$ref": "#/components/schemas/error-message"
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "500": {
  3561. "description": "Error",
  3562. "content": {
  3563. "application/json": {
  3564. "schema": {
  3565. "$ref": "#/components/schemas/error-message"
  3566. }
  3567. }
  3568. }
  3569. }
  3570. },
  3571. "security": [
  3572. {
  3573. "api_key": []
  3574. }
  3575. ]
  3576. }
  3577. },
  3578. "/api/v2/update/linux": {
  3579. "get": {
  3580. "tags": [
  3581. "update"
  3582. ],
  3583. "summary": "Update Organizr install using Linux script",
  3584. "responses": {
  3585. "200": {
  3586. "description": "Success",
  3587. "content": {
  3588. "application/json": {
  3589. "schema": {
  3590. "$ref": "#/components/schemas/success-message"
  3591. }
  3592. }
  3593. }
  3594. },
  3595. "401": {
  3596. "description": "Unauthorized",
  3597. "content": {
  3598. "application/json": {
  3599. "schema": {
  3600. "$ref": "#/components/schemas/unauthorized-message"
  3601. }
  3602. }
  3603. }
  3604. },
  3605. "404": {
  3606. "description": "Error",
  3607. "content": {
  3608. "application/json": {
  3609. "schema": {
  3610. "$ref": "#/components/schemas/error-message"
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "422": {
  3616. "description": "Error",
  3617. "content": {
  3618. "application/json": {
  3619. "schema": {
  3620. "$ref": "#/components/schemas/error-message"
  3621. }
  3622. }
  3623. }
  3624. },
  3625. "500": {
  3626. "description": "Error",
  3627. "content": {
  3628. "application/json": {
  3629. "schema": {
  3630. "$ref": "#/components/schemas/error-message"
  3631. }
  3632. }
  3633. }
  3634. }
  3635. },
  3636. "security": [
  3637. {
  3638. "api_key": []
  3639. }
  3640. ]
  3641. }
  3642. },
  3643. "/api/v2/update/migrate/{version}": {
  3644. "get": {
  3645. "tags": [
  3646. "update"
  3647. ],
  3648. "summary": "Run Organizr Version Mirgation for specific version",
  3649. "responses": {
  3650. "200": {
  3651. "description": "Success",
  3652. "content": {
  3653. "application/json": {
  3654. "schema": {
  3655. "$ref": "#/components/schemas/success-message"
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "401": {
  3661. "description": "Unauthorized",
  3662. "content": {
  3663. "application/json": {
  3664. "schema": {
  3665. "$ref": "#/components/schemas/unauthorized-message"
  3666. }
  3667. }
  3668. }
  3669. },
  3670. "404": {
  3671. "description": "Error",
  3672. "content": {
  3673. "application/json": {
  3674. "schema": {
  3675. "$ref": "#/components/schemas/error-message"
  3676. }
  3677. }
  3678. }
  3679. },
  3680. "422": {
  3681. "description": "Error",
  3682. "content": {
  3683. "application/json": {
  3684. "schema": {
  3685. "$ref": "#/components/schemas/error-message"
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "500": {
  3691. "description": "Error",
  3692. "content": {
  3693. "application/json": {
  3694. "schema": {
  3695. "$ref": "#/components/schemas/error-message"
  3696. }
  3697. }
  3698. }
  3699. }
  3700. },
  3701. "security": [
  3702. {
  3703. "api_key": []
  3704. }
  3705. ]
  3706. }
  3707. }
  3708. },
  3709. "components": {
  3710. "schemas": {
  3711. "getChatMessages": {
  3712. "properties": {
  3713. "response": {
  3714. "properties": {
  3715. "result": {
  3716. "description": "success or error",
  3717. "type": "string",
  3718. "example": "success"
  3719. },
  3720. "message": {
  3721. "description": "success or error message",
  3722. "type": "string",
  3723. "example": null
  3724. },
  3725. "data": {
  3726. "description": "data from api",
  3727. "type": "array",
  3728. "items": {
  3729. "properties": {
  3730. "username": {
  3731. "type": "string",
  3732. "example": "causefx"
  3733. },
  3734. "date": {
  3735. "type": "string",
  3736. "example": "2018-09-01 02:02:24"
  3737. },
  3738. "gravatar": {
  3739. "type": "string",
  3740. "example": "https://www.gravatar.com/avatar/a47c4a4b915ddf9601cd228f890bc366?s=100&d=mm"
  3741. },
  3742. "message": {
  3743. "type": "string",
  3744. "example": "ok first message!"
  3745. },
  3746. "uid": {
  3747. "type": "string",
  3748. "example": "f5287"
  3749. }
  3750. },
  3751. "type": "object"
  3752. }
  3753. }
  3754. },
  3755. "type": "object"
  3756. }
  3757. },
  3758. "type": "object"
  3759. },
  3760. "submitMessageData": {
  3761. "properties": {
  3762. "message": {
  3763. "type": "string",
  3764. "example": "This is my message"
  3765. }
  3766. },
  3767. "type": "object"
  3768. },
  3769. "submitMessage": {
  3770. "properties": {
  3771. "response": {
  3772. "properties": {
  3773. "result": {
  3774. "description": "success or error",
  3775. "type": "string",
  3776. "example": "success"
  3777. },
  3778. "message": {
  3779. "description": "success or error message",
  3780. "type": "string",
  3781. "example": "message has been accepted"
  3782. },
  3783. "data": {
  3784. "description": "data from api",
  3785. "type": "string",
  3786. "example": null
  3787. }
  3788. },
  3789. "type": "object"
  3790. }
  3791. },
  3792. "type": "object"
  3793. },
  3794. "healthChecksRun": {
  3795. "properties": {
  3796. "response": {
  3797. "properties": {
  3798. "result": {
  3799. "description": "success or error",
  3800. "type": "string",
  3801. "example": "success"
  3802. },
  3803. "message": {
  3804. "description": "success or error message",
  3805. "type": "string",
  3806. "example": null
  3807. },
  3808. "data": {
  3809. "description": "data from api",
  3810. "type": "array",
  3811. "items": {
  3812. "properties": {
  3813. "Service Name": {
  3814. "type": "string",
  3815. "example": "Radarr"
  3816. },
  3817. "UUID": {
  3818. "type": "string",
  3819. "example": "883f0097-8f4c-4ca5-a9cf-053cfab8e334"
  3820. },
  3821. "External URL": {
  3822. "type": "string",
  3823. "example": "https://radarr.com"
  3824. },
  3825. "Internal URL": {
  3826. "type": "string",
  3827. "example": "http://radarr:7878"
  3828. },
  3829. "Enabled": {
  3830. "type": "string",
  3831. "example": "true"
  3832. },
  3833. "results": {
  3834. "type": "array",
  3835. "items": {
  3836. "properties": {
  3837. "internal": {
  3838. "type": "string",
  3839. "example": "Success"
  3840. },
  3841. "external": {
  3842. "type": "string",
  3843. "example": "Success"
  3844. }
  3845. },
  3846. "type": "object"
  3847. }
  3848. }
  3849. },
  3850. "type": "object"
  3851. }
  3852. }
  3853. },
  3854. "type": "object"
  3855. }
  3856. },
  3857. "type": "object"
  3858. },
  3859. "getInvites": {
  3860. "properties": {
  3861. "response": {
  3862. "properties": {
  3863. "result": {
  3864. "description": "success or error",
  3865. "type": "string",
  3866. "example": "success"
  3867. },
  3868. "message": {
  3869. "description": "success or error message",
  3870. "type": "string",
  3871. "example": null
  3872. },
  3873. "data": {
  3874. "description": "data from api",
  3875. "type": "array",
  3876. "items": {
  3877. "properties": {
  3878. "id": {
  3879. "type": "number",
  3880. "example": 1
  3881. },
  3882. "code": {
  3883. "type": "string",
  3884. "example": "NN9JH9"
  3885. },
  3886. "date": {
  3887. "type": "string",
  3888. "example": "2018-09-01 02:02:24"
  3889. },
  3890. "email": {
  3891. "type": "string",
  3892. "example": "causefX@organizr.app"
  3893. },
  3894. "username": {
  3895. "type": "string",
  3896. "example": "causefx"
  3897. },
  3898. "dateused": {
  3899. "type": "string",
  3900. "example": "2018-09-01 02:02:24"
  3901. },
  3902. "usedby": {
  3903. "type": "string",
  3904. "example": "causefx"
  3905. },
  3906. "ip": {
  3907. "type": "string",
  3908. "example": "10.0.0.0"
  3909. },
  3910. "valid": {
  3911. "type": "string",
  3912. "example": "No"
  3913. },
  3914. "type": {
  3915. "type": "string",
  3916. "example": "Plex"
  3917. }
  3918. },
  3919. "type": "object"
  3920. }
  3921. }
  3922. },
  3923. "type": "object"
  3924. }
  3925. },
  3926. "type": "object"
  3927. },
  3928. "createInviteCode": {
  3929. "properties": {
  3930. "response": {
  3931. "properties": {
  3932. "result": {
  3933. "description": "success or error",
  3934. "type": "string",
  3935. "example": "success"
  3936. },
  3937. "message": {
  3938. "description": "success or error message",
  3939. "type": "string",
  3940. "example": "Invite Code: XYXYXY has been created"
  3941. },
  3942. "data": {
  3943. "description": "data from api",
  3944. "type": "string",
  3945. "example": null
  3946. }
  3947. },
  3948. "type": "object"
  3949. }
  3950. },
  3951. "type": "object"
  3952. },
  3953. "verifyInviteCode": {
  3954. "properties": {
  3955. "response": {
  3956. "properties": {
  3957. "result": {
  3958. "description": "success or error",
  3959. "type": "string",
  3960. "example": "success"
  3961. },
  3962. "message": {
  3963. "description": "success or error message",
  3964. "type": "string",
  3965. "example": "Code has been verified"
  3966. },
  3967. "data": {
  3968. "description": "data from api",
  3969. "type": "string",
  3970. "example": null
  3971. }
  3972. },
  3973. "type": "object"
  3974. }
  3975. },
  3976. "type": "object"
  3977. },
  3978. "useInviteCode": {
  3979. "properties": {
  3980. "response": {
  3981. "properties": {
  3982. "result": {
  3983. "description": "success or error",
  3984. "type": "string",
  3985. "example": "success"
  3986. },
  3987. "message": {
  3988. "description": "success or error message",
  3989. "type": "string",
  3990. "example": "Plex/Emby User now has access to system"
  3991. },
  3992. "data": {
  3993. "description": "data from api",
  3994. "type": "string",
  3995. "example": null
  3996. }
  3997. },
  3998. "type": "object"
  3999. }
  4000. },
  4001. "type": "object"
  4002. },
  4003. "deleteInviteCode": {
  4004. "properties": {
  4005. "response": {
  4006. "properties": {
  4007. "result": {
  4008. "description": "success or error",
  4009. "type": "string",
  4010. "example": "success"
  4011. },
  4012. "message": {
  4013. "description": "success or error message",
  4014. "type": "string",
  4015. "example": "Code has been deleted"
  4016. },
  4017. "data": {
  4018. "description": "data from api",
  4019. "type": "string",
  4020. "example": null
  4021. }
  4022. },
  4023. "type": "object"
  4024. }
  4025. },
  4026. "type": "object"
  4027. },
  4028. "sendEmailData": {
  4029. "properties": {
  4030. "bcc": {
  4031. "description": "email of recipients (csv)",
  4032. "type": "string",
  4033. "example": "causefx@organizr.app,elmer@organizr.app"
  4034. },
  4035. "subject": {
  4036. "type": "string",
  4037. "example": "Hey There Buddy?!"
  4038. },
  4039. "body": {
  4040. "type": "string",
  4041. "example": "Hi! Boy, has it been a long time! Have you seen rox in socks?"
  4042. }
  4043. },
  4044. "type": "object"
  4045. },
  4046. "submit-2fa-verify": {
  4047. "properties": {
  4048. "secret": {
  4049. "type": "string",
  4050. "example": "OX1R4GA3425GSDF"
  4051. },
  4052. "code": {
  4053. "type": "string",
  4054. "example": "145047"
  4055. },
  4056. "type": {
  4057. "type": "string",
  4058. "example": "google"
  4059. }
  4060. },
  4061. "type": "object"
  4062. },
  4063. "submit-2fa-save": {
  4064. "properties": {
  4065. "secret": {
  4066. "type": "string",
  4067. "example": "OX1R4GA3425GSDF"
  4068. },
  4069. "type": {
  4070. "type": "string",
  4071. "example": "google"
  4072. }
  4073. },
  4074. "type": "object"
  4075. },
  4076. "submit-2fa-create": {
  4077. "properties": {
  4078. "type": {
  4079. "type": "string",
  4080. "example": "google"
  4081. }
  4082. },
  4083. "type": "object"
  4084. },
  4085. "get-html": {
  4086. "properties": {
  4087. "response": {
  4088. "properties": {
  4089. "result": {
  4090. "description": "success or error",
  4091. "type": "string",
  4092. "example": "success"
  4093. },
  4094. "message": {
  4095. "description": "success message or error message",
  4096. "type": "string",
  4097. "example": null
  4098. },
  4099. "data": {
  4100. "description": "data from api",
  4101. "type": "string",
  4102. "example": "\\r\\n\\u003Cscript\\u003E\\r\\n (function() {\\r\\n updateCheck();\\r\\n authDebugCheck();\\r\\n sponsorLoad();\\r\\n newsLoad();\\r\\n checkCommitLoad();\\r\\n [].slice.call(document.querySelectorAll('.sttabs-main-settings-div')).forEach(function(el) {\\r\\n new CBPFWTabs(el);\\r\\n });\\r\\n })();\\r\\n\\u003C/script\\u003E\\r\\n"
  4103. }
  4104. },
  4105. "type": "object"
  4106. }
  4107. },
  4108. "type": "object"
  4109. },
  4110. "plexRegister": {
  4111. "properties": {
  4112. "username": {
  4113. "type": "string",
  4114. "example": "causefx"
  4115. },
  4116. "email": {
  4117. "type": "string",
  4118. "example": "causefx@organizr.app"
  4119. },
  4120. "password": {
  4121. "type": "string",
  4122. "example": "iCanHazPa$$w0Rd"
  4123. }
  4124. },
  4125. "type": "object"
  4126. },
  4127. "ping": {
  4128. "properties": {
  4129. "response": {
  4130. "properties": {
  4131. "result": {
  4132. "description": "success or error",
  4133. "type": "string",
  4134. "example": "success"
  4135. },
  4136. "message": {
  4137. "description": "success or error message",
  4138. "type": "string",
  4139. "example": null
  4140. },
  4141. "data": {
  4142. "description": "data from api",
  4143. "type": "string",
  4144. "example": "pong"
  4145. }
  4146. },
  4147. "type": "object"
  4148. }
  4149. },
  4150. "type": "object"
  4151. },
  4152. "status": {
  4153. "properties": {
  4154. "response": {
  4155. "properties": {
  4156. "result": {
  4157. "description": "success or error",
  4158. "type": "string",
  4159. "example": "success"
  4160. },
  4161. "message": {
  4162. "description": "success or error message",
  4163. "type": "string",
  4164. "example": null
  4165. },
  4166. "data": {
  4167. "description": "data from api",
  4168. "properties": {
  4169. "status": {
  4170. "description": "success or error",
  4171. "type": "string",
  4172. "example": "ok"
  4173. },
  4174. "api_version": {
  4175. "type": "string",
  4176. "example": "2.0"
  4177. },
  4178. "organizr_version": {
  4179. "type": "string",
  4180. "example": "2.0.650"
  4181. }
  4182. },
  4183. "type": "object"
  4184. }
  4185. },
  4186. "type": "object"
  4187. }
  4188. },
  4189. "type": "object"
  4190. },
  4191. "pluginSettingsPage": {
  4192. "properties": {
  4193. "response": {
  4194. "properties": {
  4195. "result": {
  4196. "description": "success or error",
  4197. "type": "string",
  4198. "example": "success"
  4199. },
  4200. "message": {
  4201. "description": "success or error message",
  4202. "type": "string",
  4203. "example": null
  4204. },
  4205. "data": {
  4206. "description": "data from api",
  4207. "properties": {
  4208. "settingsPageObjectItem1": {
  4209. "type": "object"
  4210. },
  4211. "settingsPageObjectItem2": {
  4212. "type": "object"
  4213. },
  4214. "settingsPageObjectItem3": {
  4215. "type": "object"
  4216. }
  4217. },
  4218. "type": "object"
  4219. }
  4220. },
  4221. "type": "object"
  4222. }
  4223. },
  4224. "type": "object"
  4225. },
  4226. "successNullData": {
  4227. "properties": {
  4228. "response": {
  4229. "properties": {
  4230. "result": {
  4231. "description": "success or error",
  4232. "type": "string",
  4233. "example": "success"
  4234. },
  4235. "message": {
  4236. "description": "success message or error message",
  4237. "type": "string",
  4238. "example": null
  4239. },
  4240. "data": {
  4241. "description": "data from api",
  4242. "type": "string",
  4243. "example": null
  4244. }
  4245. },
  4246. "type": "object"
  4247. }
  4248. },
  4249. "type": "object"
  4250. },
  4251. "success-message": {
  4252. "properties": {
  4253. "response": {
  4254. "properties": {
  4255. "result": {
  4256. "description": "success or error",
  4257. "type": "string",
  4258. "example": "success"
  4259. },
  4260. "message": {
  4261. "description": "success message or error message",
  4262. "type": "string",
  4263. "example": "Successful message here"
  4264. },
  4265. "data": {
  4266. "description": "data from api",
  4267. "type": "string",
  4268. "example": null
  4269. }
  4270. },
  4271. "type": "object"
  4272. }
  4273. },
  4274. "type": "object"
  4275. },
  4276. "error-message": {
  4277. "properties": {
  4278. "response": {
  4279. "properties": {
  4280. "result": {
  4281. "description": "success or error",
  4282. "type": "string",
  4283. "example": "error"
  4284. },
  4285. "message": {
  4286. "description": "success message or error message",
  4287. "type": "string",
  4288. "example": "Error message here"
  4289. },
  4290. "data": {
  4291. "description": "data from api",
  4292. "type": "string",
  4293. "example": null
  4294. }
  4295. },
  4296. "type": "object"
  4297. }
  4298. },
  4299. "type": "object"
  4300. },
  4301. "unauthorized-message": {
  4302. "properties": {
  4303. "response": {
  4304. "properties": {
  4305. "result": {
  4306. "description": "success or error",
  4307. "type": "string",
  4308. "example": "error"
  4309. },
  4310. "message": {
  4311. "description": "success message or error message",
  4312. "type": "string",
  4313. "example": "User is not authorized"
  4314. },
  4315. "data": {
  4316. "description": "data from api",
  4317. "type": "string",
  4318. "example": null
  4319. }
  4320. },
  4321. "type": "object"
  4322. }
  4323. },
  4324. "type": "object"
  4325. },
  4326. "php-mailer-email-list": {
  4327. "properties": {
  4328. "response": {
  4329. "properties": {
  4330. "result": {
  4331. "description": "success or error",
  4332. "type": "string",
  4333. "example": "success"
  4334. },
  4335. "message": {
  4336. "description": "success or error message",
  4337. "type": "string",
  4338. "example": null
  4339. },
  4340. "data": {
  4341. "description": "data from api",
  4342. "type": "array",
  4343. "items": {
  4344. "properties": {
  4345. "causefx": {
  4346. "type": "string",
  4347. "example": "causefx@organizr.app"
  4348. }
  4349. },
  4350. "type": "object"
  4351. }
  4352. }
  4353. },
  4354. "type": "object"
  4355. }
  4356. },
  4357. "type": "object"
  4358. },
  4359. "config-items-example": {
  4360. "description": "list of config items to update",
  4361. "properties": {
  4362. "branch": {
  4363. "description": "config item name",
  4364. "type": "string",
  4365. "example": "v2-master"
  4366. },
  4367. "hideRegistration": {
  4368. "type": "boolean",
  4369. "example": false
  4370. },
  4371. "homepageUnifiAuth": {
  4372. "type": "string",
  4373. "example": "1"
  4374. }
  4375. },
  4376. "type": "object"
  4377. }
  4378. },
  4379. "securitySchemes": {
  4380. "api_key": {
  4381. "type": "apiKey",
  4382. "name": "Token",
  4383. "in": "header"
  4384. }
  4385. }
  4386. },
  4387. "tags": [
  4388. {
  4389. "name": "plugins-chat",
  4390. "description": "Pusher Chat Plugin"
  4391. },
  4392. {
  4393. "name": "plugins-healthchecks",
  4394. "description": "Healthchecks.io Ping Plugin"
  4395. },
  4396. {
  4397. "name": "plugins-invites",
  4398. "description": "Media Invite Plugin"
  4399. },
  4400. {
  4401. "name": "plugins-php-mailer",
  4402. "description": "PHP Mailer Plugin"
  4403. },
  4404. {
  4405. "name": "plugins-speedtest",
  4406. "description": "SpeedTest Plugin"
  4407. },
  4408. {
  4409. "name": "2fa",
  4410. "description": "Two Form Authentication"
  4411. },
  4412. {
  4413. "name": "categories",
  4414. "description": "Category Information"
  4415. },
  4416. {
  4417. "name": "config",
  4418. "description": "Organizr Configuration Items"
  4419. },
  4420. {
  4421. "name": "test connection",
  4422. "description": "Test Connections"
  4423. },
  4424. {
  4425. "name": "emby"
  4426. },
  4427. {
  4428. "name": "page",
  4429. "description": "HTML for Organizr Pages"
  4430. },
  4431. {
  4432. "name": "plex"
  4433. },
  4434. {
  4435. "name": "plugins"
  4436. },
  4437. {
  4438. "name": "update",
  4439. "description": "Organizr Update"
  4440. }
  4441. ]
  4442. }