WorkplacesControllerPutPrivateSettings - метод
Save current user's settings for specified workplaces,
including tree width, option to show empty folders, etc.
Settings are unavailable for other users.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPutAttribute("private/settings")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PutPrivateSettings(
[FromBodyAttribute] List<JsonWorkplaceSettingsMetadata> metadataList,
CancellationToken cancellationToken = default
)
<HttpPutAttribute("private/settings")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PutPrivateSettings (
<FromBodyAttribute> metadataList As List(Of JsonWorkplaceSettingsMetadata),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPutAttribute(L"private/settings")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PutPrivateSettings(
[FromBodyAttribute] List<JsonWorkplaceSettingsMetadata^>^ metadataList,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPutAttribute("private/settings")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PutPrivateSettings :
[<FromBodyAttribute>] metadataList : List<JsonWorkplaceSettingsMetadata> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- metadataList ListJsonWorkplaceSettingsMetadata
- Workplace settings to save.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResult204 (No Content).