ContentController.UploadAndReplaceChildren Method

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

UploadAndReplaceChildren(int, UploadIn)

Replace existing files in folder with the specified blobs.

public IEnumerable<IFile> UploadAndReplaceChildren(int id, UploadIn model)

Parameters

id
int

Id of content item where files should be uploaded.

model
UploadIn

Model with id of blobs to insert (while replacing existing files with same names).

Returns

System.Collections.Generic.IEnumerable

The files that were inserted and/or replaced.