It will set deviceId parameter to the actual particle ID instead of using the {{d}} parameter. I was scratching my head for a while trying to figure this one out.
Well, I think that when I use particle webhook create something.json it should output some warning/error text if there is already a webhook with the same name.
adding particle webhook update something.json would be a nice to have.
Interesting, thanks for the idea! Sure, the CLI could warn you with a “Hey, this is allowed, but did you mean to add another one of these?” sort of warning? I threw an issue on the CLI for this here:
I concur. I was going nuts until I realized that creating a new version of a webhook merely added a new hook with the same name and they both/all get run, as I understand it. Once I learned this, I then deleted the current webhook and then did the create. I think having multiple webhooks with the same name could be advantageous in certain situations, so I would like to see that capability continue. As @jkalberer suggests, perhaps a warning would help the user be aware of the existence of older webhook(s) with the same name.