bucket folder you want to hold the attachment
content type of the attachment
content length of the attachment
attachment upload configurations
injected service use to handle the attachment related operations
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This handler is used to get an attachment upload url by applying the following steps in sequence:
Check if contentType is allowed
Check if contentLength is bigger than allowed max content length
Generate upload signed url (attachmentService.generateUploadSignedUrl)
Return the upload signed url
400 NBError Bad Request
{
"data": "https://example.com/signed-url"
}
Generated using TypeDoc
Get an attachment upload url