File tree 1 file changed +53
-1
lines changed
1 file changed +53
-1
lines changed Original file line number Diff line number Diff line change 1
- # EventKit
1
+ # Outpost
2
+
3
+ TODO: What is outpost?
4
+
5
+ ## Get Started
6
+
7
+ Start the Outpost dependencies and services:
8
+
9
+ ``` sh
10
+ make up
11
+ ```
12
+
13
+ Create a tenant:
14
+
15
+ ``` sh
16
+ curl --location --request PUT ' localhost:4000/api/v1/<TENANT_ID>' \
17
+ --header ' Content-Type: application/json' \
18
+ --header ' Authorization: Bearer <API_KEY>'
19
+ ```
20
+
21
+ Run a local server or use a hosted service such as the [ Hookdeck Console] ( https://console.hookdeck.com?ref=github-outpost ) to capture webhook events.
22
+
23
+ Create a webhook destination where events will be delivered to:
24
+
25
+ ``` sh
26
+ curl --location ' localhost:4000/api/v1/<TENANT_ID>/destinations' \
27
+ --header ' Content-Type: application/json' \
28
+ --header ' Authorization: Bearer <API_KEY>' \
29
+ --data ' {
30
+ "type": "webhooks",
31
+ "topics": ["*"],
32
+ "config": {
33
+ "url": "<URL>"
34
+ },
35
+ "credentials": null
36
+ }'
37
+ ```
38
+
39
+ curl --location 'localhost:4000/api/v1/hookdeck/destinations' \
40
+ --header 'Content-Type: application/json' \
41
+ --header 'Authorization: Bearer apikey' \
42
+ --data '{
43
+ "type": "webhooks",
44
+ "topics": [ "* "] ,
45
+ "config": {
46
+ "url": "https://hkdk.events/p2mjk25ge583vv "
47
+ },
48
+ "credentials": null
49
+ }'
50
+
51
+
52
+
53
+ ## Contributing
2
54
3
55
- [ Getting Started] ( getting-started.md )
4
56
- [ Test] ( test.md )
You can’t perform that action at this time.
0 commit comments