Labs/Contacts/ContentAPI: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 13: Line 13:
For example, a fields argument could be <tt>["displayName", "emails", "phoneNumbers", "name.givenName"]</tt>.
For example, a fields argument could be <tt>["displayName", "emails", "phoneNumbers", "name.givenName"]</tt>.


Also note the special field argument "idHash", which returns to MD5 hash of all the email addresses of the contact. (TODO: automatically salt the hash with the hostname?)


* <tt>successCallback</tt> is a function that will be called when the contact result set is found.  It takes a single argument, which is an array of objects.
* <tt>successCallback</tt> is a function that will be called when the contact result set is found.  It takes a single argument, which is an array of objects.
348

edits

Navigation menu