fileUpload
Creates a file from an upload id.
Changed onAfter a file has been uploaded to an upload URL generated from the <see cref="T:Awork.Files.Service.Feature.FileUpload.Endpoints.PostGenerateUploadURL" /> endpoint, this endpoint can be used to create a file tasktemplate from the uploaded file by providing the upload id.
<Check title="Required Permissions" icon="key">Any authenticated user.</Check>
post/tasktemplates/{tasktemplateId}/files/byuploadid
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/tasktemplates/{tasktemplateId}/files/byuploadid
- Auth: HTTP bearer
Path parameters
tasktemplateIdstring uuid required
The id of the tasktemplate to attach the file to.
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostUploadByUploadIdremoved and replaced withfileUpload_PostUploadByUploadId
- info