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

[Usuário][Contas] - Expor o endpoint para consulta de contas de redes sociais do usuário logado #39

Closed
Alecell opened this issue Apr 29, 2024 · 1 comment · Fixed by #100
Assignees

Comments

@Alecell
Copy link

Alecell commented Apr 29, 2024

Depende #17
Criar UserController com método getAccounts() que irá receber um query parameter id, com a informação do id do usuário.

Sugestões:

Requisição

  • Rota: /api/users/:id/accounts
  • Método HTTP: GET
  • Header:
    • Authorization

Resposta

  • Código HTTP: 200
  • Corpo da resposta:
[
   {
      "id":"d215f543-f05c-40c2-a665-1a98f108bb5c",
      "avatarUrl":"https://backend/files/image.png",
      "socialMedia":{
         "id":1,
         "name":"Facebook"
      }
   }
]
@Alecell Alecell converted this from a draft issue Apr 29, 2024
@kvnbg kvnbg added this to the [Usuário] - Contas milestone Apr 29, 2024
@TheGzuckert
Copy link
Contributor

Eu quero!!!

@Alecell Alecell moved this from Todo to In Progress in Octopost Backend May 15, 2024
@DominMFD DominMFD moved this from In Progress to Pending Approval in Octopost Backend Jun 5, 2024
@k1nha k1nha closed this as completed in #100 Jun 6, 2024
@kvnbg kvnbg moved this from Pending Approval to Done in Octopost Backend Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants