Skip to content

Adding Structured mode support.

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Apr 15:50
eddc279

Use via the new top-level yaml header: Mode: structured

Mode: structured
ContextAttributes:
  specversion: 1.0
  type: com.example.someevent
  id: 4321-4321-4321
  source: /mycontext/subcontext

Or

cloudevents send http://localhost:8080/ --id 321-cba --source cloudevents.conformance.tool --type foo.json --mode structured --data='{"hello":"world"}'

The data parsing in structured mode is very basic.