WorkplacesControllerGetPrivateMetadata - метод
Get current user's metadata extensions for all accessible workplaces, such as info on private search queries.
Its unavailable for other users.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("private/metadata")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<IJsonWorkplaceUserExtensionMetadata>> GetPrivateMetadata(
CancellationToken cancellationToken = default
)
<HttpGetAttribute("private/metadata")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetPrivateMetadata (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of IJsonWorkplaceUserExtensionMetadata))
public:
[HttpGetAttribute(L"private/metadata")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<IJsonWorkplaceUserExtensionMetadata^>^>^ GetPrivateMetadata(
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("private/metadata")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetPrivateMetadata :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<IJsonWorkplaceUserExtensionMetadata>>
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultIJsonWorkplaceUserExtensionMetadataCurrent user's metadata extensions for all accessible workplaces.