WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/website-builder/redirect?
  • Which event handlers can you implement?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/api/website-builder/redirect. Import any of the items below directly from this path in your Webiny extensions.

Use Cases

Event Handlers

Use Cases
anchor

CreateRedirectUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface CreateRedirectUseCase.Interface:

Types:

DeleteRedirectUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface DeleteRedirectUseCase.Interface:

Types:

GetActiveRedirectsUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface GetActiveRedirectsUseCase.Interface:

GetActiveRedirects use case interface

Types:

GetRedirectByIdUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface GetRedirectByIdUseCase.Interface:

GetRedirectById use case interface

Types:

InvalidateRedirectsCacheUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface InvalidateRedirectsCacheUseCase.Interface:

Types:

ListRedirectsUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface ListRedirectsUseCase.Interface:

Types:

MoveRedirectUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface MoveRedirectUseCase.Interface:

Types:

UpdateRedirectUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/redirect

Interface UpdateRedirectUseCase.Interface:

Types:

Event Handlers
anchor

RedirectAfterCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectAfterCreateEventHandler.Interface:

Event payload RedirectAfterCreatePayload:

Types:

RedirectAfterDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectAfterDeleteEventHandler.Interface:

Event payload RedirectAfterDeletePayload:

Types:

RedirectAfterMoveEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectAfterMoveEventHandler.Interface:

Event payload RedirectAfterMovePayload:

Types:

RedirectAfterUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectAfterUpdateEventHandler.Interface:

Event payload RedirectAfterUpdatePayload:

Types:

RedirectBeforeCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectBeforeCreateEventHandler.Interface:

Event payload RedirectBeforeCreatePayload:

Types:

RedirectBeforeDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectBeforeDeleteEventHandler.Interface:

Event payload RedirectBeforeDeletePayload:

Types:

RedirectBeforeMoveEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectBeforeMoveEventHandler.Interface:

Event payload RedirectBeforeMovePayload:

Types:

RedirectBeforeUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/redirect

Interface RedirectBeforeUpdateEventHandler.Interface:

Event payload RedirectBeforeUpdatePayload:

Types: