CardsController.PostGetFileVersions - метод
Загружает список версий для файла с указанными параметрами.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.23
[HttpPostAttribute("get-file-versions")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardGetFileVersionsResponse>> PostGetFileVersions(
[FromBodyAttribute] CardGetFileVersionsRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-file-versions")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGetFileVersions (
<FromBodyAttribute> request As CardGetFileVersionsRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardGetFileVersionsResponse))
public:
[HttpPostAttribute(L"get-file-versions")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<CardGetFileVersionsResponse^>^>^ PostGetFileVersions(
[FromBodyAttribute] CardGetFileVersionsRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-file-versions")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGetFileVersions :
[<FromBodyAttribute>] request : CardGetFileVersionsRequest *
?cancellationToken : CancellationToken
-> Task<ActionResult<CardGetFileVersionsResponse>>
- request CardGetFileVersionsRequest
- Запрос на загрузку списка версий.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
Task<ActionResult<CardGetFileVersionsResponse>>Ответ на запрос на загрузку списка версий.