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

fix: add user_id only to PUT file, folder, weblink #488

Merged
merged 1 commit into from
Dec 9, 2024
Merged
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
37 changes: 22 additions & 15 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "2.0.0",
"x-box-commit-hash": "185890637d"
"x-box-commit-hash": "fd1d1837fd"
},
"servers": [
{
Expand Down Expand Up @@ -627,7 +627,7 @@
"example": "123"
},
"user_id": {
"description": "The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.",
"description": "The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.",
"type": "string",
"example": "12346930"
}
Expand Down Expand Up @@ -5300,20 +5300,27 @@
"example": true
},
"parent": {
"description": "The parent folder for this folder. Use this to move\nthe folder or to restore it out of the trash.",
"type": "object",
"properties": {
"id": {
"description": "The ID of the new parent folder",
"type": "string",
"example": "0"
"allOf": [
{
"type": "object",
"description": "The parent for this item",
"properties": {
"id": {
"description": "The ID of parent item",
"type": "string",
"example": "123"
},
"user_id": {
"description": "The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.",
"type": "string",
"example": "12346930"
}
}
},
"user_id": {
"description": "The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.",
"type": "string",
"example": "12346930"
{
"description": "The parent folder for this folder. Use this to move\nthe folder or to restore it out of the trash."
}
}
]
},
"shared_link": {
"allOf": [
Expand Down Expand Up @@ -13231,7 +13238,7 @@
"example": "123"
},
"user_id": {
"description": "The input for `{user_id}` is optional. Moving to non-root folder is not allowed when `{user_id}` is present. Parent folder id should be zero when `{user_id}` is provided.",
"description": "The input for `user_id` is optional. Moving to non-root folder is not allowed when `user_id` is present. Parent folder id should be zero when `user_id` is provided.",
"type": "string",
"example": "12346930"
}
Expand Down
Loading