openapi-ex_app.json 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074
  1. {
  2. "openapi": "3.0.3",
  3. "info": {
  4. "title": "core-ex_app",
  5. "version": "0.0.1",
  6. "description": "Core functionality of Nextcloud",
  7. "license": {
  8. "name": "agpl"
  9. }
  10. },
  11. "components": {
  12. "securitySchemes": {
  13. "basic_auth": {
  14. "type": "http",
  15. "scheme": "basic"
  16. },
  17. "bearer_auth": {
  18. "type": "http",
  19. "scheme": "bearer"
  20. }
  21. },
  22. "schemas": {
  23. "Capabilities": {
  24. "type": "object",
  25. "required": [
  26. "core"
  27. ],
  28. "properties": {
  29. "core": {
  30. "type": "object",
  31. "required": [
  32. "pollinterval",
  33. "webdav-root",
  34. "reference-api",
  35. "reference-regex",
  36. "mod-rewrite-working"
  37. ],
  38. "properties": {
  39. "pollinterval": {
  40. "type": "integer",
  41. "format": "int64"
  42. },
  43. "webdav-root": {
  44. "type": "string"
  45. },
  46. "reference-api": {
  47. "type": "boolean"
  48. },
  49. "reference-regex": {
  50. "type": "string"
  51. },
  52. "mod-rewrite-working": {
  53. "type": "boolean"
  54. }
  55. }
  56. }
  57. }
  58. },
  59. "OCSMeta": {
  60. "type": "object",
  61. "required": [
  62. "status",
  63. "statuscode"
  64. ],
  65. "properties": {
  66. "status": {
  67. "type": "string"
  68. },
  69. "statuscode": {
  70. "type": "integer"
  71. },
  72. "message": {
  73. "type": "string"
  74. },
  75. "totalitems": {
  76. "type": "string"
  77. },
  78. "itemsperpage": {
  79. "type": "string"
  80. }
  81. }
  82. },
  83. "PublicCapabilities": {
  84. "type": "object",
  85. "required": [
  86. "bruteforce"
  87. ],
  88. "properties": {
  89. "bruteforce": {
  90. "type": "object",
  91. "required": [
  92. "delay",
  93. "allow-listed"
  94. ],
  95. "properties": {
  96. "delay": {
  97. "type": "integer",
  98. "format": "int64"
  99. },
  100. "allow-listed": {
  101. "type": "boolean"
  102. }
  103. }
  104. }
  105. }
  106. },
  107. "TaskProcessingIO": {
  108. "type": "object",
  109. "additionalProperties": {
  110. "anyOf": [
  111. {
  112. "type": "number"
  113. },
  114. {
  115. "type": "array",
  116. "items": {
  117. "type": "number"
  118. }
  119. },
  120. {
  121. "type": "string"
  122. },
  123. {
  124. "type": "array",
  125. "items": {
  126. "type": "string"
  127. }
  128. }
  129. ]
  130. }
  131. },
  132. "TaskProcessingTask": {
  133. "type": "object",
  134. "required": [
  135. "id",
  136. "lastUpdated",
  137. "type",
  138. "status",
  139. "userId",
  140. "appId",
  141. "input",
  142. "output",
  143. "customId",
  144. "completionExpectedAt",
  145. "progress",
  146. "scheduledAt",
  147. "startedAt",
  148. "endedAt"
  149. ],
  150. "properties": {
  151. "id": {
  152. "type": "integer",
  153. "format": "int64"
  154. },
  155. "lastUpdated": {
  156. "type": "integer",
  157. "format": "int64"
  158. },
  159. "type": {
  160. "type": "string"
  161. },
  162. "status": {
  163. "type": "string",
  164. "enum": [
  165. "STATUS_CANCELLED",
  166. "STATUS_FAILED",
  167. "STATUS_SUCCESSFUL",
  168. "STATUS_RUNNING",
  169. "STATUS_SCHEDULED",
  170. "STATUS_UNKNOWN"
  171. ]
  172. },
  173. "userId": {
  174. "type": "string",
  175. "nullable": true
  176. },
  177. "appId": {
  178. "type": "string"
  179. },
  180. "input": {
  181. "$ref": "#/components/schemas/TaskProcessingIO"
  182. },
  183. "output": {
  184. "$ref": "#/components/schemas/TaskProcessingIO",
  185. "nullable": true
  186. },
  187. "customId": {
  188. "type": "string",
  189. "nullable": true
  190. },
  191. "completionExpectedAt": {
  192. "type": "integer",
  193. "format": "int64",
  194. "nullable": true
  195. },
  196. "progress": {
  197. "type": "number",
  198. "format": "double",
  199. "nullable": true
  200. },
  201. "scheduledAt": {
  202. "type": "integer",
  203. "format": "int64",
  204. "nullable": true
  205. },
  206. "startedAt": {
  207. "type": "integer",
  208. "format": "int64",
  209. "nullable": true
  210. },
  211. "endedAt": {
  212. "type": "integer",
  213. "format": "int64",
  214. "nullable": true
  215. }
  216. }
  217. }
  218. }
  219. },
  220. "paths": {
  221. "/ocs/v2.php/taskprocessing/tasks_provider/{taskId}/file/{fileId}": {
  222. "get": {
  223. "operationId": "task_processing_api-get-file-contents-ex-app",
  224. "summary": "Returns the contents of a file referenced in a task(ExApp route version)",
  225. "description": "This endpoint requires admin access",
  226. "tags": [
  227. "task_processing_api"
  228. ],
  229. "security": [
  230. {
  231. "bearer_auth": []
  232. },
  233. {
  234. "basic_auth": []
  235. }
  236. ],
  237. "parameters": [
  238. {
  239. "name": "taskId",
  240. "in": "path",
  241. "description": "The id of the task",
  242. "required": true,
  243. "schema": {
  244. "type": "integer",
  245. "format": "int64"
  246. }
  247. },
  248. {
  249. "name": "fileId",
  250. "in": "path",
  251. "description": "The file id of the file to retrieve",
  252. "required": true,
  253. "schema": {
  254. "type": "integer",
  255. "format": "int64"
  256. }
  257. },
  258. {
  259. "name": "OCS-APIRequest",
  260. "in": "header",
  261. "description": "Required to be true for the API request to pass",
  262. "required": true,
  263. "schema": {
  264. "type": "boolean",
  265. "default": true
  266. }
  267. }
  268. ],
  269. "responses": {
  270. "200": {
  271. "description": "File content returned",
  272. "content": {
  273. "*/*": {
  274. "schema": {
  275. "type": "string",
  276. "format": "binary"
  277. }
  278. }
  279. }
  280. },
  281. "500": {
  282. "description": "",
  283. "content": {
  284. "application/json": {
  285. "schema": {
  286. "type": "object",
  287. "required": [
  288. "ocs"
  289. ],
  290. "properties": {
  291. "ocs": {
  292. "type": "object",
  293. "required": [
  294. "meta",
  295. "data"
  296. ],
  297. "properties": {
  298. "meta": {
  299. "$ref": "#/components/schemas/OCSMeta"
  300. },
  301. "data": {
  302. "type": "object",
  303. "required": [
  304. "message"
  305. ],
  306. "properties": {
  307. "message": {
  308. "type": "string"
  309. }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. }
  316. }
  317. }
  318. },
  319. "404": {
  320. "description": "Task or file not found",
  321. "content": {
  322. "application/json": {
  323. "schema": {
  324. "type": "object",
  325. "required": [
  326. "ocs"
  327. ],
  328. "properties": {
  329. "ocs": {
  330. "type": "object",
  331. "required": [
  332. "meta",
  333. "data"
  334. ],
  335. "properties": {
  336. "meta": {
  337. "$ref": "#/components/schemas/OCSMeta"
  338. },
  339. "data": {
  340. "type": "object",
  341. "required": [
  342. "message"
  343. ],
  344. "properties": {
  345. "message": {
  346. "type": "string"
  347. }
  348. }
  349. }
  350. }
  351. }
  352. }
  353. }
  354. }
  355. }
  356. }
  357. }
  358. }
  359. },
  360. "/ocs/v2.php/taskprocessing/tasks_provider/{taskId}/file": {
  361. "post": {
  362. "operationId": "task_processing_api-set-file-contents-ex-app",
  363. "summary": "Upload a file so it can be referenced in a task result (ExApp route version)",
  364. "description": "Use field 'file' for the file upload\nThis endpoint requires admin access",
  365. "tags": [
  366. "task_processing_api"
  367. ],
  368. "security": [
  369. {
  370. "bearer_auth": []
  371. },
  372. {
  373. "basic_auth": []
  374. }
  375. ],
  376. "parameters": [
  377. {
  378. "name": "taskId",
  379. "in": "path",
  380. "description": "The id of the task",
  381. "required": true,
  382. "schema": {
  383. "type": "integer",
  384. "format": "int64"
  385. }
  386. },
  387. {
  388. "name": "OCS-APIRequest",
  389. "in": "header",
  390. "description": "Required to be true for the API request to pass",
  391. "required": true,
  392. "schema": {
  393. "type": "boolean",
  394. "default": true
  395. }
  396. }
  397. ],
  398. "responses": {
  399. "201": {
  400. "description": "File created",
  401. "content": {
  402. "application/json": {
  403. "schema": {
  404. "type": "object",
  405. "required": [
  406. "ocs"
  407. ],
  408. "properties": {
  409. "ocs": {
  410. "type": "object",
  411. "required": [
  412. "meta",
  413. "data"
  414. ],
  415. "properties": {
  416. "meta": {
  417. "$ref": "#/components/schemas/OCSMeta"
  418. },
  419. "data": {
  420. "type": "object",
  421. "required": [
  422. "fileId"
  423. ],
  424. "properties": {
  425. "fileId": {
  426. "type": "integer",
  427. "format": "int64"
  428. }
  429. }
  430. }
  431. }
  432. }
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "400": {
  439. "description": "File upload failed or no file was uploaded",
  440. "content": {
  441. "application/json": {
  442. "schema": {
  443. "type": "object",
  444. "required": [
  445. "ocs"
  446. ],
  447. "properties": {
  448. "ocs": {
  449. "type": "object",
  450. "required": [
  451. "meta",
  452. "data"
  453. ],
  454. "properties": {
  455. "meta": {
  456. "$ref": "#/components/schemas/OCSMeta"
  457. },
  458. "data": {
  459. "type": "object",
  460. "required": [
  461. "message"
  462. ],
  463. "properties": {
  464. "message": {
  465. "type": "string"
  466. }
  467. }
  468. }
  469. }
  470. }
  471. }
  472. }
  473. }
  474. }
  475. },
  476. "500": {
  477. "description": "",
  478. "content": {
  479. "application/json": {
  480. "schema": {
  481. "type": "object",
  482. "required": [
  483. "ocs"
  484. ],
  485. "properties": {
  486. "ocs": {
  487. "type": "object",
  488. "required": [
  489. "meta",
  490. "data"
  491. ],
  492. "properties": {
  493. "meta": {
  494. "$ref": "#/components/schemas/OCSMeta"
  495. },
  496. "data": {
  497. "type": "object",
  498. "required": [
  499. "message"
  500. ],
  501. "properties": {
  502. "message": {
  503. "type": "string"
  504. }
  505. }
  506. }
  507. }
  508. }
  509. }
  510. }
  511. }
  512. }
  513. },
  514. "404": {
  515. "description": "Task not found",
  516. "content": {
  517. "application/json": {
  518. "schema": {
  519. "type": "object",
  520. "required": [
  521. "ocs"
  522. ],
  523. "properties": {
  524. "ocs": {
  525. "type": "object",
  526. "required": [
  527. "meta",
  528. "data"
  529. ],
  530. "properties": {
  531. "meta": {
  532. "$ref": "#/components/schemas/OCSMeta"
  533. },
  534. "data": {
  535. "type": "object",
  536. "required": [
  537. "message"
  538. ],
  539. "properties": {
  540. "message": {
  541. "type": "string"
  542. }
  543. }
  544. }
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }
  551. }
  552. }
  553. }
  554. },
  555. "/ocs/v2.php/taskprocessing/tasks_provider/{taskId}/progress": {
  556. "post": {
  557. "operationId": "task_processing_api-set-progress",
  558. "summary": "Sets the task progress",
  559. "description": "This endpoint requires admin access",
  560. "tags": [
  561. "task_processing_api"
  562. ],
  563. "security": [
  564. {
  565. "bearer_auth": []
  566. },
  567. {
  568. "basic_auth": []
  569. }
  570. ],
  571. "requestBody": {
  572. "required": true,
  573. "content": {
  574. "application/json": {
  575. "schema": {
  576. "type": "object",
  577. "required": [
  578. "progress"
  579. ],
  580. "properties": {
  581. "progress": {
  582. "type": "number",
  583. "format": "double",
  584. "description": "The progress"
  585. }
  586. }
  587. }
  588. }
  589. }
  590. },
  591. "parameters": [
  592. {
  593. "name": "taskId",
  594. "in": "path",
  595. "description": "The id of the task",
  596. "required": true,
  597. "schema": {
  598. "type": "integer",
  599. "format": "int64"
  600. }
  601. },
  602. {
  603. "name": "OCS-APIRequest",
  604. "in": "header",
  605. "description": "Required to be true for the API request to pass",
  606. "required": true,
  607. "schema": {
  608. "type": "boolean",
  609. "default": true
  610. }
  611. }
  612. ],
  613. "responses": {
  614. "200": {
  615. "description": "Progress updated successfully",
  616. "content": {
  617. "application/json": {
  618. "schema": {
  619. "type": "object",
  620. "required": [
  621. "ocs"
  622. ],
  623. "properties": {
  624. "ocs": {
  625. "type": "object",
  626. "required": [
  627. "meta",
  628. "data"
  629. ],
  630. "properties": {
  631. "meta": {
  632. "$ref": "#/components/schemas/OCSMeta"
  633. },
  634. "data": {
  635. "type": "object",
  636. "required": [
  637. "task"
  638. ],
  639. "properties": {
  640. "task": {
  641. "$ref": "#/components/schemas/TaskProcessingTask"
  642. }
  643. }
  644. }
  645. }
  646. }
  647. }
  648. }
  649. }
  650. }
  651. },
  652. "500": {
  653. "description": "",
  654. "content": {
  655. "application/json": {
  656. "schema": {
  657. "type": "object",
  658. "required": [
  659. "ocs"
  660. ],
  661. "properties": {
  662. "ocs": {
  663. "type": "object",
  664. "required": [
  665. "meta",
  666. "data"
  667. ],
  668. "properties": {
  669. "meta": {
  670. "$ref": "#/components/schemas/OCSMeta"
  671. },
  672. "data": {
  673. "type": "object",
  674. "required": [
  675. "message"
  676. ],
  677. "properties": {
  678. "message": {
  679. "type": "string"
  680. }
  681. }
  682. }
  683. }
  684. }
  685. }
  686. }
  687. }
  688. }
  689. },
  690. "404": {
  691. "description": "Task not found",
  692. "content": {
  693. "application/json": {
  694. "schema": {
  695. "type": "object",
  696. "required": [
  697. "ocs"
  698. ],
  699. "properties": {
  700. "ocs": {
  701. "type": "object",
  702. "required": [
  703. "meta",
  704. "data"
  705. ],
  706. "properties": {
  707. "meta": {
  708. "$ref": "#/components/schemas/OCSMeta"
  709. },
  710. "data": {
  711. "type": "object",
  712. "required": [
  713. "message"
  714. ],
  715. "properties": {
  716. "message": {
  717. "type": "string"
  718. }
  719. }
  720. }
  721. }
  722. }
  723. }
  724. }
  725. }
  726. }
  727. }
  728. }
  729. }
  730. },
  731. "/ocs/v2.php/taskprocessing/tasks_provider/{taskId}/result": {
  732. "post": {
  733. "operationId": "task_processing_api-set-result",
  734. "summary": "Sets the task result",
  735. "description": "This endpoint requires admin access",
  736. "tags": [
  737. "task_processing_api"
  738. ],
  739. "security": [
  740. {
  741. "bearer_auth": []
  742. },
  743. {
  744. "basic_auth": []
  745. }
  746. ],
  747. "requestBody": {
  748. "required": false,
  749. "content": {
  750. "application/json": {
  751. "schema": {
  752. "type": "object",
  753. "properties": {
  754. "output": {
  755. "type": "object",
  756. "nullable": true,
  757. "description": "The resulting task output, files are represented by their IDs",
  758. "additionalProperties": {
  759. "type": "object"
  760. }
  761. },
  762. "errorMessage": {
  763. "type": "string",
  764. "nullable": true,
  765. "description": "An error message if the task failed"
  766. }
  767. }
  768. }
  769. }
  770. }
  771. },
  772. "parameters": [
  773. {
  774. "name": "taskId",
  775. "in": "path",
  776. "description": "The id of the task",
  777. "required": true,
  778. "schema": {
  779. "type": "integer",
  780. "format": "int64"
  781. }
  782. },
  783. {
  784. "name": "OCS-APIRequest",
  785. "in": "header",
  786. "description": "Required to be true for the API request to pass",
  787. "required": true,
  788. "schema": {
  789. "type": "boolean",
  790. "default": true
  791. }
  792. }
  793. ],
  794. "responses": {
  795. "200": {
  796. "description": "Result updated successfully",
  797. "content": {
  798. "application/json": {
  799. "schema": {
  800. "type": "object",
  801. "required": [
  802. "ocs"
  803. ],
  804. "properties": {
  805. "ocs": {
  806. "type": "object",
  807. "required": [
  808. "meta",
  809. "data"
  810. ],
  811. "properties": {
  812. "meta": {
  813. "$ref": "#/components/schemas/OCSMeta"
  814. },
  815. "data": {
  816. "type": "object",
  817. "required": [
  818. "task"
  819. ],
  820. "properties": {
  821. "task": {
  822. "$ref": "#/components/schemas/TaskProcessingTask"
  823. }
  824. }
  825. }
  826. }
  827. }
  828. }
  829. }
  830. }
  831. }
  832. },
  833. "500": {
  834. "description": "",
  835. "content": {
  836. "application/json": {
  837. "schema": {
  838. "type": "object",
  839. "required": [
  840. "ocs"
  841. ],
  842. "properties": {
  843. "ocs": {
  844. "type": "object",
  845. "required": [
  846. "meta",
  847. "data"
  848. ],
  849. "properties": {
  850. "meta": {
  851. "$ref": "#/components/schemas/OCSMeta"
  852. },
  853. "data": {
  854. "type": "object",
  855. "required": [
  856. "message"
  857. ],
  858. "properties": {
  859. "message": {
  860. "type": "string"
  861. }
  862. }
  863. }
  864. }
  865. }
  866. }
  867. }
  868. }
  869. }
  870. },
  871. "404": {
  872. "description": "Task not found",
  873. "content": {
  874. "application/json": {
  875. "schema": {
  876. "type": "object",
  877. "required": [
  878. "ocs"
  879. ],
  880. "properties": {
  881. "ocs": {
  882. "type": "object",
  883. "required": [
  884. "meta",
  885. "data"
  886. ],
  887. "properties": {
  888. "meta": {
  889. "$ref": "#/components/schemas/OCSMeta"
  890. },
  891. "data": {
  892. "type": "object",
  893. "required": [
  894. "message"
  895. ],
  896. "properties": {
  897. "message": {
  898. "type": "string"
  899. }
  900. }
  901. }
  902. }
  903. }
  904. }
  905. }
  906. }
  907. }
  908. }
  909. }
  910. }
  911. },
  912. "/ocs/v2.php/taskprocessing/tasks_provider/next": {
  913. "get": {
  914. "operationId": "task_processing_api-get-next-scheduled-task",
  915. "summary": "Returns the next scheduled task for the taskTypeId",
  916. "description": "This endpoint requires admin access",
  917. "tags": [
  918. "task_processing_api"
  919. ],
  920. "security": [
  921. {
  922. "bearer_auth": []
  923. },
  924. {
  925. "basic_auth": []
  926. }
  927. ],
  928. "parameters": [
  929. {
  930. "name": "providerIds[]",
  931. "in": "query",
  932. "description": "The ids of the providers",
  933. "required": true,
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "type": "string"
  938. }
  939. }
  940. },
  941. {
  942. "name": "taskTypeIds[]",
  943. "in": "query",
  944. "description": "The ids of the task types",
  945. "required": true,
  946. "schema": {
  947. "type": "array",
  948. "items": {
  949. "type": "string"
  950. }
  951. }
  952. },
  953. {
  954. "name": "OCS-APIRequest",
  955. "in": "header",
  956. "description": "Required to be true for the API request to pass",
  957. "required": true,
  958. "schema": {
  959. "type": "boolean",
  960. "default": true
  961. }
  962. }
  963. ],
  964. "responses": {
  965. "200": {
  966. "description": "Task returned",
  967. "content": {
  968. "application/json": {
  969. "schema": {
  970. "type": "object",
  971. "required": [
  972. "ocs"
  973. ],
  974. "properties": {
  975. "ocs": {
  976. "type": "object",
  977. "required": [
  978. "meta",
  979. "data"
  980. ],
  981. "properties": {
  982. "meta": {
  983. "$ref": "#/components/schemas/OCSMeta"
  984. },
  985. "data": {
  986. "type": "object",
  987. "required": [
  988. "task",
  989. "provider"
  990. ],
  991. "properties": {
  992. "task": {
  993. "$ref": "#/components/schemas/TaskProcessingTask"
  994. },
  995. "provider": {
  996. "type": "object",
  997. "required": [
  998. "name"
  999. ],
  1000. "properties": {
  1001. "name": {
  1002. "type": "string"
  1003. }
  1004. }
  1005. }
  1006. }
  1007. }
  1008. }
  1009. }
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "204": {
  1016. "description": "No task found"
  1017. },
  1018. "500": {
  1019. "description": "",
  1020. "content": {
  1021. "application/json": {
  1022. "schema": {
  1023. "type": "object",
  1024. "required": [
  1025. "ocs"
  1026. ],
  1027. "properties": {
  1028. "ocs": {
  1029. "type": "object",
  1030. "required": [
  1031. "meta",
  1032. "data"
  1033. ],
  1034. "properties": {
  1035. "meta": {
  1036. "$ref": "#/components/schemas/OCSMeta"
  1037. },
  1038. "data": {
  1039. "type": "object",
  1040. "required": [
  1041. "message"
  1042. ],
  1043. "properties": {
  1044. "message": {
  1045. "type": "string"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. }
  1051. }
  1052. }
  1053. }
  1054. }
  1055. }
  1056. }
  1057. }
  1058. }
  1059. },
  1060. "tags": [
  1061. {
  1062. "name": "avatar",
  1063. "description": "Class AvatarController"
  1064. },
  1065. {
  1066. "name": "guest_avatar",
  1067. "description": "This controller handles guest avatar requests."
  1068. },
  1069. {
  1070. "name": "ocm",
  1071. "description": "Controller about the endpoint /ocm-provider/"
  1072. }
  1073. ]
  1074. }