AiRagControllerPostCancelIndexing - метод
Cancels an ongoing document indexing request for a specific collection and document.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
[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
)
<HttpDeleteAttribute("indexing/{collectionID:guid}/{documentID:guid}")>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function PostCancelIndexing (
<FromRouteAttribute> collectionID As Guid,
<FromRouteAttribute> documentID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpDeleteAttribute(L"indexing/{collectionID:guid}/{documentID:guid}")]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PostCancelIndexing(
[FromRouteAttribute] Guid collectionID,
[FromRouteAttribute] Guid documentID,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute("indexing/{collectionID:guid}/{documentID:guid}")>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member PostCancelIndexing :
[<FromRouteAttribute>] collectionID : Guid *
[<FromRouteAttribute>] documentID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- 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