Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padronizar os endpoints de criadores de cursos #5

Open
BernardoSM opened this issue Nov 12, 2023 · 0 comments
Open

Padronizar os endpoints de criadores de cursos #5

BernardoSM opened this issue Nov 12, 2023 · 0 comments
Assignees

Comments

@BernardoSM
Copy link
Contributor

BernardoSM commented Nov 12, 2023

Retornar as imagens

GET /creators/images

Response

[
  {
    "fileName": "string"
  }
]

Gerar a url pré assinada para fazer upload no S3

POST /creators/images/sign-url

Body

{
  "fileType": "string"
}

Response

{
  "signedUrl": "string",
  "filePath": "string"
}

Adicionar imagem

POST /creators/images

Body

{
  "url": "string"
}

Deletar imagem

DELETE /creators/images/{fileName}

@mrarticuno mrarticuno self-assigned this Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants