Editar

Compartilhar via


Eventhouse definition

This article provides a breakdown of the structure for Eventhouse definition items.

Supported formats

EventhouseDefinition items support the JSON format.

Definition parts

The definition of an Eventhouse item is constructed from two parts: the item part and the platform part. Each part contains the following:

Platform part

The platform payload is optional. The platform part is a file that contains the Eventhouse metadata information.

  • Create Item with definition respects the platform file if provided.
  • Get Item definition always returns the platform file.
  • Update Item definition accepts the platform file if provided, if you set a new URL parameter updateMetadata=true.

Example of EventhouseProperties.json definition part decoded from Base64

There aren't any properties described in the Eventhouse, so an empty object is given.

{}

Definition example

{
"parts": [
    {
        "path": "EventhouseProperties.json",
        "payload": "e30=",
        "payloadType": "InlineBase64"
    },
    {
        "path": ".platform",
        "payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc=",
        "payloadType": "InlineBase64"
    }
]
}