ContentController.InsertChildren Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

InsertChildren(int, IEnumerableIn>)

Insert a content item as a child of the specified content item.

public ContentOut InsertChildren(int id, IEnumerable<ContentIn> model)

Parameters

id
int

Id of parent Content item.

model
System.Collections.Generic.IEnumerable

Model with content to insert. At least guid and name is required properties of each content object

Returns

ContentOut

An instance of the ContentOut object with info about the inserted or skipped content(s).