api.json 157 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332
  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/emby/register": {
  2760. "post": {
  2761. "tags": [
  2762. "emby"
  2763. ],
  2764. "summary": "Register a user using Emby API",
  2765. "responses": {
  2766. "200": {
  2767. "description": "Success",
  2768. "content": {
  2769. "application/json": {
  2770. "schema": {
  2771. "$ref": "#/components/schemas/status"
  2772. }
  2773. }
  2774. }
  2775. },
  2776. "401": {
  2777. "description": "Unauthorized"
  2778. }
  2779. }
  2780. }
  2781. },
  2782. "/api/v2/organizr/{page}": {
  2783. "get": {
  2784. "tags": [
  2785. "page"
  2786. ],
  2787. "summary": "Get HTML for Organizr Pages",
  2788. "parameters": [
  2789. {
  2790. "name": "page",
  2791. "in": "path",
  2792. "description": "Page to get",
  2793. "required": true,
  2794. "schema": {
  2795. "type": "string"
  2796. }
  2797. }
  2798. ],
  2799. "responses": {
  2800. "200": {
  2801. "description": "Success",
  2802. "content": {
  2803. "application/json": {
  2804. "schema": {
  2805. "$ref": "#/components/schemas/get-html"
  2806. }
  2807. }
  2808. }
  2809. },
  2810. "401": {
  2811. "description": "Unauthorized"
  2812. }
  2813. },
  2814. "security": [
  2815. {
  2816. "api_key": []
  2817. }
  2818. ]
  2819. }
  2820. },
  2821. "/api/v2/page/{page}": {
  2822. "get": {
  2823. "tags": [
  2824. "page"
  2825. ],
  2826. "summary": "Get HTML for Organizr Pages",
  2827. "parameters": [
  2828. {
  2829. "name": "page",
  2830. "in": "path",
  2831. "description": "Page to get",
  2832. "required": true,
  2833. "schema": {
  2834. "type": "string"
  2835. }
  2836. }
  2837. ],
  2838. "responses": {
  2839. "200": {
  2840. "description": "Success",
  2841. "content": {
  2842. "application/json": {
  2843. "schema": {
  2844. "$ref": "#/components/schemas/get-html"
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "401": {
  2850. "description": "Unauthorized"
  2851. }
  2852. },
  2853. "security": [
  2854. {
  2855. "api_key": []
  2856. }
  2857. ]
  2858. }
  2859. },
  2860. "/api/v2/page": {
  2861. "get": {
  2862. "tags": [
  2863. "page"
  2864. ],
  2865. "summary": "Get list of all Organizr Pages",
  2866. "responses": {
  2867. "200": {
  2868. "description": "Success",
  2869. "content": {
  2870. "application/json": {
  2871. "schema": {
  2872. "$ref": "#/components/schemas/get-html"
  2873. }
  2874. }
  2875. }
  2876. },
  2877. "401": {
  2878. "description": "Unauthorized"
  2879. }
  2880. },
  2881. "security": [
  2882. {
  2883. "api_key": []
  2884. }
  2885. ]
  2886. }
  2887. },
  2888. "/api/v2/ping": {
  2889. "get": {
  2890. "summary": "Ping the Organizr API",
  2891. "responses": {
  2892. "200": {
  2893. "description": "Success",
  2894. "content": {
  2895. "application/json": {
  2896. "schema": {
  2897. "$ref": "#/components/schemas/ping"
  2898. }
  2899. }
  2900. }
  2901. },
  2902. "401": {
  2903. "description": "Unauthorized"
  2904. }
  2905. }
  2906. }
  2907. },
  2908. "/api/v2/plex/register": {
  2909. "post": {
  2910. "tags": [
  2911. "plex"
  2912. ],
  2913. "summary": "Register a user using Plex API",
  2914. "requestBody": {
  2915. "description": "Success",
  2916. "required": true,
  2917. "content": {
  2918. "application/json": {
  2919. "schema": {
  2920. "$ref": "#/components/schemas/plexRegister"
  2921. }
  2922. }
  2923. }
  2924. },
  2925. "responses": {
  2926. "200": {
  2927. "description": "Success",
  2928. "content": {
  2929. "application/json": {
  2930. "schema": {
  2931. "$ref": "#/components/schemas/status"
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "401": {
  2937. "description": "Unauthorized"
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/api/v2/status": {
  2943. "get": {
  2944. "summary": "Query Organizr API to perform a Status Check",
  2945. "responses": {
  2946. "200": {
  2947. "description": "Success",
  2948. "content": {
  2949. "application/json": {
  2950. "schema": {
  2951. "$ref": "#/components/schemas/status"
  2952. }
  2953. }
  2954. }
  2955. },
  2956. "401": {
  2957. "description": "Unauthorized"
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/api/v2/auth": {
  2963. "get": {
  2964. "summary": "Nginx auth_request",
  2965. "parameters": [
  2966. {
  2967. "name": "group",
  2968. "in": "query",
  2969. "description": "The id of the group allowed",
  2970. "required": false,
  2971. "schema": {
  2972. "type": "integer",
  2973. "format": "int64"
  2974. }
  2975. },
  2976. {
  2977. "name": "whitelist",
  2978. "in": "query",
  2979. "description": "Whitelisted Ip's",
  2980. "required": false,
  2981. "explode": false,
  2982. "schema": {
  2983. "type": "array",
  2984. "items": {
  2985. "type": "string"
  2986. }
  2987. }
  2988. },
  2989. {
  2990. "name": "blacklist",
  2991. "in": "query",
  2992. "description": "Blacklisted Ip's",
  2993. "required": false,
  2994. "explode": false,
  2995. "schema": {
  2996. "type": "array",
  2997. "items": {
  2998. "type": "string"
  2999. }
  3000. }
  3001. }
  3002. ],
  3003. "responses": {
  3004. "200": {
  3005. "description": "Success"
  3006. },
  3007. "401": {
  3008. "description": "Unauthorized"
  3009. }
  3010. }
  3011. }
  3012. },
  3013. "/api/v2/update": {
  3014. "get": {
  3015. "tags": [
  3016. "update"
  3017. ],
  3018. "summary": "Update Organizr install using update script",
  3019. "responses": {
  3020. "200": {
  3021. "description": "Success",
  3022. "content": {
  3023. "application/json": {
  3024. "schema": {
  3025. "$ref": "#/components/schemas/success-message"
  3026. }
  3027. }
  3028. }
  3029. },
  3030. "401": {
  3031. "description": "Unauthorized",
  3032. "content": {
  3033. "application/json": {
  3034. "schema": {
  3035. "$ref": "#/components/schemas/unauthorized-message"
  3036. }
  3037. }
  3038. }
  3039. },
  3040. "404": {
  3041. "description": "Error",
  3042. "content": {
  3043. "application/json": {
  3044. "schema": {
  3045. "$ref": "#/components/schemas/error-message"
  3046. }
  3047. }
  3048. }
  3049. },
  3050. "422": {
  3051. "description": "Error",
  3052. "content": {
  3053. "application/json": {
  3054. "schema": {
  3055. "$ref": "#/components/schemas/error-message"
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Error",
  3062. "content": {
  3063. "application/json": {
  3064. "schema": {
  3065. "$ref": "#/components/schemas/error-message"
  3066. }
  3067. }
  3068. }
  3069. }
  3070. },
  3071. "security": [
  3072. {
  3073. "api_key": []
  3074. }
  3075. ]
  3076. }
  3077. },
  3078. "/api/v2/update/download/{branch}": {
  3079. "get": {
  3080. "tags": [
  3081. "update"
  3082. ],
  3083. "summary": "Download Organizr Update Files",
  3084. "responses": {
  3085. "200": {
  3086. "description": "Success",
  3087. "content": {
  3088. "application/json": {
  3089. "schema": {
  3090. "$ref": "#/components/schemas/success-message"
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "401": {
  3096. "description": "Unauthorized",
  3097. "content": {
  3098. "application/json": {
  3099. "schema": {
  3100. "$ref": "#/components/schemas/unauthorized-message"
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "404": {
  3106. "description": "Error",
  3107. "content": {
  3108. "application/json": {
  3109. "schema": {
  3110. "$ref": "#/components/schemas/error-message"
  3111. }
  3112. }
  3113. }
  3114. },
  3115. "422": {
  3116. "description": "Error",
  3117. "content": {
  3118. "application/json": {
  3119. "schema": {
  3120. "$ref": "#/components/schemas/error-message"
  3121. }
  3122. }
  3123. }
  3124. },
  3125. "500": {
  3126. "description": "Error",
  3127. "content": {
  3128. "application/json": {
  3129. "schema": {
  3130. "$ref": "#/components/schemas/error-message"
  3131. }
  3132. }
  3133. }
  3134. }
  3135. },
  3136. "security": [
  3137. {
  3138. "api_key": []
  3139. }
  3140. ]
  3141. }
  3142. },
  3143. "/api/v2/update/unzip/{branch}": {
  3144. "get": {
  3145. "tags": [
  3146. "update"
  3147. ],
  3148. "summary": "Unzip Organizr Update Files",
  3149. "responses": {
  3150. "200": {
  3151. "description": "Success",
  3152. "content": {
  3153. "application/json": {
  3154. "schema": {
  3155. "$ref": "#/components/schemas/success-message"
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "401": {
  3161. "description": "Unauthorized",
  3162. "content": {
  3163. "application/json": {
  3164. "schema": {
  3165. "$ref": "#/components/schemas/unauthorized-message"
  3166. }
  3167. }
  3168. }
  3169. },
  3170. "404": {
  3171. "description": "Error",
  3172. "content": {
  3173. "application/json": {
  3174. "schema": {
  3175. "$ref": "#/components/schemas/error-message"
  3176. }
  3177. }
  3178. }
  3179. },
  3180. "422": {
  3181. "description": "Error",
  3182. "content": {
  3183. "application/json": {
  3184. "schema": {
  3185. "$ref": "#/components/schemas/error-message"
  3186. }
  3187. }
  3188. }
  3189. },
  3190. "500": {
  3191. "description": "Error",
  3192. "content": {
  3193. "application/json": {
  3194. "schema": {
  3195. "$ref": "#/components/schemas/error-message"
  3196. }
  3197. }
  3198. }
  3199. }
  3200. },
  3201. "security": [
  3202. {
  3203. "api_key": []
  3204. }
  3205. ]
  3206. }
  3207. },
  3208. "/api/v2/update/move/{branch}": {
  3209. "get": {
  3210. "tags": [
  3211. "update"
  3212. ],
  3213. "summary": "Move Organizr Update Files",
  3214. "responses": {
  3215. "200": {
  3216. "description": "Success",
  3217. "content": {
  3218. "application/json": {
  3219. "schema": {
  3220. "$ref": "#/components/schemas/success-message"
  3221. }
  3222. }
  3223. }
  3224. },
  3225. "401": {
  3226. "description": "Unauthorized",
  3227. "content": {
  3228. "application/json": {
  3229. "schema": {
  3230. "$ref": "#/components/schemas/unauthorized-message"
  3231. }
  3232. }
  3233. }
  3234. },
  3235. "404": {
  3236. "description": "Error",
  3237. "content": {
  3238. "application/json": {
  3239. "schema": {
  3240. "$ref": "#/components/schemas/error-message"
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "422": {
  3246. "description": "Error",
  3247. "content": {
  3248. "application/json": {
  3249. "schema": {
  3250. "$ref": "#/components/schemas/error-message"
  3251. }
  3252. }
  3253. }
  3254. },
  3255. "500": {
  3256. "description": "Error",
  3257. "content": {
  3258. "application/json": {
  3259. "schema": {
  3260. "$ref": "#/components/schemas/error-message"
  3261. }
  3262. }
  3263. }
  3264. }
  3265. },
  3266. "security": [
  3267. {
  3268. "api_key": []
  3269. }
  3270. ]
  3271. }
  3272. },
  3273. "/api/v2/update/cleanup/{branch}": {
  3274. "get": {
  3275. "tags": [
  3276. "update"
  3277. ],
  3278. "summary": "Cleanup Organizr Update Files",
  3279. "responses": {
  3280. "200": {
  3281. "description": "Success",
  3282. "content": {
  3283. "application/json": {
  3284. "schema": {
  3285. "$ref": "#/components/schemas/success-message"
  3286. }
  3287. }
  3288. }
  3289. },
  3290. "401": {
  3291. "description": "Unauthorized",
  3292. "content": {
  3293. "application/json": {
  3294. "schema": {
  3295. "$ref": "#/components/schemas/unauthorized-message"
  3296. }
  3297. }
  3298. }
  3299. },
  3300. "404": {
  3301. "description": "Error",
  3302. "content": {
  3303. "application/json": {
  3304. "schema": {
  3305. "$ref": "#/components/schemas/error-message"
  3306. }
  3307. }
  3308. }
  3309. },
  3310. "422": {
  3311. "description": "Error",
  3312. "content": {
  3313. "application/json": {
  3314. "schema": {
  3315. "$ref": "#/components/schemas/error-message"
  3316. }
  3317. }
  3318. }
  3319. },
  3320. "500": {
  3321. "description": "Error",
  3322. "content": {
  3323. "application/json": {
  3324. "schema": {
  3325. "$ref": "#/components/schemas/error-message"
  3326. }
  3327. }
  3328. }
  3329. }
  3330. },
  3331. "security": [
  3332. {
  3333. "api_key": []
  3334. }
  3335. ]
  3336. }
  3337. },
  3338. "/api/v2/update/docker": {
  3339. "get": {
  3340. "tags": [
  3341. "update"
  3342. ],
  3343. "summary": "Update Organizr install using Docker Container script",
  3344. "responses": {
  3345. "200": {
  3346. "description": "Success",
  3347. "content": {
  3348. "application/json": {
  3349. "schema": {
  3350. "$ref": "#/components/schemas/success-message"
  3351. }
  3352. }
  3353. }
  3354. },
  3355. "401": {
  3356. "description": "Unauthorized",
  3357. "content": {
  3358. "application/json": {
  3359. "schema": {
  3360. "$ref": "#/components/schemas/unauthorized-message"
  3361. }
  3362. }
  3363. }
  3364. },
  3365. "404": {
  3366. "description": "Error",
  3367. "content": {
  3368. "application/json": {
  3369. "schema": {
  3370. "$ref": "#/components/schemas/error-message"
  3371. }
  3372. }
  3373. }
  3374. },
  3375. "422": {
  3376. "description": "Error",
  3377. "content": {
  3378. "application/json": {
  3379. "schema": {
  3380. "$ref": "#/components/schemas/error-message"
  3381. }
  3382. }
  3383. }
  3384. },
  3385. "500": {
  3386. "description": "Error",
  3387. "content": {
  3388. "application/json": {
  3389. "schema": {
  3390. "$ref": "#/components/schemas/error-message"
  3391. }
  3392. }
  3393. }
  3394. }
  3395. },
  3396. "security": [
  3397. {
  3398. "api_key": []
  3399. }
  3400. ]
  3401. }
  3402. },
  3403. "/api/v2/update/windows": {
  3404. "get": {
  3405. "tags": [
  3406. "update"
  3407. ],
  3408. "summary": "Update Organizr install using Windows script",
  3409. "responses": {
  3410. "200": {
  3411. "description": "Success",
  3412. "content": {
  3413. "application/json": {
  3414. "schema": {
  3415. "$ref": "#/components/schemas/success-message"
  3416. }
  3417. }
  3418. }
  3419. },
  3420. "401": {
  3421. "description": "Unauthorized",
  3422. "content": {
  3423. "application/json": {
  3424. "schema": {
  3425. "$ref": "#/components/schemas/unauthorized-message"
  3426. }
  3427. }
  3428. }
  3429. },
  3430. "404": {
  3431. "description": "Error",
  3432. "content": {
  3433. "application/json": {
  3434. "schema": {
  3435. "$ref": "#/components/schemas/error-message"
  3436. }
  3437. }
  3438. }
  3439. },
  3440. "422": {
  3441. "description": "Error",
  3442. "content": {
  3443. "application/json": {
  3444. "schema": {
  3445. "$ref": "#/components/schemas/error-message"
  3446. }
  3447. }
  3448. }
  3449. },
  3450. "500": {
  3451. "description": "Error",
  3452. "content": {
  3453. "application/json": {
  3454. "schema": {
  3455. "$ref": "#/components/schemas/error-message"
  3456. }
  3457. }
  3458. }
  3459. }
  3460. },
  3461. "security": [
  3462. {
  3463. "api_key": []
  3464. }
  3465. ]
  3466. }
  3467. },
  3468. "/api/v2/update/linux": {
  3469. "get": {
  3470. "tags": [
  3471. "update"
  3472. ],
  3473. "summary": "Update Organizr install using Linux script",
  3474. "responses": {
  3475. "200": {
  3476. "description": "Success",
  3477. "content": {
  3478. "application/json": {
  3479. "schema": {
  3480. "$ref": "#/components/schemas/success-message"
  3481. }
  3482. }
  3483. }
  3484. },
  3485. "401": {
  3486. "description": "Unauthorized",
  3487. "content": {
  3488. "application/json": {
  3489. "schema": {
  3490. "$ref": "#/components/schemas/unauthorized-message"
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "404": {
  3496. "description": "Error",
  3497. "content": {
  3498. "application/json": {
  3499. "schema": {
  3500. "$ref": "#/components/schemas/error-message"
  3501. }
  3502. }
  3503. }
  3504. },
  3505. "422": {
  3506. "description": "Error",
  3507. "content": {
  3508. "application/json": {
  3509. "schema": {
  3510. "$ref": "#/components/schemas/error-message"
  3511. }
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Error",
  3517. "content": {
  3518. "application/json": {
  3519. "schema": {
  3520. "$ref": "#/components/schemas/error-message"
  3521. }
  3522. }
  3523. }
  3524. }
  3525. },
  3526. "security": [
  3527. {
  3528. "api_key": []
  3529. }
  3530. ]
  3531. }
  3532. },
  3533. "/api/v2/update/migrate/{version}": {
  3534. "get": {
  3535. "tags": [
  3536. "update"
  3537. ],
  3538. "summary": "Run Organizr Version Mirgation for specific version",
  3539. "responses": {
  3540. "200": {
  3541. "description": "Success",
  3542. "content": {
  3543. "application/json": {
  3544. "schema": {
  3545. "$ref": "#/components/schemas/success-message"
  3546. }
  3547. }
  3548. }
  3549. },
  3550. "401": {
  3551. "description": "Unauthorized",
  3552. "content": {
  3553. "application/json": {
  3554. "schema": {
  3555. "$ref": "#/components/schemas/unauthorized-message"
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "404": {
  3561. "description": "Error",
  3562. "content": {
  3563. "application/json": {
  3564. "schema": {
  3565. "$ref": "#/components/schemas/error-message"
  3566. }
  3567. }
  3568. }
  3569. },
  3570. "422": {
  3571. "description": "Error",
  3572. "content": {
  3573. "application/json": {
  3574. "schema": {
  3575. "$ref": "#/components/schemas/error-message"
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "500": {
  3581. "description": "Error",
  3582. "content": {
  3583. "application/json": {
  3584. "schema": {
  3585. "$ref": "#/components/schemas/error-message"
  3586. }
  3587. }
  3588. }
  3589. }
  3590. },
  3591. "security": [
  3592. {
  3593. "api_key": []
  3594. }
  3595. ]
  3596. }
  3597. }
  3598. },
  3599. "components": {
  3600. "schemas": {
  3601. "getChatMessages": {
  3602. "properties": {
  3603. "response": {
  3604. "properties": {
  3605. "result": {
  3606. "description": "success or error",
  3607. "type": "string",
  3608. "example": "success"
  3609. },
  3610. "message": {
  3611. "description": "success or error message",
  3612. "type": "string",
  3613. "example": null
  3614. },
  3615. "data": {
  3616. "description": "data from api",
  3617. "type": "array",
  3618. "items": {
  3619. "properties": {
  3620. "username": {
  3621. "type": "string",
  3622. "example": "causefx"
  3623. },
  3624. "date": {
  3625. "type": "string",
  3626. "example": "2018-09-01 02:02:24"
  3627. },
  3628. "gravatar": {
  3629. "type": "string",
  3630. "example": "https://www.gravatar.com/avatar/a47c4a4b915ddf9601cd228f890bc366?s=100&d=mm"
  3631. },
  3632. "message": {
  3633. "type": "string",
  3634. "example": "ok first message!"
  3635. },
  3636. "uid": {
  3637. "type": "string",
  3638. "example": "f5287"
  3639. }
  3640. },
  3641. "type": "object"
  3642. }
  3643. }
  3644. },
  3645. "type": "object"
  3646. }
  3647. },
  3648. "type": "object"
  3649. },
  3650. "submitMessageData": {
  3651. "properties": {
  3652. "message": {
  3653. "type": "string",
  3654. "example": "This is my message"
  3655. }
  3656. },
  3657. "type": "object"
  3658. },
  3659. "submitMessage": {
  3660. "properties": {
  3661. "response": {
  3662. "properties": {
  3663. "result": {
  3664. "description": "success or error",
  3665. "type": "string",
  3666. "example": "success"
  3667. },
  3668. "message": {
  3669. "description": "success or error message",
  3670. "type": "string",
  3671. "example": "message has been accepted"
  3672. },
  3673. "data": {
  3674. "description": "data from api",
  3675. "type": "string",
  3676. "example": null
  3677. }
  3678. },
  3679. "type": "object"
  3680. }
  3681. },
  3682. "type": "object"
  3683. },
  3684. "healthChecksRun": {
  3685. "properties": {
  3686. "response": {
  3687. "properties": {
  3688. "result": {
  3689. "description": "success or error",
  3690. "type": "string",
  3691. "example": "success"
  3692. },
  3693. "message": {
  3694. "description": "success or error message",
  3695. "type": "string",
  3696. "example": null
  3697. },
  3698. "data": {
  3699. "description": "data from api",
  3700. "type": "array",
  3701. "items": {
  3702. "properties": {
  3703. "Service Name": {
  3704. "type": "string",
  3705. "example": "Radarr"
  3706. },
  3707. "UUID": {
  3708. "type": "string",
  3709. "example": "883f0097-8f4c-4ca5-a9cf-053cfab8e334"
  3710. },
  3711. "External URL": {
  3712. "type": "string",
  3713. "example": "https://radarr.com"
  3714. },
  3715. "Internal URL": {
  3716. "type": "string",
  3717. "example": "http://radarr:7878"
  3718. },
  3719. "Enabled": {
  3720. "type": "string",
  3721. "example": "true"
  3722. },
  3723. "results": {
  3724. "type": "array",
  3725. "items": {
  3726. "properties": {
  3727. "internal": {
  3728. "type": "string",
  3729. "example": "Success"
  3730. },
  3731. "external": {
  3732. "type": "string",
  3733. "example": "Success"
  3734. }
  3735. },
  3736. "type": "object"
  3737. }
  3738. }
  3739. },
  3740. "type": "object"
  3741. }
  3742. }
  3743. },
  3744. "type": "object"
  3745. }
  3746. },
  3747. "type": "object"
  3748. },
  3749. "getInvites": {
  3750. "properties": {
  3751. "response": {
  3752. "properties": {
  3753. "result": {
  3754. "description": "success or error",
  3755. "type": "string",
  3756. "example": "success"
  3757. },
  3758. "message": {
  3759. "description": "success or error message",
  3760. "type": "string",
  3761. "example": null
  3762. },
  3763. "data": {
  3764. "description": "data from api",
  3765. "type": "array",
  3766. "items": {
  3767. "properties": {
  3768. "id": {
  3769. "type": "number",
  3770. "example": 1
  3771. },
  3772. "code": {
  3773. "type": "string",
  3774. "example": "NN9JH9"
  3775. },
  3776. "date": {
  3777. "type": "string",
  3778. "example": "2018-09-01 02:02:24"
  3779. },
  3780. "email": {
  3781. "type": "string",
  3782. "example": "causefX@organizr.app"
  3783. },
  3784. "username": {
  3785. "type": "string",
  3786. "example": "causefx"
  3787. },
  3788. "dateused": {
  3789. "type": "string",
  3790. "example": "2018-09-01 02:02:24"
  3791. },
  3792. "usedby": {
  3793. "type": "string",
  3794. "example": "causefx"
  3795. },
  3796. "ip": {
  3797. "type": "string",
  3798. "example": "10.0.0.0"
  3799. },
  3800. "valid": {
  3801. "type": "string",
  3802. "example": "No"
  3803. },
  3804. "type": {
  3805. "type": "string",
  3806. "example": "Plex"
  3807. }
  3808. },
  3809. "type": "object"
  3810. }
  3811. }
  3812. },
  3813. "type": "object"
  3814. }
  3815. },
  3816. "type": "object"
  3817. },
  3818. "createInviteCode": {
  3819. "properties": {
  3820. "response": {
  3821. "properties": {
  3822. "result": {
  3823. "description": "success or error",
  3824. "type": "string",
  3825. "example": "success"
  3826. },
  3827. "message": {
  3828. "description": "success or error message",
  3829. "type": "string",
  3830. "example": "Invite Code: XYXYXY has been created"
  3831. },
  3832. "data": {
  3833. "description": "data from api",
  3834. "type": "string",
  3835. "example": null
  3836. }
  3837. },
  3838. "type": "object"
  3839. }
  3840. },
  3841. "type": "object"
  3842. },
  3843. "verifyInviteCode": {
  3844. "properties": {
  3845. "response": {
  3846. "properties": {
  3847. "result": {
  3848. "description": "success or error",
  3849. "type": "string",
  3850. "example": "success"
  3851. },
  3852. "message": {
  3853. "description": "success or error message",
  3854. "type": "string",
  3855. "example": "Code has been verified"
  3856. },
  3857. "data": {
  3858. "description": "data from api",
  3859. "type": "string",
  3860. "example": null
  3861. }
  3862. },
  3863. "type": "object"
  3864. }
  3865. },
  3866. "type": "object"
  3867. },
  3868. "useInviteCode": {
  3869. "properties": {
  3870. "response": {
  3871. "properties": {
  3872. "result": {
  3873. "description": "success or error",
  3874. "type": "string",
  3875. "example": "success"
  3876. },
  3877. "message": {
  3878. "description": "success or error message",
  3879. "type": "string",
  3880. "example": "Plex/Emby User now has access to system"
  3881. },
  3882. "data": {
  3883. "description": "data from api",
  3884. "type": "string",
  3885. "example": null
  3886. }
  3887. },
  3888. "type": "object"
  3889. }
  3890. },
  3891. "type": "object"
  3892. },
  3893. "deleteInviteCode": {
  3894. "properties": {
  3895. "response": {
  3896. "properties": {
  3897. "result": {
  3898. "description": "success or error",
  3899. "type": "string",
  3900. "example": "success"
  3901. },
  3902. "message": {
  3903. "description": "success or error message",
  3904. "type": "string",
  3905. "example": "Code has been deleted"
  3906. },
  3907. "data": {
  3908. "description": "data from api",
  3909. "type": "string",
  3910. "example": null
  3911. }
  3912. },
  3913. "type": "object"
  3914. }
  3915. },
  3916. "type": "object"
  3917. },
  3918. "sendEmailData": {
  3919. "properties": {
  3920. "bcc": {
  3921. "description": "email of recipients (csv)",
  3922. "type": "string",
  3923. "example": "causefx@organizr.app,elmer@organizr.app"
  3924. },
  3925. "subject": {
  3926. "type": "string",
  3927. "example": "Hey There Buddy?!"
  3928. },
  3929. "body": {
  3930. "type": "string",
  3931. "example": "Hi! Boy, has it been a long time! Have you seen rox in socks?"
  3932. }
  3933. },
  3934. "type": "object"
  3935. },
  3936. "submit-2fa-verify": {
  3937. "properties": {
  3938. "secret": {
  3939. "type": "string",
  3940. "example": "OX1R4GA3425GSDF"
  3941. },
  3942. "code": {
  3943. "type": "string",
  3944. "example": "145047"
  3945. },
  3946. "type": {
  3947. "type": "string",
  3948. "example": "google"
  3949. }
  3950. },
  3951. "type": "object"
  3952. },
  3953. "submit-2fa-save": {
  3954. "properties": {
  3955. "secret": {
  3956. "type": "string",
  3957. "example": "OX1R4GA3425GSDF"
  3958. },
  3959. "type": {
  3960. "type": "string",
  3961. "example": "google"
  3962. }
  3963. },
  3964. "type": "object"
  3965. },
  3966. "submit-2fa-create": {
  3967. "properties": {
  3968. "type": {
  3969. "type": "string",
  3970. "example": "google"
  3971. }
  3972. },
  3973. "type": "object"
  3974. },
  3975. "get-html": {
  3976. "properties": {
  3977. "response": {
  3978. "properties": {
  3979. "result": {
  3980. "description": "success or error",
  3981. "type": "string",
  3982. "example": "success"
  3983. },
  3984. "message": {
  3985. "description": "success message or error message",
  3986. "type": "string",
  3987. "example": null
  3988. },
  3989. "data": {
  3990. "description": "data from api",
  3991. "type": "string",
  3992. "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"
  3993. }
  3994. },
  3995. "type": "object"
  3996. }
  3997. },
  3998. "type": "object"
  3999. },
  4000. "plexRegister": {
  4001. "properties": {
  4002. "username": {
  4003. "type": "string",
  4004. "example": "causefx"
  4005. },
  4006. "email": {
  4007. "type": "string",
  4008. "example": "causefx@organizr.app"
  4009. },
  4010. "password": {
  4011. "type": "string",
  4012. "example": "iCanHazPa$$w0Rd"
  4013. }
  4014. },
  4015. "type": "object"
  4016. },
  4017. "ping": {
  4018. "properties": {
  4019. "response": {
  4020. "properties": {
  4021. "result": {
  4022. "description": "success or error",
  4023. "type": "string",
  4024. "example": "success"
  4025. },
  4026. "message": {
  4027. "description": "success or error message",
  4028. "type": "string",
  4029. "example": null
  4030. },
  4031. "data": {
  4032. "description": "data from api",
  4033. "type": "string",
  4034. "example": "pong"
  4035. }
  4036. },
  4037. "type": "object"
  4038. }
  4039. },
  4040. "type": "object"
  4041. },
  4042. "status": {
  4043. "properties": {
  4044. "response": {
  4045. "properties": {
  4046. "result": {
  4047. "description": "success or error",
  4048. "type": "string",
  4049. "example": "success"
  4050. },
  4051. "message": {
  4052. "description": "success or error message",
  4053. "type": "string",
  4054. "example": null
  4055. },
  4056. "data": {
  4057. "description": "data from api",
  4058. "properties": {
  4059. "status": {
  4060. "description": "success or error",
  4061. "type": "string",
  4062. "example": "ok"
  4063. },
  4064. "api_version": {
  4065. "type": "string",
  4066. "example": "2.0"
  4067. },
  4068. "organizr_version": {
  4069. "type": "string",
  4070. "example": "2.0.650"
  4071. }
  4072. },
  4073. "type": "object"
  4074. }
  4075. },
  4076. "type": "object"
  4077. }
  4078. },
  4079. "type": "object"
  4080. },
  4081. "pluginSettingsPage": {
  4082. "properties": {
  4083. "response": {
  4084. "properties": {
  4085. "result": {
  4086. "description": "success or error",
  4087. "type": "string",
  4088. "example": "success"
  4089. },
  4090. "message": {
  4091. "description": "success or error message",
  4092. "type": "string",
  4093. "example": null
  4094. },
  4095. "data": {
  4096. "description": "data from api",
  4097. "properties": {
  4098. "settingsPageObjectItem1": {
  4099. "type": "object"
  4100. },
  4101. "settingsPageObjectItem2": {
  4102. "type": "object"
  4103. },
  4104. "settingsPageObjectItem3": {
  4105. "type": "object"
  4106. }
  4107. },
  4108. "type": "object"
  4109. }
  4110. },
  4111. "type": "object"
  4112. }
  4113. },
  4114. "type": "object"
  4115. },
  4116. "successNullData": {
  4117. "properties": {
  4118. "response": {
  4119. "properties": {
  4120. "result": {
  4121. "description": "success or error",
  4122. "type": "string",
  4123. "example": "success"
  4124. },
  4125. "message": {
  4126. "description": "success message or error message",
  4127. "type": "string",
  4128. "example": null
  4129. },
  4130. "data": {
  4131. "description": "data from api",
  4132. "type": "string",
  4133. "example": null
  4134. }
  4135. },
  4136. "type": "object"
  4137. }
  4138. },
  4139. "type": "object"
  4140. },
  4141. "success-message": {
  4142. "properties": {
  4143. "response": {
  4144. "properties": {
  4145. "result": {
  4146. "description": "success or error",
  4147. "type": "string",
  4148. "example": "success"
  4149. },
  4150. "message": {
  4151. "description": "success message or error message",
  4152. "type": "string",
  4153. "example": "Successful message here"
  4154. },
  4155. "data": {
  4156. "description": "data from api",
  4157. "type": "string",
  4158. "example": null
  4159. }
  4160. },
  4161. "type": "object"
  4162. }
  4163. },
  4164. "type": "object"
  4165. },
  4166. "error-message": {
  4167. "properties": {
  4168. "response": {
  4169. "properties": {
  4170. "result": {
  4171. "description": "success or error",
  4172. "type": "string",
  4173. "example": "error"
  4174. },
  4175. "message": {
  4176. "description": "success message or error message",
  4177. "type": "string",
  4178. "example": "Error message here"
  4179. },
  4180. "data": {
  4181. "description": "data from api",
  4182. "type": "string",
  4183. "example": null
  4184. }
  4185. },
  4186. "type": "object"
  4187. }
  4188. },
  4189. "type": "object"
  4190. },
  4191. "unauthorized-message": {
  4192. "properties": {
  4193. "response": {
  4194. "properties": {
  4195. "result": {
  4196. "description": "success or error",
  4197. "type": "string",
  4198. "example": "error"
  4199. },
  4200. "message": {
  4201. "description": "success message or error message",
  4202. "type": "string",
  4203. "example": "User is not authorized"
  4204. },
  4205. "data": {
  4206. "description": "data from api",
  4207. "type": "string",
  4208. "example": null
  4209. }
  4210. },
  4211. "type": "object"
  4212. }
  4213. },
  4214. "type": "object"
  4215. },
  4216. "php-mailer-email-list": {
  4217. "properties": {
  4218. "response": {
  4219. "properties": {
  4220. "result": {
  4221. "description": "success or error",
  4222. "type": "string",
  4223. "example": "success"
  4224. },
  4225. "message": {
  4226. "description": "success or error message",
  4227. "type": "string",
  4228. "example": null
  4229. },
  4230. "data": {
  4231. "description": "data from api",
  4232. "type": "array",
  4233. "items": {
  4234. "properties": {
  4235. "causefx": {
  4236. "type": "string",
  4237. "example": "causefx@organizr.app"
  4238. }
  4239. },
  4240. "type": "object"
  4241. }
  4242. }
  4243. },
  4244. "type": "object"
  4245. }
  4246. },
  4247. "type": "object"
  4248. },
  4249. "config-items-example": {
  4250. "description": "list of config items to update",
  4251. "properties": {
  4252. "branch": {
  4253. "description": "config item name",
  4254. "type": "string",
  4255. "example": "v2-master"
  4256. },
  4257. "hideRegistration": {
  4258. "type": "boolean",
  4259. "example": false
  4260. },
  4261. "homepageUnifiAuth": {
  4262. "type": "string",
  4263. "example": "1"
  4264. }
  4265. },
  4266. "type": "object"
  4267. }
  4268. },
  4269. "securitySchemes": {
  4270. "api_key": {
  4271. "type": "apiKey",
  4272. "name": "Token",
  4273. "in": "header"
  4274. }
  4275. }
  4276. },
  4277. "tags": [
  4278. {
  4279. "name": "plugins-chat",
  4280. "description": "Pusher Chat Plugin"
  4281. },
  4282. {
  4283. "name": "plugins-healthchecks",
  4284. "description": "Healthchecks.io Ping Plugin"
  4285. },
  4286. {
  4287. "name": "plugins-invites",
  4288. "description": "Media Invite Plugin"
  4289. },
  4290. {
  4291. "name": "plugins-php-mailer",
  4292. "description": "PHP Mailer Plugin"
  4293. },
  4294. {
  4295. "name": "plugins-speedtest",
  4296. "description": "SpeedTest Plugin"
  4297. },
  4298. {
  4299. "name": "2fa",
  4300. "description": "Two Form Authentication"
  4301. },
  4302. {
  4303. "name": "categories",
  4304. "description": "Category Information"
  4305. },
  4306. {
  4307. "name": "config",
  4308. "description": "Organizr Configuration Items"
  4309. },
  4310. {
  4311. "name": "test connection",
  4312. "description": "Test Connections"
  4313. },
  4314. {
  4315. "name": "emby"
  4316. },
  4317. {
  4318. "name": "page",
  4319. "description": "HTML for Organizr Pages"
  4320. },
  4321. {
  4322. "name": "plex"
  4323. },
  4324. {
  4325. "name": "plugins"
  4326. },
  4327. {
  4328. "name": "update",
  4329. "description": "Organizr Update"
  4330. }
  4331. ]
  4332. }