v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
fileUpload

Generates a URL to upload a file to.

Generates a URL that can be used to upload a file. Use the returned upload id to create a file entry. See <see cref="T:Awork.Files.Service.Feature.FileUpload.Endpoints.PostUploadByUploadId" /> for more information.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

post/files/generateuploadurl

Headers

Authorizationstring required

Bearer authentication

Response

OK

uploadIdstring required

The id of the temporary container that the file will be uploaded to.

uploadURLstring required

The URL that the client should upload the file to.