From 65d53d76e8b934f78cbcaf2e92cd4446b641deb6 Mon Sep 17 00:00:00 2001 From: eeckert Date: Wed, 6 Dec 2023 15:37:11 +0000 Subject: [PATCH] update git --- main/go.code-workspace | 12 ++++++++++++ webhook.ps1 | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 main/go.code-workspace create mode 100644 webhook.ps1 diff --git a/main/go.code-workspace b/main/go.code-workspace new file mode 100644 index 0000000..78d6565 --- /dev/null +++ b/main/go.code-workspace @@ -0,0 +1,12 @@ +{ + "folders": [ + { + "path": "../../../../workspaces/go" + }, + { + "name": "EgnyteWebHookHandler", + "path": ".." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/webhook.ps1 b/webhook.ps1 new file mode 100644 index 0000000..70d438a --- /dev/null +++ b/webhook.ps1 @@ -0,0 +1,11 @@ +$header = @{'Authorization' = 'Bearer 9cht7d3p565qnk3nbh3xbj7e'} +$body = '{ + "url":"https://api.mpe.ca/egnytewebhook", + "eventType": [ + "fs:add_folder", + "fs:move_folder", + "fs:copy_folder" + ], + "path": "/Shared/MPE_Dev_Testing/FolderCreation" +}' +