Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RequiredNameTypeDescription
Yes
UIDstringThe unique ID of the user to which to associate the uploaded photo.
Yes
regTokenstringThe regToken returned from accounts.initRegistrationaccounts.register or accounts.login API calls when the registration process has not been finalized. Please note that the regToken you receive from Gigya is valid for only one hour.
 * You are required to pass only one of the parameters either UID or regToken.
No
photoBytesstringA BASE64 encoded string representation of the photo bytes. The size limit of the photo is 3MB6MB, and the supported image types are png, jpeg, and gif.
No
publishBooleanIndicates whether to publish this photo to the user's profile or treat it as a temporary photo. The default value is 'false', i.e. the photo is temporary. You can later publish a temporary photo using the accounts.publishProfilePhoto API method. If published, the photo is saved in the photoURL field of the user's Profile, in addition the photo is trimmed to the size defined in the site's Policies (64X64 by default) and saved in the thumbnailURL field.

...