A framework for building convergent cross-platform Nextcloud clients using Flutter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2576 lines
55 KiB

3 years ago
{
"openapi": "3.1.0",
3 years ago
"info": {
"title": "Core",
"version": "24.0.5",
3 years ago
"description": "Core functionality of Nextcloud",
"license": {
"name": "agpl",
"identifier": " AGPL-3.0"
3 years ago
}
},
"tags": [
3 years ago
{
"name": "core"
3 years ago
}
],
"paths": {
"/core/lostpassword/email": {
"post": {
"operationId": "lost-email-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "user",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
3 years ago
"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"
],
3 years ago
"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"
}
}
],
3 years ago
"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"
],
3 years ago
"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"
}
}
],
3 years ago
"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"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/avatar": {
"post": {
"operationId": "avatar-postavatar-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "path",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
},
"delete": {
"operationId": "avatar-deleteavatar-TODO",
"tags": [
"core"
],
3 years ago
"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": true,
"schema": {
"type": "array"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/avatar/tmp": {
"get": {
"operationId": "avatar-gettmpavatar-TODO",
"tags": [
"core"
],
3 years ago
"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"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/csrftoken": {
"get": {
"operationId": "csrftoken-index-TODO",
"tags": [
"core"
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
},
"post": {
"operationId": "login-trylogin-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "user",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "password",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"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": ""
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/logout": {
"get": {
"operationId": "login-logout-TODO",
"tags": [
"core"
],
3 years ago
"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
}
}
],
3 years ago
"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": ""
}
}
],
3 years ago
"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
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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": ""
}
}
],
3 years ago
"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": ""
}
}
],
3 years ago
"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": true,
"schema": {
"type": "string"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
},
"post": {
"operationId": "clientflowloginv2-generateapppassword-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "stateToken",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/login/v2": {
"post": {
"operationId": "clientflowloginv2-init-TODO",
"tags": [
"core"
],
3 years ago
"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": true,
"schema": {
"type": "string"
}
},
{
"name": "user",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "password",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/login/setupchallenge": {
"get": {
"operationId": "twofactorchallenge-setupproviders-TODO",
"tags": [
"core"
],
3 years ago
"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"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
},
"post": {
"operationId": "twofactorchallenge-confirmprovidersetup-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/core/js/oc.js": {
"get": {
"operationId": "ocjs-getconfig-TODO",
"tags": [
"core"
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/core/apps/recommended": {
"get": {
"operationId": "recommendedapps-index-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/svg/core/{folder}/{fileName}": {
"parameters": [
{
"name": "folder",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "fileName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"operationId": "svg-getsvgfromcore-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "color",
"in": "query",
"required": false,
"schema": {
"type": "string",
"default": "ffffff"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/svg/{app}/{fileName}": {
"parameters": [
{
"name": "app",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "fileName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"operationId": "svg-getsvgfromapp-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "color",
"in": "query",
"required": false,
"schema": {
"type": "string",
"default": "ffffff"
}
}
],
3 years ago
"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"
],
3 years ago
"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"
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/core/204": {
"get": {
"operationId": "walledgarden-get-TODO",
"tags": [
"core"
],
3 years ago
"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
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/capabilities": {
"get": {
"operationId": "ocs-getcapabilities-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/config": {
"get": {
"operationId": "ocs-getconfig-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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": ""
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/key/{cloudId}": {
"parameters": [
{
"name": "cloudId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"operationId": "ocs-getidentityproof-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/navigation/apps": {
"get": {
"operationId": "navigation-getappsnavigation-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "absolute",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"default": 0
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/navigation/settings": {
"get": {
"operationId": "navigation-getsettingsnavigation-TODO",
"tags": [
"core"
],
"parameters": [
{
"name": "absolute",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"default": 0
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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": true,
"schema": {
"type": "string"
}
},
{
"name": "itemId",
"in": "query",
"required": true,
"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
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/whatsnew": {
"get": {
"operationId": "whatsnew-get-TODO",
"tags": [
"core"
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/getapppassword": {
"get": {
"operationId": "apppassword-getapppassword-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/apppassword/rotate": {
"post": {
"operationId": "apppassword-rotateapppassword-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/apppassword": {
"delete": {
"operationId": "apppassword-deleteapppassword-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/v1/{userId}": {
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"operationId": "hovercard-getuser-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/resources/collections/search/{filter}": {
"parameters": [
{
"name": "filter",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"get": {
"operationId": "collaborationresources-searchcollections-TODO",
"tags": [
"core"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.php/core/resources/collections/{collectionId}": {
"parameters": [
{
"name": "collectionId",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"get": {
"operationId": "collaborationresources-listcollection-TODO",
"tags": [
"core"
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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"
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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"
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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": ""
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/ocs/v1.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": ""
}
}
],
3 years ago
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
}
}
}