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.0.4
[HttpGetAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<AllSearchQueryMetadataResponse>> GetAll(
[FromQueryAttribute] bool public = false,
CancellationToken cancellationToken = default
)
<HttpGetAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<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)]
[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)>]
[<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.