SearchQueriesControllerGetAll - метод

Get all search queries available for the user, or public queries available for all users, determined by query parameter public.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<AllSearchQueryMetadataResponse>> GetAll(
	[FromQueryAttribute] bool public = false,
	CancellationToken cancellationToken = default
)

Параметры

public  Boolean  (Optional)
true if public queries are returned available for all users; false if its personal queries available for the user.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultAllSearchQueryMetadataResponse
Requested search queries.

См. также