SP.FolderCollection.getByUrl Method (sp.js)

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

SP.FolderCollection.getByUrl()

Parameters

  • url

Return value

SP.Folder

REST resource endpoint

See FolderCollection resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/folders/getByUrl(url)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/folders/getByUrl(url)

Resource parameters

  • url