Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

User Blob

vhpoet edited this page Dec 19, 2014 · 1 revision

User blob is a datastore for user's contacts and client specific settings.

Format

{
  data: {
    account_id: '',
    contacts: '',
    created: '',
    email: '',
    clients: {
      rippletradecom: {}
    }
  },
  device_id: '',
  encrypted_secret: '',
  id: '',
  identity: '',
  identity_id: '',
  key: '',
  meta: '',
  missing_fields: '',
  revision: '',
  url: ''
}

Adding client specific configs

All the client specific configs should go to data.clients.{clientname}.{configname}. For example Ripple Trade notification settings should look like

data.clients.rippletradecom.notifications = {
  ...
}

Config naming

Please use mixedCase naming for your custom configs.