Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: List SDK scripts

...

The SDK is comprised of a number of scripts. core.js is always required but the others are optional - include the ones you need. Here is the complete list of SDK scripts:

https://api.dialogportal.com/v1/sdk/v1/core.js

https://api.dialogportal.com/v1/sdk/v1/entity.js

https://api.dialogportal.com/v1/sdk/v1/preference.js

https://api.dialogportal.com/v1/sdk/v1/terms.js

Note

The SDK uses AJAX to interact with the API. It uses native JavaScript/ECMAScript functionality (XMLHttpRequest), but when jQuery is present on the page then jQuery will be used instead.

...

cbSuccess: Sends a terms version text object, with authenticated entity details merged into the text, see 2111: Get terms version text for entity

Fetch terms version text, as described in 2111: Get terms version text for entity. Note that the SDK automatically base64-decodes the resulting text, so it can be used directly.

...