Discussions
IRC
Sign In
Bug Reports
Trigger Update
Vote Up
0
Vote Down
TQwr1jszr5NZUxMT
March 2013
How can you update a trigger? I.E. If I wanted to change the message or url callback after it is created?
2 Comments
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Doogle
March 2013
What about this workflow. Delete the trigger on the place and then re-create the trigger on the place. This falls within the API's current capabilities and would achieve the same.
curl -v -H "Accept: application/json" -H "Authorization: OAuth <your-token-here>" "
https://api.geoloqi.com/1/trigger/delete/<your-trigger-id-here>
?"
curl -v -H "Accept: application/json" -H "Authorization: OAuth
<your-token-here>
" -X POST -d '{"type": "message", "text": "The golden ticket is near!", "trigger_on":"enter", "one_time":0, "place_id":"<your-place-id-here>"}' --url
https://api.geoloqi.com/1/trigger/create
In the upcoming release we do have plans for adding more CRUD capabilities. Stay tuned.
-Doug C.
Vote Up
0
Vote Down
TQwr1jszr5NZUxMT
March 2013
Looking forward to the upcoming release.....
I really want to keep the same trigger id, as I am doing some metrics on them....I can live with it for now....
Thanks for all your hard work!
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
340
Bug Reports
89
Feature Requests
7
Support
88
Layers
132
General
24
In this Discussion
Doogle
March 2013
TQwr1jszr5NZUxMT
March 2013
Powered by Vanilla