getData

context.getData('scope', 'visibility', 'key') - Retrieving addon data within a specific call context.

Arguments
argumentTypeDescription
scopestringInvocation context. Currently, only 'card' and 'user'.
visibilitystringOne of - private or shared: private - data is saved only for the current user, other users won't see the data. shared - data is saved for all users and will be visible to any authorized user. note - only private is supported for user scope
keystringThe key of the desired value.

Return value - Promise

await context.getData('card', 'private', 'timerLog')
await context.getData('user', 'private', 'info')
logo
Kaiten
If you have any questions or need help with integration feel free to write us at support@kaiten.io