Skip to content

Commit

Permalink
fix: Update storage policy assignments (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt authored Jan 17, 2024
1 parent 7aa13db commit 0a29c66
Showing 1 changed file with 43 additions and 14 deletions.
57 changes: 43 additions & 14 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": "d6b3a4d2fb"
"x-box-commit-hash": "1eb7bcd21e"
},
"servers": [
{
Expand Down Expand Up @@ -24467,6 +24467,16 @@
"$ref": "#/components/schemas/SignRequestCreateSigner"
},
"description": "Array of signers for the sign request. 35 is the max number of signers permitted."
},
"parent_folder": {
"allOf": [
{
"$ref": "#/components/schemas/Folder--Mini"
},
{
"description": "The destination folder to place final, signed document and signing\nlog. Only `ID` and `type` fields are required. The root folder,\nfolder ID `0`, cannot be used and can also not be null.\n\nWhen this value is not passed in when the signature request, then\nwe will use a default folder which is either the parent folder of\nthe first source file in the payload if we have the permission to\nupload to that folder or a folder called \"My Sign Requests\"."
}
]
}
}
}
Expand Down Expand Up @@ -32248,6 +32258,10 @@
],
"x-box-variant": "mini",
"description": "A mini description of a Storage Policy object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
Expand All @@ -32270,7 +32284,24 @@
"x-box-resource-id": "storage_policy_assignment",
"x-box-tag": "storage_policy_assignments",
"description": "The assignment of a storage policy to a user or enterprise",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for a storage policy assignment.",
"example": "ZW50ZXJwcmlzZV8xMjM0NTY3ODkw"
},
"type": {
"type": "string",
"description": "`storage_policy_assignment`",
"example": "storage_policy_assignment",
"enum": [
"storage_policy_assignment"
]
},
"storage_policy": {
"allOf": [
{
Expand Down Expand Up @@ -36398,9 +36429,6 @@
],
"x-box-variant": "base",
"description": "A request to create a sign request object",
"required": [
"parent_folder"
],
"properties": {
"is_document_preparation_needed": {
"type": "boolean",
Expand Down Expand Up @@ -36442,16 +36470,6 @@
"description": "Reminds signers to sign a document on day 3, 8, 13 and 18. Reminders are only sent to outstanding signers.",
"example": true
},
"parent_folder": {
"allOf": [
{
"$ref": "#/components/schemas/Folder--Mini"
},
{
"description": "The destination folder to place final, signed document and signing\nlog. Only `ID` and `type` fields are required. The root folder,\nfolder ID `0`, cannot be used."
}
]
},
"name": {
"type": "string",
"example": "name",
Expand Down Expand Up @@ -36600,6 +36618,17 @@
"example": "2021-04-26T08:12:13.982Z",
"description": "Uses `days_valid` to calculate the date and time, in GMT, the sign request will expire if unsigned.",
"nullable": true
},
"parent_folder": {
"nullable": false,
"allOf": [
{
"$ref": "#/components/schemas/Folder--Mini"
},
{
"description": "The destination folder to place final, signed document and signing\nlog.\n\nWhen this value was not passed in when the signature request was \ncreated, then we will use a default folder which is either the parent\nfolder of the first source file in the payload if we have the permission\nto upload to that folder or a folder called \"My Sign Requests\"."
}
]
}
}
}
Expand Down

0 comments on commit 0a29c66

Please sign in to comment.