Topics Create

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
>>>
{
	"jsonrpc": "2.0",
	"id": 42,
	"method": "topic.create",
	"params": {
		"$schema": "https://docs.edgebus.io/schemas/v2/topic/topic.create-request.json",
		"name": "MyGitHubEventsTopic",
		"description": "My first topic to handle GitHub's push events. See https://developer.github.com/webhooks/",
		"mediaType": "application/vnd.edgebus.http"
	}
}

<<<
{
	"jsonrpc": "2.0",
	"id": 42,
	"result": {
		"$schema": "https://docs.edgebus.io/schemas/v2/topic/topic.json",
		"id": "EBT-27f41f8be2f243d094c42d9649742c42",
		"name": "MyGitHubEventsTopic",
		"description": "My first topic to handle GitHub's push events. See https://developer.github.com/webhooks/",
		"mediaType": "application/vnd.edgebus.http"
	}
}