/
Event Notification Object

Event Notification Object

An Event Notification sent to an event subscriber webhook will have, as its payload, an Event Notification Object that conforms to JSON Event Format for CloudEvents. The data property of the Event Notification Object contains an Event Data Object. Each Event Notification Service event type has a corresponding specialized Event Data Object specification


Event Notification Object Properties

*(Bold property names indicate the field is required)

Property

TypeDescription
specversionstring

CloudEvents specification version used by this event.

Supported versions:

  • 1.0
idstring

Uniquely identifies this event within the scope of a specific context(i.e., source ). id + source determines global uniqueness. All events with a particular global id (id + source) should be considered one and the same and only the first should be processed.

sourcestring

The event context. id + source uniquely identifies this event globally.

Webhooks should consider this an opaque value. Subsequent requests with duplicate IDs should be disregarded.
subject string

RESERVED FOR FUTURE USE

typestring

Event Notification Service event type

  • FileUploadEvent
datacontenttypestring

application/json

dataschema string

RESERVED FOR FUTURE USE

data

JSON


type-specific Event Data Object:

TypeValue

FileUploadEvent

FileUploadEvent Data Object
timestringUTC Timestamp

Related content

REST Objects Work Item Notification
REST Objects Work Item Notification
More like this
REST APIs
Read with this
Event Notification API
Event Notification API
More like this
_FileUploadEvent Data Object
_FileUploadEvent Data Object
More like this
Webhook Request Object
Webhook Request Object
More like this