Share via


SP.RecycleBinItemCollection.item property (sp.js)

Gets the recycle bin item at the specified index of the collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.RecycleBinItemCollection.get_item ()

Parameters

  • index

Return value

Type: SP.RecycleBinItem

The recycle bin item at the specified index of the collection.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/RecycleBin/item

HTTP requests

This resource supports the following HTTP commands:

  • GET

GET syntax

GET http://<sitecollection>/<site>/_api/web/RecycleBin/item

Resource parameters

  • index