Skip to content

Commit

Permalink
fix: add user_id only to PUT file, folder, weblink (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt authored Dec 9, 2024
1 parent 5c52add commit d6afe66
Showing 1 changed file with 22 additions and 15 deletions.
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

0 comments on commit d6afe66

Please sign in to comment.