SchemeControllerPutPartition - метод

Save partition, creating new one or modifying existent. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPutAttribute("partitions/{id:guid}")]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(201)]
public ValueTask<IActionResult> PutPartition(
	[FromRouteAttribute] Guid id,
	[FromBodyAttribute] PlainSchemePartition partition,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of partition to save.
partition  PlainSchemePartition
Partition to save.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

ValueTaskIActionResult
204 (No Content).

См. также