The couchbase sync gateway REST API allows for the inclusion of an email address in the JSON that is PUT
at the registration URI _user/<foo>
. In my use case I'd like to implement phone number registration via SMS and to include the phone number in the sync gateway user record created in the bucket. This will avoid my having to create a separate document to store a phone number in. Is there any way to specify custom fields that can be included in the JSON sent via the PUT
method?
Asked
Active
Viewed 67 times
1

mikesol
- 1,177
- 1
- 11
- 20
-
I don't think it's currently supported. But you should open a feature request on the sync_gateway repo on GitHub. Seems like a useful functionality to have. – jamiltz Feb 17 '16 at 14:58