Repository files navigation
HTTP Method
URI path
Desription
Auth type
JSON
GET
/
Index page
public
GET
/pokemon
Pokemon gallery with filters
public
GET
/finder
Pokemon finder
public
GET
/pokemon/{id}
Pokemon details
public
GET
/trainers
Teams gallery
trainer
GET
/trainers/myteam
My team details
owner
GET
/trainers/myteam/add/{id}
Add a pokemon to my team
owner
POST
/trainers/myteam/delete/{id}
Delete a pokemon from my team
owner
GET
/register
Registration form
public
POST
/register
Registration in DB
public
GET
/login
Login form
public
POST
/login
Login in DB
public
GET
/logout
Logout
trainer
GET
/gym/gym-map
Google map with all the gyms
trainer
GET
/gym/create
Create a gym
leader
POST
/gym/create
Create a gym in DB
leader
POST
/gym/details/{id}
Gym Details
leader
GET
/gym/edit/{id}
Edit a gym
leader
POST
/gym/edit/{id}
Edit a gym in DB
leader
POST
/gym/delete/{id}
Delete a gym
leader
GET
/api/trainers
API to request trainers
API
✅?
GET
/api/gyms
API request gyms
API
✅
You can’t perform that action at this time.