{ "openapi": "3.1.0", "info": { "title": "Core", "version": "26.0.0", "description": "Core functionality of Nextcloud", "license": { "name": "agpl", "identifier": "AGPL-3.0" } }, "paths": { "/core/lostpassword/email": { "post": { "operationId": "lost-email-TODO", "tags": [ "core" ], "parameters": [ { "name": "user", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/lostpassword/reset/form/{token}/{userId}": { "parameters": [ { "name": "token", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "lost-resetform-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/lostpassword/set/{token}/{userId}": { "parameters": [ { "name": "token", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "post": { "operationId": "lost-setpassword-TODO", "tags": [ "core" ], "parameters": [ { "name": "password", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "proceed", "in": "query", "required": true, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/u/{targetUserId}": { "parameters": [ { "name": "targetUserId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "profilepage-index-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/displaynames": { "post": { "operationId": "user-getdisplaynames-TODO", "tags": [ "core" ], "parameters": [ { "name": "users", "in": "query", "required": true, "schema": { "type": "array" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/{userId}/{size}/dark": { "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "size", "in": "path", "required": true, "schema": { "type": "integer" } } ], "get": { "operationId": "avatar-getavatardark-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/{userId}/{size}": { "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "size", "in": "path", "required": true, "schema": { "type": "integer" } } ], "get": { "operationId": "avatar-getavatar-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar": { "post": { "operationId": "avatar-postavatar-TODO", "tags": [ "core" ], "parameters": [ { "name": "path", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "delete": { "operationId": "avatar-deleteavatar-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/cropped": { "post": { "operationId": "avatar-postcroppedavatar-TODO", "tags": [ "core" ], "parameters": [ { "name": "crop", "in": "query", "required": false, "schema": { "type": "array" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/tmp": { "get": { "operationId": "avatar-gettmpavatar-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/guest/{guestName}/{size}/dark": { "parameters": [ { "name": "guestName", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "size", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "guestavatar-getavatardark-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/avatar/guest/{guestName}/{size}": { "parameters": [ { "name": "guestName", "in": "path", "description": "The guest name, e.g. \"Albert\"", "required": true, "schema": { "type": "string" } }, { "name": "size", "in": "path", "description": "The desired avatar size, e.g. 64 for 64x64px", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "guestavatar-getavatar-TODO", "tags": [ "core" ], "parameters": [ { "name": "darkTheme", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/csrftoken": { "get": { "operationId": "csrftoken-index-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login": { "get": { "operationId": "login-showloginform-TODO", "tags": [ "core" ], "parameters": [ { "name": "user", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "redirect_url", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "login-trylogin-TODO", "tags": [ "core" ], "parameters": [ { "name": "loginChain", "in": "query", "required": true, "schema": { "type": "TODO" } }, { "name": "user", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "password", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "redirect_url", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "timezone", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "timezone_offset", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/confirm": { "post": { "operationId": "login-confirmpassword-TODO", "tags": [ "core" ], "parameters": [ { "name": "password", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/logout": { "get": { "operationId": "login-logout-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/flow": { "get": { "operationId": "clientflowlogin-showauthpickerpage-TODO", "tags": [ "core" ], "parameters": [ { "name": "clientIdentifier", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "user", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "direct", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "clientflowlogin-generateapppassword-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "clientIdentifier", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/flow/grant": { "get": { "operationId": "clientflowlogin-grantpage-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "clientIdentifier", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "direct", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/flow/apptoken": { "post": { "operationId": "clientflowlogin-apptokenredirect-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "user", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "password", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2/poll": { "post": { "operationId": "clientflowloginv2-poll-TODO", "tags": [ "core" ], "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2/flow": { "get": { "operationId": "clientflowloginv2-showauthpickerpage-TODO", "tags": [ "core" ], "parameters": [ { "name": "user", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2/flow/{token}": { "parameters": [ { "name": "token", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "clientflowloginv2-landing-TODO", "tags": [ "core" ], "parameters": [ { "name": "user", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2/grant": { "get": { "operationId": "clientflowloginv2-grantpage-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "clientflowloginv2-generateapppassword-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2": { "post": { "operationId": "clientflowloginv2-init-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/v2/apptoken": { "post": { "operationId": "clientflowloginv2-apptokenredirect-TODO", "tags": [ "core" ], "parameters": [ { "name": "stateToken", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "user", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "password", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/selectchallenge": { "get": { "operationId": "twofactorchallenge-selectchallenge-TODO", "tags": [ "core" ], "parameters": [ { "name": "redirect_url", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/challenge/{challengeProviderId}": { "parameters": [ { "name": "challengeProviderId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "twofactorchallenge-showchallenge-TODO", "tags": [ "core" ], "parameters": [ { "name": "redirect_url", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "twofactorchallenge-solvechallenge-TODO", "tags": [ "core" ], "parameters": [ { "name": "challenge", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "redirect_url", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/setupchallenge": { "get": { "operationId": "twofactorchallenge-setupproviders-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/setupchallenge/{providerId}": { "parameters": [ { "name": "providerId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "twofactorchallenge-setupprovider-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "twofactorchallenge-confirmprovidersetup-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/js/oc.js": { "get": { "operationId": "ocjs-getconfig-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/preview": { "get": { "operationId": "preview-getpreviewbyfileid-TODO", "tags": [ "core" ], "parameters": [ { "name": "fileId", "in": "query", "required": false, "schema": { "type": "integer", "default": -1 } }, { "name": "x", "in": "query", "required": false, "schema": { "type": "integer", "default": 32 } }, { "name": "y", "in": "query", "required": false, "schema": { "type": "integer", "default": 32 } }, { "name": "a", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } }, { "name": "forceIcon", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } }, { "name": "mode", "in": "query", "required": false, "schema": { "type": "string", "default": "fill" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/preview.png": { "get": { "operationId": "preview-getpreview-TODO", "tags": [ "core" ], "parameters": [ { "name": "file", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "x", "in": "query", "required": false, "schema": { "type": "integer", "default": 32 } }, { "name": "y", "in": "query", "required": false, "schema": { "type": "integer", "default": 32 } }, { "name": "a", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } }, { "name": "forceIcon", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } }, { "name": "mode", "in": "query", "required": false, "schema": { "type": "string", "default": "fill" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/apps/recommended": { "get": { "operationId": "recommendedapps-index-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/references/preview/{referenceId}": { "parameters": [ { "name": "referenceId", "in": "path", "description": "the reference cache key", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "reference-preview-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/css/{appName}/{fileName}": { "parameters": [ { "name": "appName", "in": "path", "description": "css folder name", "required": true, "schema": { "type": "string" } }, { "name": "fileName", "in": "path", "description": "css filename with extension", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "css-getcss-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/js/{appName}/{fileName}": { "parameters": [ { "name": "appName", "in": "path", "description": "js folder name", "required": true, "schema": { "type": "string" } }, { "name": "fileName", "in": "path", "description": "js filename with extension", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "js-getjs-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/contactsmenu/contacts": { "post": { "operationId": "contactsmenu-index-TODO", "tags": [ "core" ], "parameters": [ { "name": "filter", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/contactsmenu/findOne": { "post": { "operationId": "contactsmenu-findone-TODO", "tags": [ "core" ], "parameters": [ { "name": "shareType", "in": "query", "required": true, "schema": { "type": "integer" } }, { "name": "shareWith", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/204": { "get": { "operationId": "walledgarden-get-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/search": { "get": { "operationId": "search-search-TODO", "tags": [ "core" ], "parameters": [ { "name": "query", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "inApps", "in": "query", "required": true, "schema": { "type": "array" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "default": 1 } }, { "name": "size", "in": "query", "required": false, "schema": { "type": "integer", "default": 30 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/wipe/check": { "post": { "operationId": "wipe-checkwipe-TODO", "tags": [ "core" ], "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/core/wipe/success": { "post": { "operationId": "wipe-wipedone-TODO", "tags": [ "core" ], "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/webauthn/start": { "post": { "operationId": "webauthn-startauthentication-TODO", "tags": [ "core" ], "parameters": [ { "name": "loginName", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/login/webauthn/finish": { "post": { "operationId": "webauthn-finishauthentication-TODO", "tags": [ "core" ], "parameters": [ { "name": "data", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/error/404": { "get": { "operationId": "error-error404-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/error/403": { "get": { "operationId": "error-error403-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/.well-known/{service}": { "parameters": [ { "name": "service", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "wellknown-handle-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/core/unsupported": { "get": { "operationId": "unsupportedbrowser-index-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/capabilities": { "get": { "operationId": "ocs-getcapabilities-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/config": { "get": { "operationId": "ocs-getconfig-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/check": { "post": { "operationId": "ocs-personcheck-TODO", "tags": [ "core" ], "parameters": [ { "name": "login", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "password", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/key/{cloudId}": { "parameters": [ { "name": "cloudId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "ocs-getidentityproof-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/navigation/apps": { "get": { "operationId": "navigation-getappsnavigation-TODO", "tags": [ "core" ], "parameters": [ { "name": "absolute", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/navigation/settings": { "get": { "operationId": "navigation-getsettingsnavigation-TODO", "tags": [ "core" ], "parameters": [ { "name": "absolute", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/autocomplete/get": { "get": { "operationId": "autocomplete-get-TODO", "tags": [ "core" ], "parameters": [ { "name": "search", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "itemType", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "itemId", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "sorter", "in": "query", "description": "can be piped, top prio first, e.g.: \"commenters|share-recipients\"", "required": false, "schema": { "type": "string" } }, { "name": "shareTypes", "in": "query", "required": true, "schema": { "type": "array" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 10 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/whatsnew": { "get": { "operationId": "whatsnew-get-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "whatsnew-dismiss-TODO", "tags": [ "core" ], "parameters": [ { "name": "version", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/getapppassword": { "get": { "operationId": "apppassword-getapppassword-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/apppassword/rotate": { "post": { "operationId": "apppassword-rotateapppassword-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/apppassword": { "delete": { "operationId": "apppassword-deleteapppassword-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/v1/{userId}": { "parameters": [ { "name": "userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "hovercard-getuser-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/resources/collections/search/{filter}": { "parameters": [ { "name": "filter", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "collaborationresources-searchcollections-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/resources/collections/{collectionId}": { "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "integer" } } ], "get": { "operationId": "collaborationresources-listcollection-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "put": { "operationId": "collaborationresources-renamecollection-TODO", "tags": [ "core" ], "parameters": [ { "name": "collectionName", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "collaborationresources-addresource-TODO", "tags": [ "core" ], "parameters": [ { "name": "resourceType", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "resourceId", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "delete": { "operationId": "collaborationresources-removeresource-TODO", "tags": [ "core" ], "parameters": [ { "name": "resourceType", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "resourceId", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/resources/{resourceType}/{resourceId}": { "parameters": [ { "name": "resourceType", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "resourceId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "collaborationresources-getcollectionsbyresource-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/resources/{baseResourceType}/{baseResourceId}": { "parameters": [ { "name": "baseResourceType", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "baseResourceId", "in": "path", "required": true, "schema": { "type": "string" } } ], "post": { "operationId": "collaborationresources-createcollectiononresource-TODO", "tags": [ "core" ], "parameters": [ { "name": "name", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/resolve": { "get": { "operationId": "referenceapi-resolveone-TODO", "tags": [ "core" ], "parameters": [ { "name": "reference", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } }, "post": { "operationId": "referenceapi-resolve-TODO", "tags": [ "core" ], "parameters": [ { "name": "references", "in": "query", "required": true, "schema": { "type": "array" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 1 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/extract": { "post": { "operationId": "referenceapi-extract-TODO", "tags": [ "core" ], "parameters": [ { "name": "text", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "resolve", "in": "query", "required": false, "schema": { "type": "integer", "default": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "default": 1 } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/providers": { "get": { "operationId": "unifiedsearch-getproviders-TODO", "tags": [ "core" ], "parameters": [ { "name": "from", "in": "query", "description": "the url the user is currently at", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/provider/{providerId}": { "parameters": [ { "name": "providerId", "in": "path", "required": true, "schema": { "type": "string" } } ], "put": { "operationId": "referenceapi-touchprovider-TODO", "tags": [ "core" ], "parameters": [ { "name": "timestamp", "in": "query", "required": false, "schema": { "type": "integer" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/{targetUserId}": { "parameters": [ { "name": "targetUserId", "in": "path", "required": true, "schema": { "type": "string" } } ], "put": { "operationId": "profileapi-setvisibility-TODO", "tags": [ "core" ], "parameters": [ { "name": "paramId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "visibility", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/providers/{providerId}/search": { "parameters": [ { "name": "providerId", "in": "path", "required": true, "schema": { "type": "string" } } ], "get": { "operationId": "unifiedsearch-search-TODO", "tags": [ "core" ], "parameters": [ { "name": "term", "in": "query", "required": false, "schema": { "type": "string", "default": "" } }, { "name": "sortOrder", "in": "query", "required": false, "schema": { "type": "integer" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer" } }, { "name": "cursor", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "from", "in": "query", "required": false, "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/languages": { "get": { "operationId": "translationapi-languages-TODO", "tags": [ "core" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } }, "/ocs/v2.php/core/translate": { "post": { "operationId": "translationapi-translate-TODO", "tags": [ "core" ], "parameters": [ { "name": "text", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "fromLanguage", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "toLanguage", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "string" } } } } } } } } }