diff --git a/.codegen.json b/.codegen.json index 89af8ed93..b7840ea83 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "3e11b6f", "specHash": "4beaa19", "version": "10.4.0" } +{ "engineHash": "3e11b6f", "specHash": "ad08e8c", "version": "10.4.0" } diff --git a/docs/authorization.md b/docs/authorization.md index b2be220ec..5356772c0 100644 --- a/docs/authorization.md +++ b/docs/authorization.md @@ -46,7 +46,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 diff --git a/docs/comments.md b/docs/comments.md index 4691d323e..4572fa92d 100644 --- a/docs/comments.md +++ b/docs/comments.md @@ -165,7 +165,7 @@ 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. diff --git a/docs/events.md b/docs/events.md index 94013cc64..c826a9814 100644 --- a/docs/events.md +++ b/docs/events.md @@ -8,7 +8,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 @@ -23,7 +23,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 diff --git a/docs/files.md b/docs/files.md index bcb48a240..38d3faa2f 100644 --- a/docs/files.md +++ b/docs/files.md @@ -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. @@ -77,7 +77,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. @@ -148,7 +148,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. diff --git a/docs/fileversions.md b/docs/fileversions.md index 3f9153904..9bbdd3a01 100644 --- a/docs/fileversions.md +++ b/docs/fileversions.md @@ -76,7 +76,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. diff --git a/docs/folders.md b/docs/folders.md index 5e36f6882..2bfee2c40 100644 --- a/docs/folders.md +++ b/docs/folders.md @@ -54,7 +54,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. @@ -92,7 +92,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 @@ -140,7 +140,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`. @@ -200,7 +200,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. @@ -239,7 +239,7 @@ 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. diff --git a/docs/users.md b/docs/users.md index ce02fe99b..efc2df4cd 100644 --- a/docs/users.md +++ b/docs/users.md @@ -154,8 +154,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. diff --git a/src/main/java/com/box/sdkgen/managers/authorization/AuthorizationManager.java b/src/main/java/com/box/sdkgen/managers/authorization/AuthorizationManager.java index 4c7d9bcac..9ad04e021 100644 --- a/src/main/java/com/box/sdkgen/managers/authorization/AuthorizationManager.java +++ b/src/main/java/com/box/sdkgen/managers/authorization/AuthorizationManager.java @@ -90,8 +90,8 @@ public void authorizeUser(AuthorizeUserQueryParams queryParams, AuthorizeUserHea * *

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 - * authorization code. + * authentication from the [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 an Access Token. The * returned Access Token can then be used to to make Box API calls. @@ -108,8 +108,8 @@ public AccessToken requestAccessToken(PostOAuth2Token requestBody) { * *

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 - * authorization code. + * authentication from the [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 an Access Token. The * returned Access Token can then be used to to make Box API calls. diff --git a/src/main/java/com/box/sdkgen/managers/events/EventsManager.java b/src/main/java/com/box/sdkgen/managers/events/EventsManager.java index 979af703f..e1a6d7bed 100644 --- a/src/main/java/com/box/sdkgen/managers/events/EventsManager.java +++ b/src/main/java/com/box/sdkgen/managers/events/EventsManager.java @@ -34,7 +34,7 @@ protected EventsManager(Builder builder) { /** * Returns a list of real-time servers that can be used for long-polling updates to the [event - * stream](#get-events). + * 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 updated responses. @@ -46,7 +46,8 @@ protected EventsManager(Builder builder) { * *

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 + * action such as sending a 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 repeat the long @@ -69,7 +70,7 @@ public RealtimeServers getEventsWithLongPolling() { /** * Returns a list of real-time servers that can be used for long-polling updates to the [event - * stream](#get-events). + * 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 updated responses. @@ -81,7 +82,8 @@ public RealtimeServers getEventsWithLongPolling() { * *

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 + * action such as sending a 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 repeat the long diff --git a/src/main/java/com/box/sdkgen/managers/folders/FoldersManager.java b/src/main/java/com/box/sdkgen/managers/folders/FoldersManager.java index 4b65da022..8aa60cdd7 100644 --- a/src/main/java/com/box/sdkgen/managers/folders/FoldersManager.java +++ b/src/main/java/com/box/sdkgen/managers/folders/FoldersManager.java @@ -398,7 +398,7 @@ public void deleteFolderById( * 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. + * folder](https://developer.box.com/reference/get-folders-id) endpoint instead. * * @param folderId The unique identifier that represent a folder. *

The ID for any folder can be determined by visiting this folder in the web application @@ -414,7 +414,7 @@ public Items getFolderItems(String folderId) { * 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. + * folder](https://developer.box.com/reference/get-folders-id) endpoint instead. * * @param folderId The unique identifier that represent a folder. *

The ID for any folder can be determined by visiting this folder in the web application @@ -431,7 +431,7 @@ public Items getFolderItems(String folderId, GetFolderItemsQueryParams queryPara * 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. + * folder](https://developer.box.com/reference/get-folders-id) endpoint instead. * * @param folderId The unique identifier that represent a folder. *

The ID for any folder can be determined by visiting this folder in the web application @@ -448,7 +448,7 @@ public Items getFolderItems(String folderId, GetFolderItemsHeaders headers) { * 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. + * folder](https://developer.box.com/reference/get-folders-id) endpoint instead. * * @param folderId The unique identifier that represent a folder. *

The ID for any folder can be determined by visiting this folder in the web application diff --git a/src/main/java/com/box/sdkgen/managers/users/CreateUserRequestBody.java b/src/main/java/com/box/sdkgen/managers/users/CreateUserRequestBody.java index 206ccf199..e1cf8fd8d 100644 --- a/src/main/java/com/box/sdkgen/managers/users/CreateUserRequestBody.java +++ b/src/main/java/com/box/sdkgen/managers/users/CreateUserRequestBody.java @@ -37,7 +37,7 @@ public class CreateUserRequestBody extends SerializableObject { /** * The language of the user, formatted in modified version of the [ISO - * 639-1](/guides/api-calls/language-codes) format. + * 639-1](https://developer.box.com/guides/api-calls/language-codes) format. */ protected String language; diff --git a/src/main/java/com/box/sdkgen/managers/users/UpdateUserByIdRequestBody.java b/src/main/java/com/box/sdkgen/managers/users/UpdateUserByIdRequestBody.java index cf2d13c0f..bac250baf 100644 --- a/src/main/java/com/box/sdkgen/managers/users/UpdateUserByIdRequestBody.java +++ b/src/main/java/com/box/sdkgen/managers/users/UpdateUserByIdRequestBody.java @@ -42,7 +42,7 @@ public class UpdateUserByIdRequestBody extends SerializableObject { /** * The language of the user, formatted in modified version of the [ISO - * 639-1](/guides/api-calls/language-codes) format. + * 639-1](https://developer.box.com/guides/api-calls/language-codes) format. */ protected String language; diff --git a/src/main/java/com/box/sdkgen/schemas/realtimeserver/RealtimeServer.java b/src/main/java/com/box/sdkgen/schemas/realtimeserver/RealtimeServer.java index f06cc762c..69cca1503 100644 --- a/src/main/java/com/box/sdkgen/schemas/realtimeserver/RealtimeServer.java +++ b/src/main/java/com/box/sdkgen/schemas/realtimeserver/RealtimeServer.java @@ -21,7 +21,7 @@ public class RealtimeServer extends SerializableObject { /** * 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). + * by getting a [new list of server](https://developer.box.com/reference/options-events). */ @JsonProperty("max_retries") protected String maxRetries; diff --git a/src/main/java/com/box/sdkgen/schemas/user/User.java b/src/main/java/com/box/sdkgen/schemas/user/User.java index 74c17b4e3..eaa2bf93d 100644 --- a/src/main/java/com/box/sdkgen/schemas/user/User.java +++ b/src/main/java/com/box/sdkgen/schemas/user/User.java @@ -30,7 +30,7 @@ public class User extends UserMini { /** * The language of the user, formatted in modified version of the [ISO - * 639-1](/guides/api-calls/language-codes) format. + * 639-1](https://developer.box.com/guides/api-calls/language-codes) format. */ protected String language;