Update integration event type name

This endpoint can be used to update properties of an integration event type.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
  • ID of the integration that the event type belongs to
int32
required
  • ID of the integration event type
Body Params
  • JSON object containing the updated integration event type information
string
required
length between 1 and 40

The name of the integration event type

schema
object
required

The schema of the integration event type, in JSON Schema format. Defines the structure of event attributes that will be validated on ingestion.

int64
≤ 600000

The default duration of the integration event type, in milliseconds

int64
≤ 120000

The default buffer of the integration event type, in milliseconds

string

A template string for generating external device IDs from event attributes. When set, Spot will automatically create or match devices based on the evaluated template value from each incoming event's attributes.

Template Syntax: Use {property_name} to reference event attributes. Nested properties are supported: {metadata.store.id}.

Requirements:

  • Template must contain at least one variable
  • All referenced properties must be marked as required in the schema
  • Empty strings are not allowed

Example: For a schema with required properties store_id and lane, the template {store_id}:{lane} would generate device IDs like "STORE001:3".

When omitted, events must explicitly specify a device_id during ingestion.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json