SyncStack

View as Markdown

SyncStack

SyncStack holds the result of a sync request, in the Contentstack.Core.Models namespace. Every sync method on the client returns one. Use this class to

  • read the published, unpublished, and deleted items a sync returns
  • read the token for the next sync request

SyncRecursive, SyncToken, and SyncPaginationToken return a Task<SyncStack>.

NameTypeDescription
Items IEnumerable<dynamic>

The sync items. Each one is a JsonElement.

TotalCount int

The total_count value of the response.

SyncToken string

Token for the next sync. Set on the last page.

PaginationToken string

Token for the next page. Set while pages remain.