Events List
Common attributes
All events share common attributes.
| Name | Type | Description |
|---|---|---|
| id | string | unique id identifier |
| date | date | date of the event |
| action | string | name of the action |
| user | object | user responsible of the event |
| change | object | metadata of the event, depending of the event |
Change attributes by action name
- createWorkshop
- updateWorkshop
- updateWorkshopView
- updateWorkshopVoteLimit
- removeVotes
- removeItems
- removeRatings
- removeAttachments
- removeComments
- removeCards
- addStep
- updateStep
- removeStep
- importCard
- addCard
- updateCard
- removeCard
- addItem
- updateItem
- removeItem
- addRating
- updateRating
- removeRating
- addVote
- updateVote
- removeVote
- addAttachment
- updateAttachment
- removeAttachment
- addInvitation
- removeInvitation
- updateInvitation
- addComment
- removeComment
- addSection
- updateSection
- removeSection
- addCriterium
- updateCriterium
- removeCriterium
- updateUserRole
- addUser
- addExport
- updateExport
- removeExport
createWorkshop
| Name | Type | Description |
|---|---|---|
| workshop | object | new workshop created |
updateWorkshop
| Name | Type | Description |
|---|---|---|
| workshop.id | string | workshop id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
updateWorkshopView
| Name | Type | Description |
|---|---|---|
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
updateWorkshopVoteLimit
| Name | Type | Description |
|---|---|---|
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeVotes
removeItems
removeRatings
removeAttachments
removeComments
removeCards
addStep
| Name | Type | Description |
|---|---|---|
| step | object | new step added |
updateStep
| Name | Type | Description |
|---|---|---|
| step | object | step updated |
removeStep
| Name | Type | Description |
|---|---|---|
| step | object | step to remove |
importCard
addCard
| Name | Type | Description |
|---|---|---|
| card | object | new card added |
updateCard
| Name | Type | Description |
|---|---|---|
| card.id | string | card id |
| card.title | string | card title |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeCard
| Name | Type | Description |
|---|---|---|
| card | object | card removed |
addItem
| Name | Type | Description |
|---|---|---|
| card | object | card’s item |
| item | object | new item added |
updateItem
| Name | Type | Description |
|---|---|---|
| card.id | string | card id |
| item.id | string | item id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeItem
| Name | Type | Description |
|---|---|---|
| card | object | card |
| item | object | item to remove |
| section | object | section |
addRating
| Name | Type | Description |
|---|---|---|
| card | object | card’s rating |
| rating | object | new rating added |
updateRating
| Name | Type | Description |
|---|---|---|
| card.id | string | card id |
| criterium.id | string | criterium id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeRating
| Name | Type | Description |
|---|---|---|
| card | object | card |
| rating | object | rating to remove |
addVote
| Name | Type | Description |
|---|---|---|
| card | object | card’s vote |
| vote | object | new vote added |
updateVote
| Name | Type | Description |
|---|---|---|
| card | object | card |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeVote
| Name | Type | Description |
|---|---|---|
| card | object | card |
| vote | object | vote to remove |
addAttachment
| Name | Type | Description |
|---|---|---|
| card | object | card’s attachment |
| attachment | object | new attachment added |
updateAttachment
| Name | Type | Description |
|---|---|---|
| card.id | string | card id |
| attachment.id | string | attachment id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeAttachment
| Name | Type | Description |
|---|---|---|
| card | object | card |
| attachment | object | attachment to remove |
addInvitation
| Name | Type | Description |
|---|---|---|
| invitation | object | new invitation added |
removeInvitation
| Name | Type | Description |
|---|---|---|
| invitation | object | the invitation removed |
updateInvitation
| Name | Type | Description |
|---|---|---|
| invitation.id | string | invitation id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
addComment
| Name | Type | Description |
|---|---|---|
| card | object | card’s comment |
| comment | object | new comment added |
removeComment
| Name | Type | Description |
|---|---|---|
| card | object | card |
| comment | object | comment to remove |
addSection
| Name | Type | Description |
|---|---|---|
| section | object | new section added |
updateSection
| Name | Type | Description |
|---|---|---|
| section.id | string | section id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeSection
| Name | Type | Description |
|---|---|---|
| section | object | section to remove |
addCriterium
| Name | Type | Description |
|---|---|---|
| criterium | object | new criterium added |
updateCriterium
| Name | Type | Description |
|---|---|---|
| criterium.id | string | criterium id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeCriterium
| Name | Type | Description |
|---|---|---|
| criterium | object | criterium to remove |
updateUserRole
| Name | Type | Description |
|---|---|---|
| user_role.id | string | user_role id |
| user.name | string | user’s name |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
addUser
| Name | Type | Description |
|---|---|---|
| user_role | object | new user role added |
| origin | string | origin of the workshop join: invitation / access_code / autojoin |
addExport
| Name | Type | Description |
|---|---|---|
| export | object | export added |
updateExport
| Name | Type | Description |
|---|---|---|
| export.id | string | export id |
| key | string | attribute changed |
| newValue | depend | new value |
| oldValue | depend | old value |
removeExport
| Name | Type | Description |
|---|---|---|
| export | object | export removed |