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

Buscar Pets por filtro #5

Open
algobob opened this issue Jun 11, 2019 · 0 comments
Open

Buscar Pets por filtro #5

algobob opened this issue Jun 11, 2019 · 0 comments

Comments

@algobob
Copy link

algobob commented Jun 11, 2019

Buscar todos os pets pelos filtros:

nome
raca
genero

o endpoint seguira o padrao REST

GET /pets

Dados da requisicao deverão ser enviados como json no body. A resposta retornada devera seguir o padrao Standard JSON API:

{ "success": true, "message": "Pets fetched successfully", "data": { "pets": [{ "id": 1, "name": "pet name", "breed": "pet breed", "gender": "pet gender", "age": 12 }, { "id": 2, "name": "pet name-2", "breed": "pet breed", "gender": "pet gender", "age": 13 }] } }

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

1 participant