SP.Web.recycleBin property (sp.js)
Specifies the collection of recycle bin items of the recycle bin of the site.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Web.get_recycleBin ()
Return value
Type: SP.RecycleBinItemCollection
An SP.RecycleBinItemCollection object that represents the recycle bin.
REST resource endpoint
See Web resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/recycleBin
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/recycleBin
GET syntax
GET http://<sitecollection>/<site>/_api/web/recycleBin