SP.RecycleBinItem.leafName property (sp.js)
Gets a value that specifies the leaf name of the Recycle Bin item.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.RecycleBinItem.get_leafName ()
Return value
Type: String
Remarks
It must not be null. Its length must be equal to or less than 128. It must not contain the following characters: \x00-\x1FF, \x22, \x23, \x25, \x26, \x2A, \x3A, \x3C, x3E, \x3F, \x5C and \x7B-\x9F.
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/RecycleBin(recyclebinitemid)/leafName
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/RecycleBin(recyclebinitemid)/leafName
GET syntax
GET http://<sitecollection>/<site>/_api/web/RecycleBin(recyclebinitemid)/leafName