Skip to content

Commit 9c9598b

Browse files
DropboxBotBrent Bumann
andauthored
Automated Spec Update (#970)
c26b11df5170dcc03a86046b162c284ed24f7487 Change Notes: files Namespace - Update upload_session/start_batch route to include account_id Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com> Co-authored-by: Brent Bumann <bbumann@dropbox.com>
1 parent 6b3404d commit 9c9598b

File tree

7 files changed

+18
-5
lines changed

7 files changed

+18
-5
lines changed

generator/dropbox-api-spec

lib/routes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,11 @@ routes.filesUploadSessionStart = function (arg) {
14841484

14851485
/**
14861486
* This route starts batch of upload_sessions. Please refer to
1487-
* `upload_session/start` usage.
1487+
* `upload_session/start` usage. Calls to this endpoint will count as data
1488+
* transport calls for any Dropbox Business teams with a limit on the number of
1489+
* data transport calls allowed per month. For more information, see the Data
1490+
* transport limit page
1491+
* https://www.dropbox.com/developers/reference/data-transport-limit.
14881492
* Route attributes:
14891493
* scope: files.content.write
14901494
* @function Dropbox#filesUploadSessionStartBatch

lib/types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,7 @@ only present when needed to discriminate between multiple possible subtypes.
20922092
* extensions specified. Only supported for active file search.
20932093
* @property {Array.<FilesFileCategory>} [file_categories] - Restricts search to
20942094
* only the file categories specified. Only supported for active file search.
2095+
* @property {string} [account_id] - Restricts results to the given account id.
20952096
*/
20962097

20972098
/**

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dropbox",
3-
"version": "10.30.0",
3+
"version": "10.31.0",
44
"registry": "npm",
55
"description": "The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.",
66
"main": "cjs/index.js",

types/dropbox_types.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4320,6 +4320,10 @@
43204320
* for active file search.
43214321
*/
43224322
file_categories?: Array<FileCategory>;
4323+
/**
4324+
* Restricts results to the given account id.
4325+
*/
4326+
account_id?: users_common.AccountId;
43234327
}
43244328

43254329
export interface SearchOrderByRelevance {

types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,11 @@ export class Dropbox {
17441744

17451745
/**
17461746
* This route starts batch of upload_sessions. Please refer to
1747-
* `upload_session/start` usage.
1747+
* `upload_session/start` usage. Calls to this endpoint will count as data
1748+
* transport calls for any Dropbox Business teams with a limit on the number
1749+
* of data transport calls allowed per month. For more information, see the
1750+
* [Data transport limit page]{@link
1751+
* https://www.dropbox.com/developers/reference/data-transport-limit}.
17481752
*
17491753
* Route attributes:
17501754
* scope: files.content.write

0 commit comments

Comments
 (0)