SchemeControllerGetFunction - метод

Get function by identifier. Returns 204 (No Content) if not found.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpGetAttribute("functions/{id:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public ValueTask<ActionResult<PlainSchemeFunction>> GetFunction(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

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

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

ValueTaskActionResultPlainSchemeFunction
Function, or 204 (No Content) if not found.

См. также