Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

Call:

notification of the campaign(s) status changes

 

Type

PubSub

Key

enigma:notifications:campaigns:<campaign_ref>

Payload

  • type: status
  • payload: <notif>
    • status: <status> campaign status
    • ref: <campaign_ref> campaign reference

Values:

<status>

The new campaign status:

  • started
  • stopped
  • completed
<campaign_ref>Your Campaign reference

Example:

# get notifications for all campaigns
psubscribe enigma:notifications:campaigns:*

# get notifications for campaign 1234
subscribe enigma:notifications:campaigns:1234

 

 

  • No labels