Skip to content

Commit 03f8796

Browse files
committed
Examples of payload using spec 1.0
Signed-off-by: Fabio José <[email protected]>
1 parent ba221ea commit 03f8796

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"specversion":"1.0",
3+
"type":"com.github.pull.create",
4+
"source":"https://github.com/cloudevents/spec/pull/123",
5+
"id":"b25e2717-a470-45a0-8231-985a99aa9416",
6+
"time":"2019-11-06T11:08:00Z",
7+
"datacontenttype":"application/json",
8+
"data":{
9+
"much":"wow"
10+
}
11+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"specversion":"1.0",
3+
"type":"com.github.pull.create",
4+
"source":"https://github.com/cloudevents/spec/pull/123",
5+
"id":"70d3c768-63f8-40e7-aa9d-d197d530586b",
6+
"time":"2019-11-06T11:08:00Z",
7+
"datacontenttype":"application/json",
8+
"data":{
9+
"much":"wow"
10+
},
11+
"my-extension" : "something"
12+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"specversion":"1.0",
3+
"type":"com.github.pull.create",
4+
"source":"https://github.com/cloudevents/spec/pull/123",
5+
"id":"70d3c768-63f8-40e7-aa9d-d197d530586b",
6+
"time":"2019-11-06T11:08:00Z",
7+
"datacontenttype":"application/json",
8+
"data_base64":"eyJtdWNoIjoid293In0=",
9+
"my-extension" : "something"
10+
}

0 commit comments

Comments
 (0)