ContentController.Draft Method

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

Draft(int, Delta, bool)

Creates a draft for an content item.

[NoDocumentation]
public Content Draft(int id, Delta<Content> content, bool force)

Parameters

id
int

Id of the content item to update.

content
Weavy.Web.Api.Models.Delta

The draft.

force
bool

Force update regardless if draft exists or not.

Returns

Content

The created draft.