cham / TeslaAPI

Tesla forum database and RESTful API
11 stars 9 forks source link

Need a user profile call #1

Closed cham closed 10 years ago

cham commented 11 years ago

Possibly:

/user/:username/profile

don't think we'll need a summary version. Needs to return all the info required for the user profile page, and I guess we should strip out participated, favourites etc from the user document to cut down on the returned JSON size.

cham commented 11 years ago

or, add a summary version

/user:/username/profile/summary

and strip the lists in there / replace them with a count (see comments list handling in /threads/summary)

cham commented 10 years ago

I don't think this is required any more, the users preferences / settings / whatever are on the user object