You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param file_id: The unique identifier that represents a file.
61
+
62
+
The ID for any file can be determined
63
+
by visiting a file in the web application
64
+
and copying the ID from the URL. For example,
65
+
for the URL `https://*.app.box.com/files/123`
66
+
the `file_id` is `123`.
67
+
Example: "12345"
68
+
:type file_id: str
69
+
:param version: The file version to download, defaults to None
70
+
:type version: Optional[str], optional
71
+
:param access_token: An optional access token that can be used to pre-authenticate this request, which means that a download link can be shared with a browser or a third party service without them needing to know how to handle the authentication.
72
+
When using this parameter, please make sure that the access token is sufficiently scoped down to only allow read access to that file and no other files or folders., defaults to None
73
+
:type access_token: Optional[str], optional
74
+
:param range: The byte range of the content to download.
75
+
76
+
The format `bytes={start_byte}-{end_byte}` can be used to specify
77
+
what section of the file to download., defaults to None
78
+
:type range: Optional[str], optional
79
+
:param boxapi: The URL, and optional password, for the shared link of this item.
80
+
81
+
This header can be used to access items that have not been
82
+
explicitly shared with a user.
83
+
84
+
Use the format `shared_link=[link]` or if a password is required then
85
+
use `shared_link=[link]&shared_link_password=[password]`.
86
+
87
+
This header can be used on the file or folder shared, as well as on any files
88
+
or folders nested within the item., defaults to None
89
+
:type boxapi: Optional[str], optional
90
+
:param extra_headers: Extra headers that will be included in the HTTP request., defaults to None
:param follow_redirects: A boolean value indicate if the request should follow redirects. Defaults to True. Not supported in Browser environment., defaults to True
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
26
+
- version `Optional[str]`
27
+
- The file version to download
28
+
- access_token `Optional[str]`
29
+
- An optional access token that can be used to pre-authenticate this request, which means that a download link can be shared with a browser or a third party service without them needing to know how to handle the authentication. When using this parameter, please make sure that the access token is sufficiently scoped down to only allow read access to that file and no other files or folders.
30
+
- range `Optional[str]`
31
+
- The byte range of the content to download. The format `bytes={start_byte}-{end_byte}` can be used to specify what section of the file to download.
32
+
- boxapi `Optional[str]`
33
+
- The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been explicitly shared with a user. Use the format `shared_link=[link]` or if a password is required then use `shared_link=[link]&shared_link_password=[password]`. This header can be used on the file or folder shared, as well as on any files or folders nested within the item.
0 commit comments