diff --git a/openapi.json b/openapi.json index a1a4ec64..e1117ad9 100644 --- a/openapi.json +++ b/openapi.json @@ -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": [ { @@ -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" } @@ -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": [ @@ -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" }