Closed
Bug 922752
Opened 12 years ago
Closed 12 years ago
Add read-only user information route
Categories
(Webmaker Graveyard :: Login, defect)
Webmaker Graveyard
Login
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jon, Assigned: jon)
Details
Proposal: we should add a read-only information route to the loginapi so that we can build apps that only require the webmaker user name, not their email address.
My use case for this would be the user profile backend, where we already know which user we want to access data from. The problem is that the loginapi requires credentials to access any information. Since the MakeAPI doesn't require credentials, it'd be nice to have the loginapi also not require credentials.
I imagine the API might simply be
GET /user/:user
which returns (:user=jon):
{
"user": {
"id": 358,
"username": "jon",
"createdAt": "2013-07-29T20:38:56.000Z",
"emailHash": "7fc0a83242c7c0d724124a7a0536ee38"
}
}
Thoughts?
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jon
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•12 years ago
|
||
When we run into an app that uses this, then we can add it. Not before then!
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•