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": "10.3.0" }
{ "engineHash": "3e11b6f", "specHash": "ad08e8c", "version": "10.3.0" }
2 changes: 1 addition & 1 deletion docs/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,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/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/fileVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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 @@ -76,7 +76,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 @@ -144,7 +144,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/folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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 @@ -87,7 +87,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 @@ -130,7 +130,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 `getFolderItems`.

Expand Down Expand Up @@ -186,7 +186,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 @@ -224,5 +224,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.
4 changes: 2 additions & 2 deletions docs/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,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
2 changes: 1 addition & 1 deletion src/managers/authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class AuthorizationManager {
* 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
4 changes: 2 additions & 2 deletions src/managers/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export class EventsManager {
}
/**
* 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 @@ -486,7 +486,7 @@ export class EventsManager {
* 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 src/managers/folders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ export class FoldersManager {
* 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.
* @param {string} folderId The unique identifier that represent a folder.

The ID for any folder can be determined
Expand Down
4 changes: 2 additions & 2 deletions src/managers/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export interface CreateUserRequestBody {
readonly role?: CreateUserRequestBodyRoleField;
/**
* The language of the user, formatted in modified version of the
* [ISO 639-1](/guides/api-calls/language-codes) format. */
* [ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format. */
readonly language?: string;
/**
* Whether the user can use Box Sync. */
Expand Down Expand Up @@ -479,7 +479,7 @@ export interface UpdateUserByIdRequestBody {
readonly role?: UpdateUserByIdRequestBodyRoleField;
/**
* The language of the user, formatted in modified version of the
* [ISO 639-1](/guides/api-calls/language-codes) format. */
* [ISO 639-1](https://developer.box.com/guides/api-calls/language-codes) format. */
readonly language?: string;
/**
* Whether the user can use Box Sync. */
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/realtimeServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface RealtimeServer {
/**
* 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). */
* getting a [new list of server](https://developer.box.com/reference/options-events). */
readonly maxRetries?: string;
/**
* The maximum number of seconds without a response
Expand Down