ContentController.InsertOrReplace Method

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

InsertOrReplace(int, ContentReplaceIn)

Inserts or replaces existing items in the root of the specified app.

public ContentOut InsertOrReplace(int id, ContentReplaceIn model)

Parameters

id
int

Id of App where content should be inserted.

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

Returns

ContentOut

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