AiFilesControllerPutCardFile - метод

Put the physical file attached to the card into AI cache, and start a requested operation with such a file. Returns Status404NotFound if the file version is not present in any card. Returns Status403Forbidden if file is inaccessible.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpPutAttribute("card/{versionId:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(404)]
public Task<ActionResult<AiFileOperationResponse>> PutCardFile(
	[FromRouteAttribute] Guid versionId,
	[FromQueryAttribute] AiFileRequestOperation operation = AiFileRequestOperation.AsIs,
	CancellationToken cancellationToken = default
)

Параметры

versionId  Guid
Version identifier of a card's file to put into AI cache.
operation  AiFileRequestOperation  (Optional)
Operation to be performed alongside putting the file in AI cache.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResultAiFileOperationResponse
Status and access info on a file in AI cache.

См. также