createAttachmentUrl

abstract suspend fun createAttachmentUrl(): HubPayload<Map<HttpMethod, URL>>

Retrieves a pair of URL which then can be used to upload and transfer attachments via hub-server.

Returns a HubPayload which encapsulates the outcome. In case it is successful the value is the resulted Map<HttpMethod, URL> or the error if it is failure.