Skip to content

Commit

Permalink
feat: add Box Sign shared requests (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt authored Jan 23, 2025
1 parent 557d7fd commit 1516dda
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 3 deletions.
47 changes: 46 additions & 1 deletion 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": "2024.0",
"x-box-commit-hash": "863c136f26"
"x-box-commit-hash": "04cc4aa874"
},
"servers": [
{
Expand Down Expand Up @@ -23349,6 +23349,33 @@
"maximum": 1000
},
"example": 1000
},
{
"name": "senders",
"in": "query",
"description": "A list of sender emails to filter the signature requests by sender. \nIf provided, `shared_requests` must be set to `true`.",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"example": [
"[email protected]",
"[email protected]"
]
},
{
"name": "shared_requests",
"in": "query",
"description": "If set to `true`, only includes requests that user is not an owner,\nbut user is a collaborator. Collaborator access is determined by the\nuser access level of the sign files of the request.\nDefault is `false`. Must be set to `true` if `senders` are provided.",
"required": false,
"schema": {
"type": "boolean",
"default": false
},
"example": true
}
],
"responses": {
Expand Down Expand Up @@ -34126,6 +34153,24 @@
}
],
"nullable": false
},
"collaborator_level": {
"description": "The collaborator level of the user to the sign request. Values can include \"owner\", \"editor\", and \"viewer\"",
"type": "string",
"example": "owner",
"nullable": true
},
"sender_email": {
"description": "The email address of the sender of the sign request.",
"type": "string",
"example": "[email protected]",
"nullable": true
},
"sender_id": {
"description": "The user ID of the sender of the sign request.",
"type": "integer",
"example": 12345,
"nullable": true
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi-v2025.0.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": "2025.0",
"x-box-commit-hash": "863c136f26"
"x-box-commit-hash": "04cc4aa874"
},
"servers": [
{
Expand Down
47 changes: 46 additions & 1 deletion openapi/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": "2024.0",
"x-box-commit-hash": "863c136f26"
"x-box-commit-hash": "04cc4aa874"
},
"servers": [
{
Expand Down Expand Up @@ -23349,6 +23349,33 @@
"maximum": 1000
},
"example": 1000
},
{
"name": "senders",
"in": "query",
"description": "A list of sender emails to filter the signature requests by sender. \nIf provided, `shared_requests` must be set to `true`.",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string"
}
},
"example": [
"[email protected]",
"[email protected]"
]
},
{
"name": "shared_requests",
"in": "query",
"description": "If set to `true`, only includes requests that user is not an owner,\nbut user is a collaborator. Collaborator access is determined by the\nuser access level of the sign files of the request.\nDefault is `false`. Must be set to `true` if `senders` are provided.",
"required": false,
"schema": {
"type": "boolean",
"default": false
},
"example": true
}
],
"responses": {
Expand Down Expand Up @@ -34126,6 +34153,24 @@
}
],
"nullable": false
},
"collaborator_level": {
"description": "The collaborator level of the user to the sign request. Values can include \"owner\", \"editor\", and \"viewer\"",
"type": "string",
"example": "owner",
"nullable": true
},
"sender_email": {
"description": "The email address of the sender of the sign request.",
"type": "string",
"example": "[email protected]",
"nullable": true
},
"sender_id": {
"description": "The user ID of the sender of the sign request.",
"type": "integer",
"example": 12345,
"nullable": true
}
}
}
Expand Down

0 comments on commit 1516dda

Please sign in to comment.