WorkplacesControllerPutPrivateMetadata - метод
Save current user's metadata extensions for a workplace: add search query or folder to workplace tree, etc.
Its unavailable for other users.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPutAttribute("private/metadata")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PutPrivateMetadata(
[FromBodyAttribute] PlainWorkplaceComponentMetadata metadata,
CancellationToken cancellationToken = default
)
<HttpPutAttribute("private/metadata")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PutPrivateMetadata (
<FromBodyAttribute> metadata As PlainWorkplaceComponentMetadata,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPutAttribute(L"private/metadata")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PutPrivateMetadata(
[FromBodyAttribute] PlainWorkplaceComponentMetadata^ metadata,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPutAttribute("private/metadata")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PutPrivateMetadata :
[<FromBodyAttribute>] metadata : PlainWorkplaceComponentMetadata *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- metadata PlainWorkplaceComponentMetadata
- Metadata extensions to save.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResult204 (No Content).