Méthode | Description | |
---|---|---|
BoxCollectionsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth | ||
CreateOrDeleteCollectionsForFileAsync ( string fileId, |
To add or remove an item from a collection, you do a PUT on that item and change the list of collections it belongs to.
|
|
CreateOrDeleteCollectionsForFolderAsync ( string folderId, |
To add or remove an item from a collection, you do a PUT on that item and change the list of collections it belongs to.
|
|
GetCollectionItemsAsync ( string collectionId, int limit = 100, int offset, List |
Retrieves the files and/or folders contained within this collection. Collection item lists behave a lot like getting a folder’s items.
|
|
GetCollectionsAsync ( ) : Task |
Retrieves the collections for the given user. Currently, only the favorites collection is supported.
|
public BoxCollectionsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth | ||
config | IBoxConfig | |
service | IBoxService | |
converter | IBoxConverter | |
auth | IAuthRepository | |
asUser | string | |
suppressNotifications | bool | |
Résultat | Box.V2.Auth |
public CreateOrDeleteCollectionsForFileAsync ( string fileId, |
||
fileId | string | Id of the file. |
collectionsRequest | The request which contains collections ids | |
Résultat | Task |
public CreateOrDeleteCollectionsForFolderAsync ( string folderId, |
||
folderId | string | Id of the folder. |
collectionsRequest | The request which contains collections ids | |
Résultat | Task |
public GetCollectionItemsAsync ( string collectionId, int limit = 100, int offset, List |
||
collectionId | string | The collection identifier. |
limit | int | The maximum number of items to return in a page. |
offset | int | The offset at which to begin the response. An offset of value of 0 will start at the beginning of the folder-listing. Offset of 2 would start at the 2nd record, not the second page. Note: If there are hidden items in your previous response, your next offset should be = offset + limit, not the # of records you received back. |
fields | List |
Attribute(s) to include in the response. |
autoPaginate | bool | Whether or not to auto-paginate to fetch all items; defaults to false. |
Résultat | Task |