Home > @uniformdev/canvas > EntryManagementClient
EntryManagementClient class
Full-CRUD management client for entries. Reads the canonical (PUT-safe) shape from the origin host and defaults state to draft and bypassCache to true.
Signature:
Extends: ContentClientBase
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Fetches one entry by id or slug in canonical shape (throws | ||
|
Fetches historical versions of an entry. | ||
|
Fetches a list of entries in canonical shape. | ||
|
Deletes across all states. Scoped to a single edition when | ||
|
Creates or updates an entry. Returns the new | ||
|
Saves the draft and publishes in one call (two PUTs). | ||
|
Removes only the published state, leaving the draft intact. Scoped to a single edition when |