Skip to content

Commit

Permalink
Merge pull request #2592 from nextcloud/chore/update-openapi
Browse files Browse the repository at this point in the history
Chore(api): Add CORS support description to multiple endpoints
  • Loading branch information
susnux authored Feb 23, 2025
2 parents 5ab818c + 796ee6a commit e9ebee5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@
"get": {
"operationId": "api-get-forms",
"summary": "Get all forms available to the user (owned/shared)",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -673,6 +674,7 @@
"post": {
"operationId": "api-new-form",
"summary": "Create a new form and return the form Return a copy of the form if the parameter $fromId is set",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -777,6 +779,7 @@
"get": {
"operationId": "api-get-form",
"summary": "Read all information to edit a Form (form, questions, options, except submissions/answers)",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -899,6 +902,7 @@
"patch": {
"operationId": "api-update-form",
"summary": "Writes the given key-value pairs into Database",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1079,6 +1083,7 @@
"delete": {
"operationId": "api-delete-form",
"summary": "Delete a form",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1204,6 +1209,7 @@
"get": {
"operationId": "api-get-questions",
"summary": "Read all questions (including options)",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1329,6 +1335,7 @@
"post": {
"operationId": "api-new-question",
"summary": "Add a new question",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1506,6 +1513,7 @@
"patch": {
"operationId": "api-reorder-questions",
"summary": "Updates the Order of all Questions of a Form",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1684,6 +1692,7 @@
"get": {
"operationId": "api-get-question",
"summary": "Read a specific question (including options)",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -1844,6 +1853,7 @@
"patch": {
"operationId": "api-update-question",
"summary": "Writes the given key-value pairs into Database Key `order` should only be changed by reorderQuestions() and is not allowed here",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2027,6 +2037,7 @@
"delete": {
"operationId": "api-delete-question",
"summary": "Delete a question",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2190,6 +2201,7 @@
"post": {
"operationId": "api-new-option",
"summary": "Add a new option to a question",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2375,6 +2387,7 @@
"patch": {
"operationId": "api-reorder-options",
"summary": "Reorder options for a given question",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2563,6 +2576,7 @@
"patch": {
"operationId": "api-update-option",
"summary": "Writes the given key-value pairs into Database",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2756,6 +2770,7 @@
"delete": {
"operationId": "api-delete-option",
"summary": "Delete an option",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -2929,6 +2944,7 @@
"get": {
"operationId": "api-get-submissions",
"summary": "Get all the submissions of a given form",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3078,6 +3094,7 @@
"delete": {
"operationId": "api-delete-all-submissions",
"summary": "Delete all submissions of a specified form",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3201,6 +3218,7 @@
"post": {
"operationId": "api-new-submission",
"summary": "Process a new submission",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3384,6 +3402,7 @@
"delete": {
"operationId": "api-delete-submission",
"summary": "Delete a specific submission",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3547,6 +3566,7 @@
"post": {
"operationId": "api-export-submissions-to-cloud",
"summary": "Export Submissions to the Cloud",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3695,6 +3715,7 @@
"post": {
"operationId": "api-upload-files",
"summary": "Uploads a temporary files to the server during form filling",
"description": "This endpoint allows CORS requests",
"tags": [
"api"
],
Expand Down Expand Up @@ -3878,6 +3899,7 @@
"post": {
"operationId": "share_api-new-share",
"summary": "Add a new share",
"description": "This endpoint allows CORS requests",
"tags": [
"share_api"
],
Expand Down Expand Up @@ -4063,6 +4085,7 @@
"patch": {
"operationId": "share_api-update-share",
"summary": "Update permissions of a share",
"description": "This endpoint allows CORS requests",
"tags": [
"share_api"
],
Expand Down Expand Up @@ -4246,6 +4269,7 @@
"delete": {
"operationId": "share_api-delete-share",
"summary": "Delete a share",
"description": "This endpoint allows CORS requests",
"tags": [
"share_api"
],
Expand Down

0 comments on commit e9ebee5

Please sign in to comment.