Save card with its files contents. Similar to request PostStore(CardStoreRequest, CancellationToken), but allows to provide files contents in form of multipart/form-data in request body (files are attached to the card as being created or replaced).
First part is form data form-data with attributes being named according to CardStoreFilesRequest: "Header" is CardHeader object (typed JSON), and "Request" is CardStoreRequest object (typed JSON).
Consequent parts are binary file contents application/octet-stream in the order, resolved by GetOrderedFiles method of CardHeader object.
[HttpPostAttribute("store-files")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[DisableRequestSizeLimitAttribute]
[DisableFormValueModelBindingAttribute]
[ConsumesAttribute("multipart/form-data", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardStoreResponse>> PostStoreFiles(
CancellationToken cancellationToken = default
)
<HttpPostAttribute("store-files")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<DisableRequestSizeLimitAttribute>
<DisableFormValueModelBindingAttribute>
<ConsumesAttribute("multipart/form-data", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostStoreFiles (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardStoreResponse))
public:
[HttpPostAttribute(L"store-files")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[DisableRequestSizeLimitAttribute]
[DisableFormValueModelBindingAttribute]
[ConsumesAttribute(L"multipart/form-data", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<CardStoreResponse^>^>^ PostStoreFiles(
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("store-files")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<DisableRequestSizeLimitAttribute>]
[<DisableFormValueModelBindingAttribute>]
[<ConsumesAttribute("multipart/form-data", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostStoreFiles :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<CardStoreResponse>>