ContentController.InsertOrReplaceChildren Method

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

InsertOrReplaceChildren(ContentReplaceIn, int)

Inserts or replaces existing items in in a folder or other content item.

public ContentOut InsertOrReplaceChildren(ContentReplaceIn model, int id)

Parameters

model
ContentReplaceIn

Model with content to insert or replace with. At least guid and name is required properties of each content object. Action should be either keep or replace

id
int

Id of parent Content item.

Returns

ContentOut

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