SearchQueriesControllerGetAll - метод
Get all search queries available for the user, or public queries available for all users,
determined by query parameter public.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<AllSearchQueryMetadataResponse>> GetAll(
[FromQueryAttribute] bool public = false,
CancellationToken cancellationToken = default
)
<HttpGetAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetAll (
<FromQueryAttribute> Optional public As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of AllSearchQueryMetadataResponse))
public:
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<AllSearchQueryMetadataResponse^>^>^ GetAll(
[FromQueryAttribute] bool public = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetAll :
[<FromQueryAttribute>] ?public : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _public = defaultArg public false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<AllSearchQueryMetadataResponse>>
- 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.
TaskActionResultAllSearchQueryMetadataResponseRequested search queries.