summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 15:56:09 +0100
committerKate <26026535+provokateurin@users.noreply.github.com>2024-01-19 09:12:26 +0100
commit846fb6f7019a7c7c440b28475d8323b46c042d5e (patch)
tree339e64c0f7fbfb83006c9ff5f6f6fb25444aa77c /apps/theming
parentb8b15b725b0760c8a738b72e13adc083e2f8ab01 (diff)
downloadnextcloud-server-846fb6f7019a7c7c440b28475d8323b46c042d5e.tar.gz
nextcloud-server-846fb6f7019a7c7c440b28475d8323b46c042d5e.zip
chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/openapi.json178
1 files changed, 0 insertions, 178 deletions
diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json
index 439e14fcc60..027804806df 100644
--- a/apps/theming/openapi.json
+++ b/apps/theming/openapi.json
@@ -20,27 +20,6 @@
}
},
"schemas": {
- "Background": {
- "type": "object",
- "required": [
- "backgroundImage",
- "backgroundColor",
- "version"
- ],
- "properties": {
- "backgroundImage": {
- "type": "string",
- "nullable": true
- },
- "backgroundColor": {
- "type": "string"
- },
- "version": {
- "type": "integer",
- "format": "int64"
- }
- }
- },
"OCSMeta": {
"type": "object",
"required": [
@@ -619,18 +598,6 @@
"basic_auth": []
}
],
- "parameters": [
- {
- "name": "OCS-APIRequest",
- "in": "header",
- "description": "Required to be true for the API request to pass",
- "required": true,
- "schema": {
- "type": "boolean",
- "default": true
- }
- }
- ],
"responses": {
"200": {
"description": "Background image returned",
@@ -656,151 +623,6 @@
}
}
},
- "/index.php/apps/theming/background/{type}": {
- "post": {
- "operationId": "user_theme-set-background",
- "summary": "Set the background",
- "tags": [
- "user_theme"
- ],
- "security": [
- {
- "bearer_auth": []
- },
- {
- "basic_auth": []
- }
- ],
- "parameters": [
- {
- "name": "value",
- "in": "query",
- "description": "Path of the background image",
- "schema": {
- "type": "string",
- "default": ""
- }
- },
- {
- "name": "color",
- "in": "query",
- "description": "Color for the background",
- "schema": {
- "type": "string",
- "nullable": true
- }
- },
- {
- "name": "type",
- "in": "path",
- "description": "Type of background",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "OCS-APIRequest",
- "in": "header",
- "description": "Required to be true for the API request to pass",
- "required": true,
- "schema": {
- "type": "boolean",
- "default": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Background set successfully",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Background"
- }
- }
- }
- },
- "400": {
- "description": "Setting background is not possible",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "500": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "/index.php/apps/theming/background/custom": {
- "delete": {
- "operationId": "user_theme-delete-background",
- "summary": "Delete the background",
- "tags": [
- "user_theme"
- ],
- "security": [
- {
- "bearer_auth": []
- },
- {
- "basic_auth": []
- }
- ],
- "parameters": [
- {
- "name": "OCS-APIRequest",
- "in": "header",
- "description": "Required to be true for the API request to pass",
- "required": true,
- "schema": {
- "type": "boolean",
- "default": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Background deleted successfully",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Background"
- }
- }
- }
- }
- }
- }
- },
"/ocs/v2.php/apps/theming/api/v1/theme/{themeId}/enable": {
"put": {
"operationId": "user_theme-enable-theme",