Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!This is a beta feature, which means that its availability might be limited. Returns all app items the folder is associated with. This includes app items associated with ancestors of the folder. Assuming the context user has access to the folder, the type/ids are revealed even if the context user does not have View permission on the app item.
12345
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
.
hubs
If given, returns only app items for this application type
1000
1000
The maximum number of items to return per page.
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii
Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
This requires usemarker
to be set to true
.
Returns a collection of app item objects. If there are no app items on this folder an empty collection will be returned. This list includes app items on ancestors of this folder.
Returned if the folder is not found, or the user does not have access to the folder.
An unexpected client error.
await client.appItemAssociations.getFolderAppItemAssociations(folderId);
client.app_item_associations.get_folder_app_item_associations(folder_id)
await client.AppItemAssociations.GetFolderAppItemAssociationsAsync(folderId: folderId);
try await client.appItemAssociations.getFolderAppItemAssociations(folderId: folderId)
{
"entries": [
{
"id": "12345678",
"type": "app_item_association",
"app_item": {
"id": "12345678",
"type": "app_item",
"application_type": "hubs"
},
"item": {
"id": "12345",
"etag": "1",
"type": "file"
}
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii",
"prev_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVih"
}