AiRagControllerPostCancelIndexing - метод

Cancels an ongoing document indexing request for a specific collection and document.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
[HttpDeleteAttribute("indexing/{collectionID:guid}/{documentID:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PostCancelIndexing(
	[FromRouteAttribute] Guid collectionID,
	[FromRouteAttribute] Guid documentID,
	CancellationToken cancellationToken = default
)

Параметры

collectionID  Guid
The unique identifier of the collection.
documentID  Guid
The unique identifier of the specific document.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskActionResult

См. также