public class SharedLinksFoldersManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SharedLinksFoldersManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
SharedLinksFoldersManager() |
protected |
SharedLinksFoldersManager(SharedLinksFoldersManager.Builder builder) |
public Authentication auth
public NetworkSession networkSession
public SharedLinksFoldersManager()
protected SharedLinksFoldersManager(SharedLinksFoldersManager.Builder builder)
public FolderFull findFolderForSharedLink(FindFolderForSharedLinkHeaders headers)
A shared folder can be represented by a shared link, which can originate within the current enterprise or within another.
This endpoint allows an application to retrieve information about a shared folder when only given a shared link.
headers - Headers of findFolderForSharedLink methodpublic FolderFull findFolderForSharedLink(FindFolderForSharedLinkQueryParams queryParams, FindFolderForSharedLinkHeaders headers)
A shared folder can be represented by a shared link, which can originate within the current enterprise or within another.
This endpoint allows an application to retrieve information about a shared folder when only given a shared link.
queryParams - Query parameters of findFolderForSharedLink methodheaders - Headers of findFolderForSharedLink methodpublic FolderFull getSharedLinkForFolder(String folderId, GetSharedLinkForFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of getSharedLinkForFolder methodpublic FolderFull getSharedLinkForFolder(String folderId, GetSharedLinkForFolderQueryParams queryParams, GetSharedLinkForFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of getSharedLinkForFolder methodheaders - Headers of getSharedLinkForFolder methodpublic FolderFull addShareLinkToFolder(String folderId, AddShareLinkToFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of addShareLinkToFolder methodpublic FolderFull addShareLinkToFolder(String folderId, AddShareLinkToFolderRequestBody requestBody, AddShareLinkToFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of addShareLinkToFolder methodqueryParams - Query parameters of addShareLinkToFolder methodpublic FolderFull addShareLinkToFolder(String folderId, AddShareLinkToFolderQueryParams queryParams, AddShareLinkToFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of addShareLinkToFolder methodheaders - Headers of addShareLinkToFolder methodpublic FolderFull addShareLinkToFolder(String folderId, AddShareLinkToFolderRequestBody requestBody, AddShareLinkToFolderQueryParams queryParams, AddShareLinkToFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of addShareLinkToFolder methodqueryParams - Query parameters of addShareLinkToFolder methodheaders - Headers of addShareLinkToFolder methodpublic FolderFull updateSharedLinkOnFolder(String folderId, UpdateSharedLinkOnFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of updateSharedLinkOnFolder methodpublic FolderFull updateSharedLinkOnFolder(String folderId, UpdateSharedLinkOnFolderRequestBody requestBody, UpdateSharedLinkOnFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of updateSharedLinkOnFolder methodqueryParams - Query parameters of updateSharedLinkOnFolder methodpublic FolderFull updateSharedLinkOnFolder(String folderId, UpdateSharedLinkOnFolderQueryParams queryParams, UpdateSharedLinkOnFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of updateSharedLinkOnFolder methodheaders - Headers of updateSharedLinkOnFolder methodpublic FolderFull updateSharedLinkOnFolder(String folderId, UpdateSharedLinkOnFolderRequestBody requestBody, UpdateSharedLinkOnFolderQueryParams queryParams, UpdateSharedLinkOnFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of updateSharedLinkOnFolder methodqueryParams - Query parameters of updateSharedLinkOnFolder methodheaders - Headers of updateSharedLinkOnFolder methodpublic FolderFull removeSharedLinkFromFolder(String folderId, RemoveSharedLinkFromFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of removeSharedLinkFromFolder methodpublic FolderFull removeSharedLinkFromFolder(String folderId, RemoveSharedLinkFromFolderRequestBody requestBody, RemoveSharedLinkFromFolderQueryParams queryParams)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of removeSharedLinkFromFolder methodqueryParams - Query parameters of removeSharedLinkFromFolder methodpublic FolderFull removeSharedLinkFromFolder(String folderId, RemoveSharedLinkFromFolderQueryParams queryParams, RemoveSharedLinkFromFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
queryParams - Query parameters of removeSharedLinkFromFolder methodheaders - Headers of removeSharedLinkFromFolder methodpublic FolderFull removeSharedLinkFromFolder(String folderId, RemoveSharedLinkFromFolderRequestBody requestBody, RemoveSharedLinkFromFolderQueryParams queryParams, RemoveSharedLinkFromFolderHeaders headers)
folderId - The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
The root folder of a Box account is always represented by the ID `0`. Example: "12345"
requestBody - Request body of removeSharedLinkFromFolder methodqueryParams - Query parameters of removeSharedLinkFromFolder methodheaders - Headers of removeSharedLinkFromFolder methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()