api_data.js 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392
  1. define({ "api": [
  2. {
  3. "type": "post",
  4. "url": "v1/settings/customize/appearance",
  5. "title": "Edit Customize Appearance",
  6. "version": "1.0.0",
  7. "name": "PostCustomizePage",
  8. "group": "Appearance",
  9. "parameter": {
  10. "fields": {
  11. "Parameter": [
  12. {
  13. "group": "Parameter",
  14. "type": "Object",
  15. "optional": false,
  16. "field": "data",
  17. "description": "<p>nested data object.</p>"
  18. },
  19. {
  20. "group": "Parameter",
  21. "type": "String",
  22. "optional": false,
  23. "field": "data[action]",
  24. "description": "<p>editCustomizeAppearance.</p>"
  25. },
  26. {
  27. "group": "Parameter",
  28. "type": "String",
  29. "optional": false,
  30. "field": "data[name]",
  31. "description": "<p>Name.</p>"
  32. },
  33. {
  34. "group": "Parameter",
  35. "type": "String",
  36. "optional": false,
  37. "field": "data[value]",
  38. "description": "<p>Value.</p>"
  39. }
  40. ]
  41. }
  42. },
  43. "filename": "./index.php",
  44. "groupTitle": "Appearance",
  45. "success": {
  46. "fields": {
  47. "Success 200": [
  48. {
  49. "group": "Success 200",
  50. "type": "Boolean",
  51. "optional": false,
  52. "field": "data",
  53. "description": "<p>Output Boolean.</p>"
  54. }
  55. ]
  56. },
  57. "examples": [
  58. {
  59. "title": "Success-Response:",
  60. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  61. "type": "json"
  62. }
  63. ]
  64. },
  65. "error": {
  66. "fields": {
  67. "Error 4xx": [
  68. {
  69. "group": "Error 4xx",
  70. "optional": false,
  71. "field": "UserNotAuthorized",
  72. "description": "<p>The user is not authorized or Token not valid</p>"
  73. }
  74. ]
  75. },
  76. "examples": [
  77. {
  78. "title": "Error-Response:",
  79. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  80. "type": "json"
  81. }
  82. ]
  83. }
  84. },
  85. {
  86. "success": {
  87. "fields": {
  88. "Success 200": [
  89. {
  90. "group": "Success 200",
  91. "optional": false,
  92. "field": "varname1",
  93. "description": "<p>No type.</p>"
  94. },
  95. {
  96. "group": "Success 200",
  97. "type": "String",
  98. "optional": false,
  99. "field": "varname2",
  100. "description": "<p>With type.</p>"
  101. }
  102. ]
  103. }
  104. },
  105. "type": "",
  106. "url": "",
  107. "version": "0.0.0",
  108. "filename": "./docs/main.js",
  109. "group": "C:\\Projects\\Organizr-V2\\api\\docs\\main.js",
  110. "groupTitle": "C:\\Projects\\Organizr-V2\\api\\docs\\main.js",
  111. "name": ""
  112. },
  113. {
  114. "type": "post",
  115. "url": "v1/update/config",
  116. "title": "Update Config Item",
  117. "version": "1.0.0",
  118. "name": "PostUpdateConfig",
  119. "group": "Config",
  120. "parameter": {
  121. "fields": {
  122. "Parameter": [
  123. {
  124. "group": "Parameter",
  125. "type": "Object",
  126. "optional": false,
  127. "field": "data",
  128. "description": "<p>nested data object.</p>"
  129. },
  130. {
  131. "group": "Parameter",
  132. "type": "String",
  133. "optional": false,
  134. "field": "data[type]",
  135. "description": "<p>input|select|switch|password.</p>"
  136. },
  137. {
  138. "group": "Parameter",
  139. "type": "String",
  140. "optional": false,
  141. "field": "data[name]",
  142. "description": "<p>Name.</p>"
  143. },
  144. {
  145. "group": "Parameter",
  146. "type": "String",
  147. "optional": false,
  148. "field": "data[value]",
  149. "description": "<p>Value.</p>"
  150. }
  151. ]
  152. }
  153. },
  154. "filename": "./index.php",
  155. "groupTitle": "Config",
  156. "success": {
  157. "fields": {
  158. "Success 200": [
  159. {
  160. "group": "Success 200",
  161. "type": "Boolean",
  162. "optional": false,
  163. "field": "data",
  164. "description": "<p>Output Boolean.</p>"
  165. }
  166. ]
  167. },
  168. "examples": [
  169. {
  170. "title": "Success-Response:",
  171. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  172. "type": "json"
  173. }
  174. ]
  175. },
  176. "error": {
  177. "fields": {
  178. "Error 4xx": [
  179. {
  180. "group": "Error 4xx",
  181. "optional": false,
  182. "field": "UserNotAuthorized",
  183. "description": "<p>The user is not authorized or Token not valid</p>"
  184. }
  185. ]
  186. },
  187. "examples": [
  188. {
  189. "title": "Error-Response:",
  190. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  191. "type": "json"
  192. }
  193. ]
  194. }
  195. },
  196. {
  197. "type": "post",
  198. "url": "v1/update/config/multiple",
  199. "title": "Update Multiple Config Items",
  200. "version": "1.0.0",
  201. "name": "PostUpdateConfigMultiple",
  202. "group": "Config",
  203. "permission": [
  204. {
  205. "name": "admin",
  206. "title": "Admin or API Key Access Only",
  207. "description": "<p>Only the Admin/Co-Admin and API Key have access to this endpoint</p>"
  208. }
  209. ],
  210. "parameter": {
  211. "fields": {
  212. "Parameter": [
  213. {
  214. "group": "Parameter",
  215. "type": "Object",
  216. "optional": false,
  217. "field": "data[payload]",
  218. "description": "<p>nested payload object.</p>"
  219. },
  220. {
  221. "group": "Parameter",
  222. "type": "String",
  223. "optional": false,
  224. "field": "data.:keyName",
  225. "description": "<p>Value of Name defined from key.</p>"
  226. }
  227. ]
  228. },
  229. "examples": [
  230. {
  231. "title": "Request-Example:",
  232. "content": " {\n \"data\": {\n \"payload\": {\n \"title\": \"Organizr V2\",\n \"logo\": \"plugins/images/organizr/logo-wide.png\"\n }\n }\n}",
  233. "type": "json"
  234. }
  235. ]
  236. },
  237. "filename": "./index.php",
  238. "groupTitle": "Config",
  239. "success": {
  240. "fields": {
  241. "Success 200": [
  242. {
  243. "group": "Success 200",
  244. "type": "Boolean",
  245. "optional": false,
  246. "field": "data",
  247. "description": "<p>Output Boolean.</p>"
  248. }
  249. ]
  250. },
  251. "examples": [
  252. {
  253. "title": "Success-Response:",
  254. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  255. "type": "json"
  256. }
  257. ]
  258. },
  259. "error": {
  260. "fields": {
  261. "Error 4xx": [
  262. {
  263. "group": "Error 4xx",
  264. "optional": false,
  265. "field": "UserNotAuthorized",
  266. "description": "<p>The user is not authorized or Token not valid</p>"
  267. }
  268. ]
  269. },
  270. "examples": [
  271. {
  272. "title": "Error-Response:",
  273. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  274. "type": "json"
  275. }
  276. ]
  277. }
  278. },
  279. {
  280. "type": "post",
  281. "url": "v1/update/config/multiple/form",
  282. "title": "Update Multiple Config Items Form",
  283. "version": "1.0.0",
  284. "name": "PostUpdateConfigMultipleForm",
  285. "group": "Config",
  286. "permission": [
  287. {
  288. "name": "admin",
  289. "title": "Admin or API Key Access Only",
  290. "description": "<p>Only the Admin/Co-Admin and API Key have access to this endpoint</p>"
  291. }
  292. ],
  293. "parameter": {
  294. "fields": {
  295. "Parameter": [
  296. {
  297. "group": "Parameter",
  298. "type": "Object",
  299. "optional": false,
  300. "field": "data[payload]",
  301. "description": "<p>nested payload object.</p>"
  302. },
  303. {
  304. "group": "Parameter",
  305. "type": "Object",
  306. "optional": false,
  307. "field": "data.:keyName",
  308. "description": "<p>Config ID/Key.</p>"
  309. },
  310. {
  311. "group": "Parameter",
  312. "type": "String",
  313. "optional": false,
  314. "field": "data.:keyName.name",
  315. "description": "<p>Config ID/Key.</p>"
  316. },
  317. {
  318. "group": "Parameter",
  319. "type": "String",
  320. "optional": false,
  321. "field": "data.:keyName.value",
  322. "description": "<p>Config Value.</p>"
  323. },
  324. {
  325. "group": "Parameter",
  326. "type": "String",
  327. "optional": false,
  328. "field": "data.:keyName.type",
  329. "description": "<p>Config Type input|select|switch|password.</p>"
  330. }
  331. ]
  332. },
  333. "examples": [
  334. {
  335. "title": "Request-Example:",
  336. "content": " {\n \"data\": {\n \"payload\": {\n \"title\": {\n \"name\": \"title\",\n \"value\": \"Organizr V2\",\n \"type\": \"input\"\n },\n \"logo\": {\n \"name\": \"logo\",\n \"value\": \"plugins/images/organizr/logo-wide.png\",\n \"type\": \"input\"\n }\n }\n }\n}",
  337. "type": "json"
  338. }
  339. ]
  340. },
  341. "filename": "./index.php",
  342. "groupTitle": "Config",
  343. "success": {
  344. "fields": {
  345. "Success 200": [
  346. {
  347. "group": "Success 200",
  348. "type": "Boolean",
  349. "optional": false,
  350. "field": "data",
  351. "description": "<p>Output Boolean.</p>"
  352. }
  353. ]
  354. },
  355. "examples": [
  356. {
  357. "title": "Success-Response:",
  358. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  359. "type": "json"
  360. }
  361. ]
  362. },
  363. "error": {
  364. "fields": {
  365. "Error 4xx": [
  366. {
  367. "group": "Error 4xx",
  368. "optional": false,
  369. "field": "UserNotAuthorized",
  370. "description": "<p>The user is not authorized or Token not valid</p>"
  371. }
  372. ]
  373. },
  374. "examples": [
  375. {
  376. "title": "Error-Response:",
  377. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  378. "type": "json"
  379. }
  380. ]
  381. }
  382. },
  383. {
  384. "type": "post",
  385. "url": "v1/remove/file",
  386. "title": "Remove File",
  387. "version": "1.0.0",
  388. "name": "PostRemoveFile",
  389. "group": "Files",
  390. "parameter": {
  391. "fields": {
  392. "Parameter": [
  393. {
  394. "group": "Parameter",
  395. "type": "Object",
  396. "optional": false,
  397. "field": "data",
  398. "description": "<p>nested data object.</p>"
  399. },
  400. {
  401. "group": "Parameter",
  402. "type": "String",
  403. "optional": false,
  404. "field": "data[path]",
  405. "description": "<p>File Path.</p>"
  406. },
  407. {
  408. "group": "Parameter",
  409. "type": "String",
  410. "optional": false,
  411. "field": "data[name]",
  412. "description": "<p>File Name.</p>"
  413. }
  414. ]
  415. }
  416. },
  417. "filename": "./index.php",
  418. "groupTitle": "Files",
  419. "success": {
  420. "fields": {
  421. "Success 200": [
  422. {
  423. "group": "Success 200",
  424. "type": "Boolean",
  425. "optional": false,
  426. "field": "data",
  427. "description": "<p>Output Boolean.</p>"
  428. }
  429. ]
  430. },
  431. "examples": [
  432. {
  433. "title": "Success-Response:",
  434. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  435. "type": "json"
  436. }
  437. ]
  438. },
  439. "error": {
  440. "fields": {
  441. "Error 4xx": [
  442. {
  443. "group": "Error 4xx",
  444. "optional": false,
  445. "field": "UserNotAuthorized",
  446. "description": "<p>The user is not authorized or Token not valid</p>"
  447. }
  448. ]
  449. },
  450. "examples": [
  451. {
  452. "title": "Error-Response:",
  453. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  454. "type": "json"
  455. }
  456. ]
  457. }
  458. },
  459. {
  460. "type": "get",
  461. "url": "v1/settings/homepage/list",
  462. "title": "Get Homepage Settings",
  463. "version": "1.0.0",
  464. "name": "GetHomepageSettigns",
  465. "group": "Homepage",
  466. "success": {
  467. "fields": {
  468. "Success 200": [
  469. {
  470. "group": "Success 200",
  471. "type": "String",
  472. "optional": false,
  473. "field": "data",
  474. "description": "<p>Output of all Homepage Settings.</p>"
  475. }
  476. ]
  477. },
  478. "examples": [
  479. {
  480. "title": "Success-Response:",
  481. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": [{\n \"name\": \"HealthChecks\",\n \"enabled\": true,\n \"image\": \"plugins\\/images\\/tabs\\/healthchecks.png\",\n \"category\": \"Monitor\",\n \"settings\": {\n \"Enable\": [\n {\n \"type\": \"switch\",\n \"name\": \"homepageHealthChecksEnabled\",\n \"label\": \"Enable\",\n \"value\": true\n }, {\n \"type\": \"select\",\n \"name\": \"homepageHealthChecksAuth\",\n \"label\": \"Minimum Authentication\",\n \"value\": \"1\",\n \"options\": [\n {\n \"name\": \"Admin\",\n \"value\": 0\n }, {\n \"name\": \"Co-Admin\",\n \"value\": 1\n }, {\n \"name\": \"Super User\",\n \"value\": 2\n }, {\n \"name\": \"Power User\",\n \"value\": 3\n }, {\n \"name\": \"User\",\n \"value\": 4\n }, {\n \"name\": \"temp again\",\n \"value\": 5\n }, {\n \"name\": \"GuestAccts\",\n \"value\": 999\n }\n ]\n }\n ],\n \"Connection\": [\n {\n \"type\": \"input\",\n \"name\": \"healthChecksURL\",\n \"label\": \"URL\",\n \"value\": \"https://healthchecks.io/api/v1/checks/\",\n \"help\": \"URL for HealthChecks API\",\n \"placeholder\": \"HealthChecks API URL\"\n }, {\n \"type\": \"password-alt\",\n \"name\": \"healthChecksToken\",\n \"label\": \"Token\",\n \"value\": \"TOKENHERE\"\n }\n ],\n \"Misc Options\": [\n {\n \"type\": \"input\",\n \"name\": \"healthChecksTags\",\n \"label\": \"Tags\",\n \"value\": \"\",\n \"help\": \"Pull only checks with this tag - Blank for all\",\n \"placeholder\": \"Multiple tags using CSV - tag1,tag2\"\n }, {\n \"type\": \"select\",\n \"name\": \"homepageHealthChecksRefresh\",\n \"label\": \"Refresh Seconds\",\n \"value\": \"3600000\",\n \"options\": [\n {\n \"name\": \"5\",\n \"value\": \"5000\"\n }, {\n \"name\": \"10\",\n \"value\": \"10000\"\n }, {\n \"name\": \"15\",\n \"value\": \"15000\"\n }, {\n \"name\": \"30\",\n \"value\": \"30000\"\n }, {\n \"name\": \"60 [1 Minute]\",\n \"value\": \"60000\"\n }, {\n \"name\": \"300 [5 Minutes]\",\n \"value\": \"300000\"\n }, {\n \"name\": \"600 [10 Minutes]\",\n \"value\": \"600000\"\n }, {\n \"name\": \"900 [15 Minutes]\",\n \"value\": \"900000\"\n }, {\n \"name\": \"1800 [30 Minutes]\",\n \"value\": \"1800000\"\n }, {\n \"name\": \"3600 [1 Hour]\",\n \"value\": \"3600000\"\n }\n ]\n }\n ]\n }]\n}",
  482. "type": "json"
  483. }
  484. ]
  485. },
  486. "filename": "./index.php",
  487. "groupTitle": "Homepage",
  488. "error": {
  489. "fields": {
  490. "Error 4xx": [
  491. {
  492. "group": "Error 4xx",
  493. "optional": false,
  494. "field": "UserNotAuthorized",
  495. "description": "<p>The user is not authorized or Token not valid</p>"
  496. }
  497. ]
  498. },
  499. "examples": [
  500. {
  501. "title": "Error-Response:",
  502. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  503. "type": "json"
  504. }
  505. ]
  506. }
  507. },
  508. {
  509. "type": "post",
  510. "url": "v1/homepage/connect",
  511. "title": "Homepage Item Connect",
  512. "version": "1.0.0",
  513. "name": "PostHomepageItemConnect",
  514. "group": "Homepage",
  515. "permission": [
  516. {
  517. "name": "admin",
  518. "title": "Admin or API Key Access Only",
  519. "description": "<p>Only the Admin/Co-Admin and API Key have access to this endpoint</p>"
  520. }
  521. ],
  522. "parameter": {
  523. "fields": {
  524. "Parameter": [
  525. {
  526. "group": "Parameter",
  527. "type": "Object",
  528. "optional": false,
  529. "field": "data",
  530. "description": "<p>payload object.</p>"
  531. },
  532. {
  533. "group": "Parameter",
  534. "type": "Object",
  535. "optional": false,
  536. "field": "data[action]",
  537. "description": "<p>Homepage Item i.e. getPlexStreams|getPlexRecent.</p>"
  538. }
  539. ]
  540. },
  541. "examples": [
  542. {
  543. "title": "Request-Example:",
  544. "content": " {\n \"data\": {\n \"action\": \"getPlexStreams\"\n }\n}",
  545. "type": "json"
  546. }
  547. ]
  548. },
  549. "filename": "./index.php",
  550. "groupTitle": "Homepage",
  551. "success": {
  552. "fields": {
  553. "Success 200": [
  554. {
  555. "group": "Success 200",
  556. "type": "JSON",
  557. "optional": false,
  558. "field": "data",
  559. "description": "<p>Output JSON.</p>"
  560. }
  561. ]
  562. },
  563. "examples": [
  564. {
  565. "title": "Success-Response:",
  566. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": { **JSON** }\n}",
  567. "type": "json"
  568. }
  569. ]
  570. },
  571. "error": {
  572. "fields": {
  573. "Error 4xx": [
  574. {
  575. "group": "Error 4xx",
  576. "optional": false,
  577. "field": "UserNotAuthorized",
  578. "description": "<p>The user is not authorized or Token not valid</p>"
  579. }
  580. ]
  581. },
  582. "examples": [
  583. {
  584. "title": "Error-Response:",
  585. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  586. "type": "json"
  587. }
  588. ]
  589. }
  590. },
  591. {
  592. "type": "get",
  593. "url": "v1/settings/customize/appearance",
  594. "title": "Get Customize Appearance",
  595. "version": "1.0.0",
  596. "name": "GetCustomizePage",
  597. "group": "Pages",
  598. "filename": "./index.php",
  599. "groupTitle": "Pages",
  600. "success": {
  601. "fields": {
  602. "Success 200": [
  603. {
  604. "group": "Success 200",
  605. "type": "String",
  606. "optional": false,
  607. "field": "data",
  608. "description": "<p>Output of Page.</p>"
  609. }
  610. ]
  611. },
  612. "examples": [
  613. {
  614. "title": "Success-Response:",
  615. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  616. "type": "json"
  617. }
  618. ]
  619. },
  620. "error": {
  621. "fields": {
  622. "Error 4xx": [
  623. {
  624. "group": "Error 4xx",
  625. "optional": false,
  626. "field": "UserNotAuthorized",
  627. "description": "<p>The user is not authorized or Token not valid</p>"
  628. }
  629. ]
  630. },
  631. "examples": [
  632. {
  633. "title": "Error-Response:",
  634. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  635. "type": "json"
  636. }
  637. ]
  638. }
  639. },
  640. {
  641. "type": "get",
  642. "url": "v1/homepage/page",
  643. "title": "Get Homepage",
  644. "version": "1.0.0",
  645. "name": "GetHomepagePage",
  646. "group": "Pages",
  647. "filename": "./index.php",
  648. "groupTitle": "Pages",
  649. "success": {
  650. "fields": {
  651. "Success 200": [
  652. {
  653. "group": "Success 200",
  654. "type": "String",
  655. "optional": false,
  656. "field": "data",
  657. "description": "<p>Output of Page.</p>"
  658. }
  659. ]
  660. },
  661. "examples": [
  662. {
  663. "title": "Success-Response:",
  664. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  665. "type": "json"
  666. }
  667. ]
  668. },
  669. "error": {
  670. "fields": {
  671. "Error 4xx": [
  672. {
  673. "group": "Error 4xx",
  674. "optional": false,
  675. "field": "UserNotAuthorized",
  676. "description": "<p>The user is not authorized or Token not valid</p>"
  677. }
  678. ]
  679. },
  680. "examples": [
  681. {
  682. "title": "Error-Response:",
  683. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  684. "type": "json"
  685. }
  686. ]
  687. }
  688. },
  689. {
  690. "type": "get",
  691. "url": "v1/settings/settings/logs",
  692. "title": "Get Logs",
  693. "version": "1.0.0",
  694. "name": "GetLogsPage",
  695. "group": "Pages",
  696. "filename": "./index.php",
  697. "groupTitle": "Pages",
  698. "success": {
  699. "fields": {
  700. "Success 200": [
  701. {
  702. "group": "Success 200",
  703. "type": "String",
  704. "optional": false,
  705. "field": "data",
  706. "description": "<p>Output of Page.</p>"
  707. }
  708. ]
  709. },
  710. "examples": [
  711. {
  712. "title": "Success-Response:",
  713. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  714. "type": "json"
  715. }
  716. ]
  717. },
  718. "error": {
  719. "fields": {
  720. "Error 4xx": [
  721. {
  722. "group": "Error 4xx",
  723. "optional": false,
  724. "field": "UserNotAuthorized",
  725. "description": "<p>The user is not authorized or Token not valid</p>"
  726. }
  727. ]
  728. },
  729. "examples": [
  730. {
  731. "title": "Error-Response:",
  732. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  733. "type": "json"
  734. }
  735. ]
  736. }
  737. },
  738. {
  739. "type": "get",
  740. "url": "v1/settings/user/manage/users",
  741. "title": "Get Manage Users",
  742. "version": "1.0.0",
  743. "name": "GetManageUsersPage",
  744. "group": "Pages",
  745. "filename": "./index.php",
  746. "groupTitle": "Pages",
  747. "success": {
  748. "fields": {
  749. "Success 200": [
  750. {
  751. "group": "Success 200",
  752. "type": "String",
  753. "optional": false,
  754. "field": "data",
  755. "description": "<p>Output of Page.</p>"
  756. }
  757. ]
  758. },
  759. "examples": [
  760. {
  761. "title": "Success-Response:",
  762. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  763. "type": "json"
  764. }
  765. ]
  766. },
  767. "error": {
  768. "fields": {
  769. "Error 4xx": [
  770. {
  771. "group": "Error 4xx",
  772. "optional": false,
  773. "field": "UserNotAuthorized",
  774. "description": "<p>The user is not authorized or Token not valid</p>"
  775. }
  776. ]
  777. },
  778. "examples": [
  779. {
  780. "title": "Error-Response:",
  781. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  782. "type": "json"
  783. }
  784. ]
  785. }
  786. },
  787. {
  788. "type": "get",
  789. "url": "v1/settings/plugins",
  790. "title": "Get Plugins",
  791. "version": "1.0.0",
  792. "name": "GetPluginsPage",
  793. "group": "Pages",
  794. "filename": "./index.php",
  795. "groupTitle": "Pages",
  796. "success": {
  797. "fields": {
  798. "Success 200": [
  799. {
  800. "group": "Success 200",
  801. "type": "String",
  802. "optional": false,
  803. "field": "data",
  804. "description": "<p>Output of Page.</p>"
  805. }
  806. ]
  807. },
  808. "examples": [
  809. {
  810. "title": "Success-Response:",
  811. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  812. "type": "json"
  813. }
  814. ]
  815. },
  816. "error": {
  817. "fields": {
  818. "Error 4xx": [
  819. {
  820. "group": "Error 4xx",
  821. "optional": false,
  822. "field": "UserNotAuthorized",
  823. "description": "<p>The user is not authorized or Token not valid</p>"
  824. }
  825. ]
  826. },
  827. "examples": [
  828. {
  829. "title": "Error-Response:",
  830. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  831. "type": "json"
  832. }
  833. ]
  834. }
  835. },
  836. {
  837. "type": "get",
  838. "url": "v1/settings/settings/sso",
  839. "title": "Get SSO",
  840. "version": "1.0.0",
  841. "name": "GetSSOPage",
  842. "group": "Pages",
  843. "filename": "./index.php",
  844. "groupTitle": "Pages",
  845. "success": {
  846. "fields": {
  847. "Success 200": [
  848. {
  849. "group": "Success 200",
  850. "type": "String",
  851. "optional": false,
  852. "field": "data",
  853. "description": "<p>Output of Page.</p>"
  854. }
  855. ]
  856. },
  857. "examples": [
  858. {
  859. "title": "Success-Response:",
  860. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  861. "type": "json"
  862. }
  863. ]
  864. },
  865. "error": {
  866. "fields": {
  867. "Error 4xx": [
  868. {
  869. "group": "Error 4xx",
  870. "optional": false,
  871. "field": "UserNotAuthorized",
  872. "description": "<p>The user is not authorized or Token not valid</p>"
  873. }
  874. ]
  875. },
  876. "examples": [
  877. {
  878. "title": "Error-Response:",
  879. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  880. "type": "json"
  881. }
  882. ]
  883. }
  884. },
  885. {
  886. "type": "get",
  887. "url": "v1/settings/settings/main",
  888. "title": "Get Settings Main",
  889. "version": "1.0.0",
  890. "name": "GetSettingsMainPage",
  891. "group": "Pages",
  892. "filename": "./index.php",
  893. "groupTitle": "Pages",
  894. "success": {
  895. "fields": {
  896. "Success 200": [
  897. {
  898. "group": "Success 200",
  899. "type": "String",
  900. "optional": false,
  901. "field": "data",
  902. "description": "<p>Output of Page.</p>"
  903. }
  904. ]
  905. },
  906. "examples": [
  907. {
  908. "title": "Success-Response:",
  909. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  910. "type": "json"
  911. }
  912. ]
  913. },
  914. "error": {
  915. "fields": {
  916. "Error 4xx": [
  917. {
  918. "group": "Error 4xx",
  919. "optional": false,
  920. "field": "UserNotAuthorized",
  921. "description": "<p>The user is not authorized or Token not valid</p>"
  922. }
  923. ]
  924. },
  925. "examples": [
  926. {
  927. "title": "Error-Response:",
  928. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  929. "type": "json"
  930. }
  931. ]
  932. }
  933. },
  934. {
  935. "type": "get",
  936. "url": "v1/settings/page",
  937. "title": "Get Admin Settings",
  938. "version": "1.0.0",
  939. "name": "GetSettingsPage",
  940. "group": "Pages",
  941. "filename": "./index.php",
  942. "groupTitle": "Pages",
  943. "success": {
  944. "fields": {
  945. "Success 200": [
  946. {
  947. "group": "Success 200",
  948. "type": "Boolean",
  949. "optional": false,
  950. "field": "data",
  951. "description": "<p>Output Boolean.</p>"
  952. }
  953. ]
  954. },
  955. "examples": [
  956. {
  957. "title": "Success-Response:",
  958. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  959. "type": "json"
  960. }
  961. ]
  962. },
  963. "error": {
  964. "fields": {
  965. "Error 4xx": [
  966. {
  967. "group": "Error 4xx",
  968. "optional": false,
  969. "field": "UserNotAuthorized",
  970. "description": "<p>The user is not authorized or Token not valid</p>"
  971. }
  972. ]
  973. },
  974. "examples": [
  975. {
  976. "title": "Error-Response:",
  977. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  978. "type": "json"
  979. }
  980. ]
  981. }
  982. },
  983. {
  984. "type": "get",
  985. "url": "v1/settings/tab/editor/homepage",
  986. "title": "Get Homepage Order",
  987. "version": "1.0.0",
  988. "name": "GetSettingsTabEditorHomepageOrderPage",
  989. "group": "Pages",
  990. "filename": "./index.php",
  991. "groupTitle": "Pages",
  992. "success": {
  993. "fields": {
  994. "Success 200": [
  995. {
  996. "group": "Success 200",
  997. "type": "String",
  998. "optional": false,
  999. "field": "data",
  1000. "description": "<p>Output of Page.</p>"
  1001. }
  1002. ]
  1003. },
  1004. "examples": [
  1005. {
  1006. "title": "Success-Response:",
  1007. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  1008. "type": "json"
  1009. }
  1010. ]
  1011. },
  1012. "error": {
  1013. "fields": {
  1014. "Error 4xx": [
  1015. {
  1016. "group": "Error 4xx",
  1017. "optional": false,
  1018. "field": "UserNotAuthorized",
  1019. "description": "<p>The user is not authorized or Token not valid</p>"
  1020. }
  1021. ]
  1022. },
  1023. "examples": [
  1024. {
  1025. "title": "Error-Response:",
  1026. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1027. "type": "json"
  1028. }
  1029. ]
  1030. }
  1031. },
  1032. {
  1033. "type": "get",
  1034. "url": "v1/settings/tab/editor/homepage",
  1035. "title": "Get Homepage Settings",
  1036. "version": "1.0.0",
  1037. "name": "GetSettingsTabEditorHomepagePage",
  1038. "group": "Pages",
  1039. "filename": "./index.php",
  1040. "groupTitle": "Pages",
  1041. "success": {
  1042. "fields": {
  1043. "Success 200": [
  1044. {
  1045. "group": "Success 200",
  1046. "type": "String",
  1047. "optional": false,
  1048. "field": "data",
  1049. "description": "<p>Output of Page.</p>"
  1050. }
  1051. ]
  1052. },
  1053. "examples": [
  1054. {
  1055. "title": "Success-Response:",
  1056. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  1057. "type": "json"
  1058. }
  1059. ]
  1060. },
  1061. "error": {
  1062. "fields": {
  1063. "Error 4xx": [
  1064. {
  1065. "group": "Error 4xx",
  1066. "optional": false,
  1067. "field": "UserNotAuthorized",
  1068. "description": "<p>The user is not authorized or Token not valid</p>"
  1069. }
  1070. ]
  1071. },
  1072. "examples": [
  1073. {
  1074. "title": "Error-Response:",
  1075. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1076. "type": "json"
  1077. }
  1078. ]
  1079. }
  1080. },
  1081. {
  1082. "type": "get",
  1083. "url": "v1/settings/tab/editor/categories",
  1084. "title": "Get Tab Editor Categories",
  1085. "version": "1.0.0",
  1086. "name": "GetTabEditorCategoriesPage",
  1087. "group": "Pages",
  1088. "filename": "./index.php",
  1089. "groupTitle": "Pages",
  1090. "success": {
  1091. "fields": {
  1092. "Success 200": [
  1093. {
  1094. "group": "Success 200",
  1095. "type": "String",
  1096. "optional": false,
  1097. "field": "data",
  1098. "description": "<p>Output of Page.</p>"
  1099. }
  1100. ]
  1101. },
  1102. "examples": [
  1103. {
  1104. "title": "Success-Response:",
  1105. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  1106. "type": "json"
  1107. }
  1108. ]
  1109. },
  1110. "error": {
  1111. "fields": {
  1112. "Error 4xx": [
  1113. {
  1114. "group": "Error 4xx",
  1115. "optional": false,
  1116. "field": "UserNotAuthorized",
  1117. "description": "<p>The user is not authorized or Token not valid</p>"
  1118. }
  1119. ]
  1120. },
  1121. "examples": [
  1122. {
  1123. "title": "Error-Response:",
  1124. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1125. "type": "json"
  1126. }
  1127. ]
  1128. }
  1129. },
  1130. {
  1131. "type": "get",
  1132. "url": "v1/settings/tab/editor/tabs",
  1133. "title": "Get Tab Editor Tabs",
  1134. "version": "1.0.0",
  1135. "name": "GetTabEditorTabsPage",
  1136. "group": "Pages",
  1137. "filename": "./index.php",
  1138. "groupTitle": "Pages",
  1139. "success": {
  1140. "fields": {
  1141. "Success 200": [
  1142. {
  1143. "group": "Success 200",
  1144. "type": "String",
  1145. "optional": false,
  1146. "field": "data",
  1147. "description": "<p>Output of Page.</p>"
  1148. }
  1149. ]
  1150. },
  1151. "examples": [
  1152. {
  1153. "title": "Success-Response:",
  1154. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": \"<html>html encoded elements</html>\"\n}",
  1155. "type": "json"
  1156. }
  1157. ]
  1158. },
  1159. "error": {
  1160. "fields": {
  1161. "Error 4xx": [
  1162. {
  1163. "group": "Error 4xx",
  1164. "optional": false,
  1165. "field": "UserNotAuthorized",
  1166. "description": "<p>The user is not authorized or Token not valid</p>"
  1167. }
  1168. ]
  1169. },
  1170. "examples": [
  1171. {
  1172. "title": "Error-Response:",
  1173. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1174. "type": "json"
  1175. }
  1176. ]
  1177. }
  1178. },
  1179. {
  1180. "type": "post",
  1181. "url": "v1/ping/list",
  1182. "title": "Homepage Item Connect",
  1183. "version": "1.0.0",
  1184. "name": "PostPingList",
  1185. "group": "Ping",
  1186. "parameter": {
  1187. "fields": {
  1188. "Parameter": [
  1189. {
  1190. "group": "Parameter",
  1191. "type": "Object",
  1192. "optional": false,
  1193. "field": "data",
  1194. "description": "<p>payload object.</p>"
  1195. },
  1196. {
  1197. "group": "Parameter",
  1198. "type": "Object[]",
  1199. "optional": false,
  1200. "field": "data[pingList]",
  1201. "description": "<p>List of ip/hostname and ports [Optional String of hostname:port]</p>"
  1202. }
  1203. ]
  1204. },
  1205. "examples": [
  1206. {
  1207. "title": "Object",
  1208. "content": " {\n \"data\": {\n \"pingList\": [\"docker.home.lab:3579\", \"docker.home.lab:8181\"]\n }\n}",
  1209. "type": "json"
  1210. },
  1211. {
  1212. "title": "String",
  1213. "content": " {\n \"data\": {\n \"pingList\": [\"docker.home.lab:3579\", \"docker.home.lab:8181\"]\n }\n}",
  1214. "type": "json"
  1215. }
  1216. ]
  1217. },
  1218. "success": {
  1219. "fields": {
  1220. "Success 200": [
  1221. {
  1222. "group": "Success 200",
  1223. "type": "String",
  1224. "optional": false,
  1225. "field": "data",
  1226. "description": "<p>Output ping results and response times.</p>"
  1227. }
  1228. ]
  1229. },
  1230. "examples": [
  1231. {
  1232. "title": "Success-Response:",
  1233. "content": " HTTP/1.1 200 OK\n {\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\":{\n \"docker.home.lab:3579\":10.77,\n \"docker.home.lab:8181\":0.66\n }\n}",
  1234. "type": "json"
  1235. }
  1236. ]
  1237. },
  1238. "filename": "./index.php",
  1239. "groupTitle": "Ping",
  1240. "error": {
  1241. "fields": {
  1242. "Error 4xx": [
  1243. {
  1244. "group": "Error 4xx",
  1245. "optional": false,
  1246. "field": "UserNotAuthorized",
  1247. "description": "<p>The user is not authorized or Token not valid</p>"
  1248. }
  1249. ]
  1250. },
  1251. "examples": [
  1252. {
  1253. "title": "Error-Response:",
  1254. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1255. "type": "json"
  1256. }
  1257. ]
  1258. }
  1259. },
  1260. {
  1261. "type": "get",
  1262. "url": "v1/settings/plugins/list",
  1263. "title": "Get List of Plugins",
  1264. "version": "1.0.0",
  1265. "name": "GetPlugins",
  1266. "group": "Plugins",
  1267. "success": {
  1268. "fields": {
  1269. "Success 200": [
  1270. {
  1271. "group": "Success 200",
  1272. "type": "String",
  1273. "optional": false,
  1274. "field": "data",
  1275. "description": "<p>Output plugins list.</p>"
  1276. }
  1277. ]
  1278. },
  1279. "examples": [
  1280. {
  1281. "title": "Success-Response:",
  1282. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": {\n \"chat\": {\n \"name\": \"Chat\",\n \"author\": \"CauseFX\",\n \"category\": \"Utilities\",\n \"link\": \"\",\n \"license\": \"personal,business\",\n \"idPrefix\": \"CHAT\",\n \"configPrefix\": \"CHAT\",\n \"version\": \"1.0.0\",\n \"image\": \"plugins/images/chat.png\",\n \"settings\": true,\n \"homepage\": false,\n \"enabled\": true\n }\n }\n}",
  1283. "type": "json"
  1284. }
  1285. ]
  1286. },
  1287. "filename": "./index.php",
  1288. "groupTitle": "Plugins",
  1289. "error": {
  1290. "fields": {
  1291. "Error 4xx": [
  1292. {
  1293. "group": "Error 4xx",
  1294. "optional": false,
  1295. "field": "UserNotAuthorized",
  1296. "description": "<p>The user is not authorized or Token not valid</p>"
  1297. }
  1298. ]
  1299. },
  1300. "examples": [
  1301. {
  1302. "title": "Error-Response:",
  1303. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1304. "type": "json"
  1305. }
  1306. ]
  1307. }
  1308. },
  1309. {
  1310. "type": "post",
  1311. "url": "v1/settings/plugins/list",
  1312. "title": "Toggle Plugin",
  1313. "version": "1.0.0",
  1314. "name": "TogglePlugin",
  1315. "group": "Plugins",
  1316. "parameter": {
  1317. "fields": {
  1318. "Parameter": [
  1319. {
  1320. "group": "Parameter",
  1321. "type": "Object",
  1322. "optional": false,
  1323. "field": "data",
  1324. "description": "<p>nested data object.</p>"
  1325. },
  1326. {
  1327. "group": "Parameter",
  1328. "type": "String",
  1329. "optional": false,
  1330. "field": "data[action]",
  1331. "description": "<p>enable/disable.</p>"
  1332. },
  1333. {
  1334. "group": "Parameter",
  1335. "type": "String",
  1336. "optional": false,
  1337. "field": "data[name]",
  1338. "description": "<p>Name of Plugin.</p>"
  1339. },
  1340. {
  1341. "group": "Parameter",
  1342. "type": "String",
  1343. "optional": false,
  1344. "field": "data[configName]",
  1345. "description": "<p>configName i.e. CHAT-enabled.</p>"
  1346. }
  1347. ]
  1348. }
  1349. },
  1350. "filename": "./index.php",
  1351. "groupTitle": "Plugins",
  1352. "success": {
  1353. "fields": {
  1354. "Success 200": [
  1355. {
  1356. "group": "Success 200",
  1357. "type": "Boolean",
  1358. "optional": false,
  1359. "field": "data",
  1360. "description": "<p>Output Boolean.</p>"
  1361. }
  1362. ]
  1363. },
  1364. "examples": [
  1365. {
  1366. "title": "Success-Response:",
  1367. "content": "HTTP/1.1 200 OK\n{\n \"status\": \"success\",\n \"statusText\": \"success\",\n \"data\": true\n}",
  1368. "type": "json"
  1369. }
  1370. ]
  1371. },
  1372. "error": {
  1373. "fields": {
  1374. "Error 4xx": [
  1375. {
  1376. "group": "Error 4xx",
  1377. "optional": false,
  1378. "field": "UserNotAuthorized",
  1379. "description": "<p>The user is not authorized or Token not valid</p>"
  1380. }
  1381. ]
  1382. },
  1383. "examples": [
  1384. {
  1385. "title": "Error-Response:",
  1386. "content": "HTTP/1.1 401 Not Authorized\n{\n \"status\": \"error\",\n \"statusText\": \"API/Token invalid or not set\",\n \"data\": null\n}",
  1387. "type": "json"
  1388. }
  1389. ]
  1390. }
  1391. }
  1392. ] });