Skip to content

Use of Recycle Bin Libraries: header x-RecycleBinContentAware #8864

@jbyt1

Description

@jbyt1

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

N/A

Issue description

I saw this blog post about the use of the x-RecycleBinContentAware header to be able to iterate over recycle bin items.
This'd be useful to be able to find a deleted item by it's previous Unique ID guid.

https://devblogs.microsoft.com/microsoft365dev/improved-api-support-for-working-with-files-in-the-sharepoint-recycle-bin/#comments

However I haven't been able to get this to work and providing the header doesn't provide any additional information.
Is this functionality available?
Is there an example of this or a sample request?

If not do you have any recommendations of how to lookup a recycle bin item by it's previous Unique ID that was associated to the folder / file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions