diff options
author | Elizabeth Danzberger <lizzy7128@tutanota.de> | 2025-05-19 18:26:27 -0400 |
---|---|---|
committer | Elizabeth Danzberger <lizzy7128@tutanota.de> | 2025-05-19 18:26:27 -0400 |
commit | a908d675703727b7998f7402160139131b4c858e (patch) | |
tree | b9bf182b675c7d8cbf3eb5c986913044e7c5cf77 | |
parent | 1f7bd449fb2ee8df9b70fbae6b46e33721d8a2a0 (diff) | |
download | nextcloud-server-feat/template-field-extraction-improvements.tar.gz nextcloud-server-feat/template-field-extraction-improvements.zip |
chore: update open api spec againfeat/template-field-extraction-improvements
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
-rw-r--r-- | openapi.json | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/openapi.json b/openapi.json index b28f160dd5d..2c7ed4b0a1f 100644 --- a/openapi.json +++ b/openapi.json @@ -17890,6 +17890,80 @@ } } }, + "/ocs/v2.php/apps/files/api/v1/templates/fields/{fileId}": { + "get": { + "operationId": "files-template-list-template-fields", + "summary": "List the fields for the template specified by the given file ID", + "tags": [ + "files/template" + ], + "security": [ + { + "bearer_auth": [] + }, + { + "basic_auth": [] + } + ], + "parameters": [ + { + "name": "fileId", + "in": "path", + "description": "File ID of the template", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "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": "Fields returned", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/FilesTemplateField" + } + } + } + } + } + } + } + } + } + } + } + }, "/ocs/v2.php/apps/files/api/v1/templates/create": { "post": { "operationId": "files-template-create", |