GetProfileList, GetProfileByUser, GetByID, CreateProfile, UpdateProfile, ResetProfileCache
: routes are available now at the moment and more
services/features will be added soon.
# | Methods | Path | Types | Description |
---|---|---|---|---|
1 | GET |
https://gopherscom.herokuapp.com/protected/profile/list
|
{String, Objects, Slice} |
'/profile/list' route will allow you to fetch slices of profile object data from
Postgresql/Redis
Database.{ Authenitication with valid accessToken is required } |
2 | GET |
https://gopherscom.herokuapp.com/protected/profile/byuser
|
{String, Objects } |
'/profile/byuser' route will allow you to fetch profile object data from
Postgresql/Redis
Database using `userid`.{ Authenitication with valid accessToken is required } |
3 | GET |
https://gopherscom.herokuapp.com/protected/profile/byid?id={}
|
{String, Objects} |
'/' route will allow you to fetch only specific Profile Object based
on profileid .{ refreshToken need to be valid } |
4 | POST |
https://gopherscom.herokuapp.com/protected/profile/new
|
{String, Slices, Points, Number} |
'/profile/new' route will allow you to add user profile data to database.{ Authenitication with valid accessToken is required } |
5 | PUT |
https://gopherscom.herokuapp.com/protected/profile/update
|
{String, Slices, Points, Number} |
'/profile/update' route will allow you to update Profile with
{id} to database.
{ Authenitication with valid accessToken is required } . |
6 | DELETE |
https://gopherscom.herokuapp.com/protected/profile/resetcache
|
{String} |
'/' route will allow you to reset all Profile data in
Redis cache .
{ Authenitication with valid accessToken is required } . |
- It's recommended not to reset Cache Data for Profile if the request doesn't stuck in
errors
orovercached
. As a result of removing cache, data fetching from Postgresql will be a bit slower than from retrieving from Cache .