Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] feat(core): Include core capabilities in OpenAPI #44732

Merged
merged 2 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 60 additions & 6 deletions apps/dav/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,29 +236,83 @@
"404": {
"description": "File not found",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
},
"400": {
"description": "Getting direct link is not possible",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
},
"403": {
"description": "Missing permissions to get direct link",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down
88 changes: 80 additions & 8 deletions apps/federatedfilesharing/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,27 @@
"400": {
"description": "Re-sharing is not possible",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -486,9 +504,27 @@
"400": {
"description": "Updating permissions is not possible",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -822,9 +858,27 @@
"400": {
"description": "Revoking the share is not possible",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -943,9 +997,27 @@
"400": {
"description": "Moving share is not possible",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down
88 changes: 80 additions & 8 deletions apps/federation/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,27 @@
"403": {
"description": "Getting shared secret is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -223,9 +241,27 @@
"403": {
"description": "Requesting shared secret is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -321,9 +357,27 @@
"403": {
"description": "Getting shared secret is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -407,9 +461,27 @@
"403": {
"description": "Requesting shared secret is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down
44 changes: 40 additions & 4 deletions apps/files/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1084,9 +1084,27 @@
"403": {
"description": "Creating template is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down Expand Up @@ -1192,9 +1210,27 @@
"403": {
"description": "Initializing the template directory is not allowed",
"content": {
"text/plain": {
"application/json": {
"schema": {
"type": "string"
"type": "object",
"required": [
"ocs"
],
"properties": {
"ocs": {
"type": "object",
"required": [
"meta",
"data"
],
"properties": {
"meta": {
"$ref": "#/components/schemas/OCSMeta"
},
"data": {}
}
}
}
}
}
}
Expand Down
Loading
Loading