Examples of payload using spec 1.0

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-11-06 11:20:41 -03:00
parent ba221ea369
commit 03f8796b3f
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"specversion":"1.0",
"type":"com.github.pull.create",
"source":"https://github.com/cloudevents/spec/pull/123",
"id":"b25e2717-a470-45a0-8231-985a99aa9416",
"time":"2019-11-06T11:08:00Z",
"datacontenttype":"application/json",
"data":{
"much":"wow"
}
}

View File

@ -0,0 +1,12 @@
{
"specversion":"1.0",
"type":"com.github.pull.create",
"source":"https://github.com/cloudevents/spec/pull/123",
"id":"70d3c768-63f8-40e7-aa9d-d197d530586b",
"time":"2019-11-06T11:08:00Z",
"datacontenttype":"application/json",
"data":{
"much":"wow"
},
"my-extension" : "something"
}

View File

@ -0,0 +1,10 @@
{
"specversion":"1.0",
"type":"com.github.pull.create",
"source":"https://github.com/cloudevents/spec/pull/123",
"id":"70d3c768-63f8-40e7-aa9d-d197d530586b",
"time":"2019-11-06T11:08:00Z",
"datacontenttype":"application/json",
"data_base64":"eyJtdWNoIjoid293In0=",
"my-extension" : "something"
}