D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

CatalogueEvent Data Type

The CatalogueEvent super class

Properties
name data type constraints description
idsToNotify array of string required the username of the user you wish to notify
itemId string required the item identifier or name (it is used in the subject of the email)
notifyText string required the text that you want to write in the notification (text/plain format)
itemURL string required the URL to redirect when clicking on the notification
idsAsGroup boolean required boolean optionl field, set to true if the idsToNotify are contexts, default is false
type CatalogueEventType  

Example

{
  "idsToNotify" : [ "...", "..." ],
  "itemId" : "...",
  "notifyText" : "...",
  "itemURL" : "...",
  "idsAsGroup" : true,
  "type" : "ITEM_PUBLISHED"
}