Sp.Sites.Lists.createOneList
POST/clients/:clientId/sp/sites/:siteId/lists
The function createOneList
creates a SharePoint list with specified options using the
openSpClient
object.
Request
Responses
- 200
The function createOneList
is returning the result of calling the ensure
method on
the openSpClient.web.lists
object with the provided options. The ensure
method is used to
ensure that a list with the specified parameters exists, and it returns a Promise that resolves to
the created list information.