Skip to content

Instantly share code, notes, and snippets.

@iaindooley
Created November 19, 2018 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/776a217b47ac619f77dddb884acadb14 to your computer and use it in GitHub Desktop.
Save iaindooley/776a217b47ac619f77dddb884acadb14 to your computer and use it in GitHub Desktop.
Notification when creating cards
{ model:
{ id: '5b0a731f239d107850fce740',
name: 'Iain Dooley Sandbox',
desc: '',
descData: null,
closed: false,
idOrganization: null,
pinned: false,
url: 'https://trello.com/b/stjSlLWV/iain-dooley-sandbox',
shortUrl: 'https://trello.com/b/stjSlLWV',
prefs:
{ permissionLevel: 'private',
voting: 'disabled',
comments: 'members',
invitations: 'members',
selfJoin: false,
cardCovers: true,
cardAging: 'regular',
calendarFeedEnabled: false,
background: '5b02be4e0ee3c46494d6d524',
backgroundImage: 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2560x1708/ca2d940919cbea2d6301ceda889cafc6/photo-1526857240824-92be52581d9b',
backgroundImageScaled: [Array],
backgroundTile: false,
backgroundBrightness: 'light',
backgroundBottomColor: '#a2bed0',
backgroundTopColor: '#eabcb2',
canBePublic: true,
canBeOrg: true,
canBePrivate: true,
canInvite: true },
labelNames:
{ green: '',
yellow: 'Work',
orange: '',
red: 'Mute',
purple: '',
blue: '',
sky: '',
lime: '',
pink: '',
black: '' } },
action:
{ id: '5bf249c93605e421f19729fa',
idMemberCreator: '4e701540b048eaf36002bec6',
data: { board: [Object], list: [Object], card: [Object] },
type: 'createCard',
date: '2018-11-19T05:27:37.826Z',
limits: {},
display: { translationKey: 'action_create_card', entities: [Object] },
memberCreator:
{ id: '4e701540b048eaf36002bec6',
avatarHash: 'eaa2e0c6d4b0673c20b7ce66a21eba37',
avatarUrl: 'https://trello-avatars.s3.amazonaws.com/eaa2e0c6d4b0673c20b7ce66a21eba37',
fullName: 'Iain Dooley',
idMemberReferrer: null,
initials: 'ID',
username: 'iaindooley' } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment