ContentService.Revert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Revert(int, long, bool)

Revert to a previous version of a Content item.

public static Content Revert(int id, long version, bool auth = true)

Parameters

id
int

Id of the Content.

version
long

Timestamp of the version.

auth
bool

Returns

Content

The reverted version of the Content item.