This is a beta feature, which means that its availability might be limited. Returns all app items the file is associated with. This includes app items associated with ancestors of the file. Assuming the context user has access to the file, the type/ids are revealed even if the context user does not have View permission on the app item.
This operation is performed by calling function getFileAppItemAssociations.
See the endpoint docs at API Reference.
await client.appItemAssociations.getFileAppItemAssociations(fileId);
string
https://*.app.box.com/files/123 the file_id is 123. Example: “12345”GetFileAppItemAssociationsOptionalsInputThis function returns a value of type AppItemAssociations.
Returns a collection of app item objects. If there are no app items on this file, an empty collection will be returned. This list includes app items on ancestors of this File.
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.
This operation is performed by calling function getFolderAppItemAssociations.
See the endpoint docs at API Reference.
await client.appItemAssociations.getFolderAppItemAssociations(folderId);
string
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”GetFolderAppItemAssociationsOptionalsInputThis function returns a value of type AppItemAssociations.
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.