3

I am planning to create few triggers in mongodb atlas using nodejs. I found mongodb-stitch-server-sdk library which kind of helps me to connect to stitch application but I couldn't find anything which can help me create a trigger.

Can anyone point me to write documentation or example to do so? I am open to use API as well if it exists.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Ashish Modi
  • 7,529
  • 2
  • 20
  • 35

1 Answers1

1

You can do a POST to /groups/{groupid}/apps/{appid}/triggers. Triggers API docs: https://docs.mongodb.com/stitch/admin/api/admin-v3/#event-trigger-apis

haley
  • 1,165
  • 7
  • 13