WebhookController Members
The WebhookController type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Dispose()()()() | (Inherited from AdvantageApiContentController.) |
![]() |
Dispose(Boolean) | (Inherited from AdvantageApiControllerBase.) |
![]() |
GetNavigations |
Retrieves navigation items filtered by the specified selectors.
(Inherited from AdvantageApiControllerBase.) |
![]() |
SendWebhook |
Send out the payload to distination URL
|
![]() |
SetLanguage |
Sets the current language based on the given abbreviation.
Clears cached engines when the language changes.
(Inherited from AdvantageApiControllerBase.) |
![]() |
SiteSettings()()()() |
Gets the site settings as a dynamic object.
(Inherited from AdvantageApiControllerBase.) |
![]() |
SiteSettings<(Of <<'(T>)>>)()()()() |
Gets the site settings for the specified type.
(Inherited from AdvantageApiControllerBase.) |
![]() |
Subscribe |
placeholder for allow admin to subscribe a webhook to AdvantageCSP
the payload can be any json object which will contains data we need to handle
this subscription logic
|
Properties
Name | Description | |
---|---|---|
![]() |
CurrentContext |
Gets the current context.
(Inherited from AdvantageApiControllerBase.) |
![]() |
CurrentDomain |
Gets the current domain.
(Inherited from AdvantageApiControllerBase.) |
![]() |
CurrentLanguage |
Gets or sets the current language for the API.
Setting this clears any cached engines.
(Inherited from AdvantageApiControllerBase.) |
![]() |
CurrentSql |
Gets the current SQL connection manager.
(Inherited from AdvantageApiControllerBase.) |
![]() |
Languages |
Gets the list of languages available for the current domain.
(Inherited from AdvantageApiControllerBase.) |
![]() |
ModuleEngine |
Gets the module engine for the current context, domain and language.
(Inherited from AdvantageApiControllerBase.) |
![]() |
NavigationEngine |
Gets the navigation engine for the current context, domain and language.
(Inherited from AdvantageApiControllerBase.) |
![]() |
RouteValues |
Gets the route values from the current HTTP request.
This property checks if the route data is stored in "MS_SubRoutes" (used in attribute routing)
and extracts values accordingly. If "MS_SubRoutes" is not found, it falls back to direct extraction.
(Inherited from AdvantageApiControllerBase.) |