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

Endpoints da API #2

Open
2 tasks
JoseCage opened this issue Oct 2, 2018 · 6 comments
Open
2 tasks

Endpoints da API #2

JoseCage opened this issue Oct 2, 2018 · 6 comments
Labels
enhancement 🚀 New feature or request hacktoberfest 🎉 Features and issues to be resolved in Hacktoberfest help wanted 🆘 Extra attention is needed

Comments

@JoseCage
Copy link
Owner

JoseCage commented Oct 2, 2018

Definir com base nos módulos e funcionalidades definidas, quais endpoints e métodos teremos implementados nos endpoints.

API - rotas

  • Autenticação

    • POST: /auth/login Login
    • POST: /auth/register Registo
  • Slang

    • GET: /v1/slangs Todas gírias
    • POST: /v1/slangs Adicionar nova gíria
@JoseCage JoseCage added enhancement 🚀 New feature or request help wanted 🆘 Extra attention is needed hacktoberfest 🎉 Features and issues to be resolved in Hacktoberfest labels Oct 2, 2018
@acidiney
Copy link

acidiney commented Oct 9, 2018

Modificação:

GET: v1/slang/{name?} - Todas as gírias ou uma em expecifico

Isso possibilitará a criação de um campo de texto para pesquisas personalizadas

@acidiney
Copy link

Começa a marcar as issues que estas a trabalhar jovem... Assim me complica

@JoseCage
Copy link
Owner Author

@acidiney por acaso marquei.

Conforme as actualizações de status acima.

screenshot-github com-2018 10 10-06-25-28

@JoseCage
Copy link
Owner Author

JoseCage commented Oct 10, 2018

v1/slang/{name?} - Todas as gírias ou uma em expecifico

@acidiney, /v1/slang quebra um pouco o padrão. Deixa sempre no plural o nome.
Exemplo: /v1/slangs/{name?}

@acidiney
Copy link

De acordo

@JoseCage
Copy link
Owner Author

Mais logo vou mandar um PR com todas rotas definidas.

Conforme combinado antes, podes ir trabalhando na #3 (algumas rotas de autenticação já definidas)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request hacktoberfest 🎉 Features and issues to be resolved in Hacktoberfest help wanted 🆘 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants