Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.27 KB

File metadata and controls

44 lines (26 loc) · 1.27 KB

TrashedItemsManager

List trashed items

Retrieves the files and folders that have been moved to the trash.

Any attribute in the full files or folders objects can be passed in with the fields parameter to retrieve those specific attributes that are not returned by default.

This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the marker parameter.

The number of entries returned may be less than total_count. For example, if a user deletes items from a shared folder and is later removed as a collaborator, those deleted items will no longer appear in this endpoint’s results, even though they are still included in total_count.

This operation is performed by calling function getTrashedItems.

See the endpoint docs at API Reference.

client.getTrashedItems().getTrashedItems()

Arguments

  • queryParams GetTrashedItemsQueryParams
    • Query parameters of getTrashedItems method
  • headers GetTrashedItemsHeaders
    • Headers of getTrashedItems method

Returns

This function returns a value of type Items.

Returns a list of items that have been deleted.