SchemeControllerPutStoreFunction - метод

Save function, 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("functions/{id:guid}")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(201)]
public ValueTask<IActionResult> PutStoreFunction(
	[FromRouteAttribute] Guid id,
	[FromBodyAttribute] PlainSchemeFunction function,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of function to save.
function  PlainSchemeFunction
Function to save.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

ValueTaskIActionResult
204 (No Content).

См. также