Configure a source for the google backend

Required ACL: dird.backends.google.sources.create

This resource configures a Google source for wazo-dird. Columns that are available from this source are:

  • name: the contact name
  • numbers: a list of phone numbers
  • numbers_by_label: a map of type to numbers {'mobile': , 'home': , ...}. Types are defined by Google, currently known types include: 'home', 'work', 'mobile', 'other', 'main', 'home_fax', 'work_fax', 'google_voice', 'pager'.
  • numbers_except_label: a map from type to every other number {'mobile': [, <number], 'home': [, ], ...}. See available types above. For example, the 'mobile' key will contain the 'work' and 'home' numbers, but will exclude the 'mobile' number.
  • emails: a list of email addresses
Language
URL
Click Try It! to start a request and see the response here!