AiPromptTestEngineControllerRun - метод

Saves the files to the database and starts the testing operation.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
[HttpPostAttribute("run")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("multipart/form-data", new string[] { ... })]
[DisableRequestSizeLimitAttribute]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(400)]
public Task<IActionResult> Run(
	IFormFileCollection testFiles,
	[FromQueryAttribute] Guid requestID,
	CancellationToken cancellationToken = default
)

Параметры

testFiles  IFormFileCollection
Test files.
requestID  Guid
Request ID. Generated by the client.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskIActionResult
ID of the running operation.

См. также