Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "3e11b6f", "specHash": "4beaa19", "version": "4.3.0" }
{ "engineHash": "3e11b6f", "specHash": "ad08e8c", "version": "4.3.0" }
2 changes: 1 addition & 1 deletion box_sdk_gen/managers/authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def request_access_token(
operations you will begin by requesting authentication from the


[authorize](#get-authorize) endpoint and Box will send you an
[authorize](https://developer.box.com/reference/get-authorize) endpoint and Box will send you an


authorization code.
Expand Down
4 changes: 2 additions & 2 deletions box_sdk_gen/managers/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def get_events_with_long_polling(
"""
Returns a list of real-time servers that can be used for long-polling updates

to the [event stream](#get-events).
to the [event stream](https://developer.box.com/reference/get-events).


Long polling is the concept where a HTTP request is kept open until the
Expand Down Expand Up @@ -453,7 +453,7 @@ def get_events_with_long_polling(
it only serves as a prompt to take further action such as sending a


request to the [events endpoint](#get-events) with the last known
request to the [events endpoint](https://developer.box.com/reference/get-events) with the last known


`stream_position`.
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/managers/folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def get_folder_items(
To request more information about the folder itself, like its size,


use the [Get a folder](#get-folders-id) endpoint instead.
use the [Get a folder](https://developer.box.com/reference/get-folders-id) endpoint instead.

:param folder_id: The unique identifier that represent a folder.

Expand Down
4 changes: 2 additions & 2 deletions box_sdk_gen/managers/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def create_user(
:param role: The user’s enterprise role., defaults to None
:type role: Optional[CreateUserRole], optional
:param language: The language of the user, formatted in modified version of the
[ISO 639-1](/guides/api-calls/language-codes) format., defaults to None
[ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format., defaults to None
:type language: Optional[str], optional
:param is_sync_enabled: Whether the user can use Box Sync., defaults to None
:type is_sync_enabled: Optional[bool], optional
Expand Down Expand Up @@ -535,7 +535,7 @@ def update_user_by_id(
:param role: The user’s enterprise role., defaults to None
:type role: Optional[UpdateUserByIdRole], optional
:param language: The language of the user, formatted in modified version of the
[ISO 639-1](/guides/api-calls/language-codes) format., defaults to None
[ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format., defaults to None
:type language: Optional[str], optional
:param is_sync_enabled: Whether the user can use Box Sync., defaults to None
:type is_sync_enabled: Optional[bool], optional
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/schemas/realtime_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(
:type ttl: Optional[str], optional
:param max_retries: The maximum number of retries this server will
allow before a new long poll should be started by
getting a [new list of server](#options-events)., defaults to None
getting a [new list of server](https://developer.box.com/reference/options-events)., defaults to None
:type max_retries: Optional[str], optional
:param retry_timeout: The maximum number of seconds without a response
after which you should retry the long poll connection.
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/schemas/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
:param modified_at: When the user object was last modified., defaults to None
:type modified_at: Optional[DateTime], optional
:param language: The language of the user, formatted in modified version of the
[ISO 639-1](/guides/api-calls/language-codes) format., defaults to None
[ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format., defaults to None
:type language: Optional[str], optional
:param timezone: The user's timezone., defaults to None
:type timezone: Optional[str], optional
Expand Down
2 changes: 1 addition & 1 deletion box_sdk_gen/schemas/user_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(
:param modified_at: When the user object was last modified., defaults to None
:type modified_at: Optional[DateTime], optional
:param language: The language of the user, formatted in modified version of the
[ISO 639-1](/guides/api-calls/language-codes) format., defaults to None
[ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format., defaults to None
:type language: Optional[str], optional
:param timezone: The user's timezone., defaults to None
:type timezone: Optional[str], optional
Expand Down
2 changes: 1 addition & 1 deletion docs/box_sdk_gen/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ authorization code or a server-side JWT assertion.
An Access Token is a string that enables Box to verify that a
request belongs to an authorized session. In the normal order of
operations you will begin by requesting authentication from the
[authorize](#get-authorize) endpoint and Box will send you an
[authorize](https://developer.box.com/reference/get-authorize) endpoint and Box will send you an
authorization code.

You will then send this code to this endpoint to exchange it for
Expand Down
2 changes: 1 addition & 1 deletion docs/box_sdk_gen/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ This function returns a value of type `CommentFull`.
Returns the newly created comment object.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.
4 changes: 2 additions & 2 deletions docs/box_sdk_gen/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Get events long poll endpoint

Returns a list of real-time servers that can be used for long-polling updates
to the [event stream](#get-events).
to the [event stream](https://developer.box.com/reference/get-events).

Long polling is the concept where a HTTP request is kept open until the
server sends a response, then repeating the process over and over to receive
Expand All @@ -22,7 +22,7 @@ URLs. Next, make a long poll request to any of the provided URLs.
When an event occurs in monitored account a response with the value
`new_change` will be sent. The response contains no other details as
it only serves as a prompt to take further action such as sending a
request to the [events endpoint](#get-events) with the last known
request to the [events endpoint](https://developer.box.com/reference/get-events) with the last known
`stream_position`.

After the server sends this response it closes the connection. You must now
Expand Down
2 changes: 1 addition & 1 deletion docs/box_sdk_gen/file_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This function returns a value of type `FileVersionFull`.
Returns a specific version of a file.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Remove file version
Expand Down
6 changes: 3 additions & 3 deletions docs/box_sdk_gen/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This function returns a value of type `FileFull`.
Returns a file object.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Update file
Expand Down Expand Up @@ -97,7 +97,7 @@ This function returns a value of type `FileFull`.
Returns a file object.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Delete file
Expand Down Expand Up @@ -172,7 +172,7 @@ This function returns a value of type `FileFull`.
Returns a new file object representing the copied file.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Get file thumbnail URL
Expand Down
10 changes: 5 additions & 5 deletions docs/box_sdk_gen/folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To fetch more items within the folder, use the
[Get items in a folder](https://developer.box.com/reference/get-folders-id-items)) endpoint.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Update folder
Expand Down Expand Up @@ -121,7 +121,7 @@ This function returns a value of type `FolderFull`.
Returns a folder object for the updated folder

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

If the user is moving folders with a large number of items in all of
Expand Down Expand Up @@ -169,7 +169,7 @@ Retrieves a page of items in a folder. These items can be files,
folders, and web links.

To request more information about the folder itself, like its size,
use the [Get a folder](#get-folders-id) endpoint instead.
use the [Get a folder](https://developer.box.com/reference/get-folders-id) endpoint instead.

This operation is performed by calling function `get_folder_items`.

Expand Down Expand Up @@ -247,7 +247,7 @@ This function returns a value of type `FolderFull`.
Returns a folder object.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.

## Copy folder
Expand Down Expand Up @@ -287,5 +287,5 @@ This function returns a value of type `FolderFull`.
Returns a new folder object representing the copied folder.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
[fields](#parameter-fields) query parameter to explicitly request
any specific fields.
8 changes: 4 additions & 4 deletions docs/box_sdk_gen/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ client.users.create_user(user_name, login=user_login, is_platform_access_only=Tr
- role `Optional[CreateUserRole]`
- The user’s enterprise role.
- language `Optional[str]`
- The language of the user, formatted in modified version of the [ISO 639-1](/guides/api-calls/language-codes) format.
- The language of the user, formatted in modified version of the [ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format.
- is_sync_enabled `Optional[bool]`
- Whether the user can use Box Sync.
- job_title `Optional[str]`
Expand Down Expand Up @@ -198,8 +198,8 @@ This function returns a value of type `UserFull`.
Returns a single user object.

Not all available fields are returned by default. Use the
[fields](#param-fields) query parameter to explicitly request
any specific fields using the [fields](#get-users-id--request--fields)
[fields](#parameter-fields) query parameter to explicitly request
any specific fields using the [fields](#parameter-fields)
parameter.

## Update user
Expand Down Expand Up @@ -234,7 +234,7 @@ client.users.update_user_by_id(user.id, name=updated_user_name)
- role `Optional[UpdateUserByIdRole]`
- The user’s enterprise role.
- language `Optional[str]`
- The language of the user, formatted in modified version of the [ISO 639-1](/guides/api-calls/language-codes) format.
- The language of the user, formatted in modified version of the [ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format.
- is_sync_enabled `Optional[bool]`
- Whether the user can use Box Sync.
- job_title `Optional[str]`
Expand Down