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

New API call - POST /choir/songpart/upload #63

Description

@glynnbird

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions