This ticket will hold general commits done for implementing the profile activity with its related API endpoints. The following endpoints will be grouped for the sake of clarity:
/api/v1/me: Returns the identity of the user currently authenticated via OAuth. Currently stored in local DB and obtained upon Login.
/blocked: Returns a Listing of type UserList
/friends: Returns a Listing of type UserList
/karma
/prefs: Currently stored in local DB and obtained upon Login.
/trophies
Users
/api/v1/me/friends/username: operates with GET, PUT (add or update a friend), DELETE (remove a friend)
/api/v1/user/username/trophies
/user/username: common prefix
/about: Returns a Listing of type t2
/comments: Returns a Listing of type t1
/submitted: Returns a Listing of type t3
/upvoted: Returns a Listing of type t3
/downvoted: Returns a Listing of type t3
/overview: Returns a Listing of type t1 AND t3
/saved: Returns a Listing of type t1 AND t3
/gilded: Returns a Listing of type ??
Possible:
Friends
/r/friends: To view submissions from friends (common prefix)
/comments: To view comments from friends
/gilded: To view comments friends received gold on
This ticket will hold general commits done for implementing the profile activity with its related API endpoints. The following endpoints will be grouped for the sake of clarity:
Subtasks: #62
https://www.reddit.com/dev/api
t1 Comment t2 Account t3 Link UserList User List
Account
/api/v1/me: Returns the identity of the user currently authenticated via OAuth. Currently stored in local DB and obtained upon Login. /blocked: Returns a Listing of type UserList /friends: Returns a Listing of type UserList /karma /prefs: Currently stored in local DB and obtained upon Login. /trophies Users
/api/v1/me/friends/username: operates with GET, PUT (add or update a friend), DELETE (remove a friend) /api/v1/user/username/trophies /user/username: common prefix /about: Returns a Listing of type t2 /comments: Returns a Listing of type t1 /submitted: Returns a Listing of type t3 /upvoted: Returns a Listing of type t3 /downvoted: Returns a Listing of type t3 /overview: Returns a Listing of type t1 AND t3 /saved: Returns a Listing of type t1 AND t3 /gilded: Returns a Listing of type ?? Possible:
Friends
/r/friends: To view submissions from friends (common prefix) /comments: To view comments from friends /gilded: To view comments friends received gold on