WHAT YOU'LL LEARN
  • What are available use cases for Headless CMS Entries?
  • How to use them?

Overview
anchor

This article will list all the use cases available for Headless CMS Entries and explain how to use them.

Use Cases
anchor

All use cases have an execute method that you can call to perform the action that use case is for. Params of that method and its return type are defined in the abstraction of the use case.

Consult the examples below for more information.

Create Entry Use Case
anchor

extensions/cms/entry/useCase/createEntryUseCase.ts

Update Entry Use Case
anchor

extensions/cms/entry/useCase/createEntryUseCase.ts

Create Entry Revision From Use Case
anchor

Delete Entry Use Case
anchor

Delete Entry Revision Use Case
anchor

Delete Multiple Entries Use Case
anchor

Move Entry Use Case
anchor

Publish Entry Use Case
anchor

Update Singleton Entry Use Case
anchor

Get Entry by Id Use Case
anchor

Get Entry Use Case
anchor

Get Published Entries by Ids Use Case
anchor

Get Previous Revision by Entry Id Use Case
anchor

Get Latest Revision by Entry Id Including Deleted Use Case
anchor

Get Latest Entries by Ids Use Case
anchor

List Entries Use Case
anchor

List Deleted Entries Use Case
anchor

List Entries Repository
anchor

List Latest Entries Use Case
anchor

List Published Entries Use Case
anchor

Get Latest Revision by Entry Id Use Case
anchor

Get Entries by Ids Use Case
anchor

Get Latest Revision by Entry Id Base Use Case
anchor

Get Previous Revision by Entry Id Base Use Case
anchor

Get Latest Deleted Revision by Entry Id Use Case
anchor

Get Revision by Id Use Case
anchor

Get Revisions by Entry Id Use Case
anchor

Get Singleton Entry Use Case
anchor

Get Published Revision by Entry Id Use Case
anchor

Unpublish Entry Use Case
anchor

Move Entry to Bin Use Case
anchor

Republish Entry Use Case
anchor

Restore Entry From Bin Use Case
anchor

Validate Entry Use Case
anchor