This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Description
This API call takes three parameters:
choirId - the id of the choir
songId - the id of the song whose part is being uploaded
partId - the id of the song part being uploaded
extension - the file extension e.g. webm (without the .)
It assumes that POST /choir/songpart has already been called to generate a partId - that API call records the data in the database. This API call grants access to upload the video file by creating a presigned URL that can be used by the front-end to upload the song part without having access to COS.
Returns:
{
ok: true,
method: 'PUT',
url: 'https://some.url.com/path/key',
key: 'x+y+z.web',
bucket: 'mybucket'
}
The supplied URL will only work for a ten minutes.