/user/contacts
Returns all users this user can see - typically because they share communities
Possible Methods
GET
Arguments
n/a
Example
curl -b cookies.txt -X GET "http://localhost:8185/user/contacts" > response.txt
Example Response
curl -b cookies.txt -X GET "http://localhost:8185/user/contacts" > response.txt
{ "response": { "action": "User/Contact", "success": true, "message": "Returned contacts successfully", "time": 0 }, "data": [ { "_id": "dfsdf4554", "created": "Oct 1, 2013 09:00:41 PM UTC", "modified": "Oct 15, 2013 12:20:24 PM UTC", "accountStatus": "active", "email": "sdfdsf@dfd.com", "firstName": "aasdfas", "lastName": "asfsd", "displayName": "aasdfas asfsd", "phone": "555-555-5555", "communities": [ { "_id": "4c927585d591d31d7b37097a", "name": "Infinit.e System" }, { "_id": "5249b93ce4b07a9911873b19", "name": "Gezi" }, { "_id": "525462bce4b01f1c47175cc2", "name": "Safeway" } ] }, { "_id": "dfsdf4554", "created": "Oct 1, 2013 09:00:41 PM UTC", "modified": "Oct 15, 2013 12:20:24 PM UTC", "accountStatus": "active", "email": "sdfdsf@dfd.com", "firstName": "aasdfas", "lastName": "asfsd", "displayName": "aasdfas asfsd", "phone": "555-555-5555", "communities": [ { "_id": "4c927585d591d31d7b37097a", "name": "Infinit.e System" }, { "_id": "5249b93ce4b07a9911873b19", "name": "Gezi" }, { "_id": "525462bce4b01f1c47175cc2", "name": "Safeway" } ] } } }
0 Comments