Skip to content

Instantly share code, notes, and snippets.

@trottier
Created August 25, 2019 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save trottier/d4dc9d16dd9045d6c871fbf1edea5e4d to your computer and use it in GitHub Desktop.
Save trottier/d4dc9d16dd9045d6c871fbf1edea5e4d to your computer and use it in GitHub Desktop.
{
"event": "hckrpt",
"responseTopic": "hook-response/hckrpt/{{{PARTICLE_DEVICE_ID}}}",
"errorResponseTopic": "hook-error/hckrpt/{{{PARTICLE_DEVICE_ID}}}",
"url": "https://api.hackerpet.com/v1/webhook?sheet_id=<ADD_YOUR_SHEET_ID_HERE>",
"requestType": "POST",
"noDefaults": true,
"rejectUnauthorized": true,
"responseTemplate": "",
"json": "{\n \"event\": \"{{{PARTICLE_EVENT_NAME}}}\",\n \"data\": {{{PARTICLE_EVENT_VALUE}}},\n \"coreid\": \"{{{PARTICLE_DEVICE_ID}}}\",\n \"published_at\": \"{{{PARTICLE_PUBLISHED_AT}}}\"\n}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment