WidgetTemplatesControllerGetTemplatesInfo - метод

Retrieves the widget templates info for the specified kind and type of dashboard, if any.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpGetAttribute("info")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult> GetTemplatesInfo(
	[FromQueryAttribute] DashboardType dashboardType,
	[FromQueryAttribute] WidgetTemplatesKind? kind = null,
	[FromQueryAttribute] string? token = null,
	CancellationToken cancellationToken = default
)

Параметры

dashboardType  DashboardType
Dashboard types.
kind  NullableWidgetTemplatesKind  (Optional)
The kind of widget templates.
token  String  (Optional)
Serialized token used for widget access control.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskActionResult
Obbject with a collection of WidgetTemplateInfo and an optional updated DashboardToken.

См. также