v1

latestSwagger 2.0BSD 3-Clause2026-07-1720953437.1 KB
events

Create event

Create a new event that can describe any action or information needed to be specifically logged, typically used to activity in rooms.

post/events

Request body

logstring required

Human readable log line to describe the context.

contextobject

Any object, typically JSON, used to describe to some information that needed to be logged.

actionTypestring

This is the type of the event

roomIdinteger

Room that this event relates to.

botIdstring

Bot that this event relates to.

botDataIdstring

Bot Data that this event relates to.

botActionIdstring

Bot Action that this event relates to.

userIdstring

User that this event relates to.

ownerstring

The name of the user to assign as the owner. Defaults to the user that created it

Response

Created event

idstring

The UUID of the specified event

logstring

Human readable log line describing the event and its context it stores

contextobject

A object, typically JSON, that contains the information to describe an event

actionTypestring

This is the type of the event

roomIdinteger

The room ID in which the event deals with

botIdstring

The bot ID in which the event deals with

botDataIdstring

The bot data ID in which the event deals with

botActionIdstring

The bot action ID in which the event deals with

userIdstring

The user ID in which the event deals with