|
Here's the endpoint:
/api/public/v1.0/users/byName/username@whatever.com
Example:
curl --digest -u michael.benoit@10gen.com:xxx "https://cloud.mongodb.com/api/public/v1.0/users/byName/bgrabar?pretty=true"
|
{
|
"emailAddress" : "bob.grabar@mongodb.com",
|
"firstName" : "Bob",
|
"id" : "50291d65e4b0ec5da2761e03",
|
"lastName" : "Grabar",
|
"links" : [ {
|
"href" : "https://cloud.mongodb.com/api/public/v1.0/users/50291d65e4b0ec5da2761e03",
|
"rel" : "self"
|
}, {
|
"href" : "https://cloud.mongodb.com/api/public/v1.0/users/50291d65e4b0ec5da2761e03/whitelist",
|
"rel" : "http://mms.mongodb.com/whitelist"
|
} ],
|
"mobileNumber" : "xxx",
|
"roles" : [ {
|
"roleName" : "GLOBAL_READ_ONLY"
|
}, {
|
"groupId" : "5421e046e4b09da19268b17f",
|
"roleName" : "GROUP_OWNER"
|
}, {
|
"groupId" : "5434915fe4b04c4baa772cf3",
|
"roleName" : "GROUP_OWNER"
|
} ],
|
"username" : "bgrabar"
|
}
|
Also, I put a comment on the Pull Request.
|