botData

Creates or updates bot data for a room's specific bots

post/botData/upsert

Request

  • Base URL
    /v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/botData/upsert
  • Auth
    API key in header Authorization

Request body

namestring required

Name of the bot data

valuestring required

Value of the bot data

botIdstring required

UUID for the corresponding bot

roomIdinteger required

Number for the corresponding room

ownerstring

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

Response

Bot Data Updated

idstring

UUID of the specified bot data

namestring

Name of the bot data

valuestring

Current value of the bot data

roomIdinteger

The room number of the room of the bot data

botIdstring

UUID of the specified bot in that room

createdBystring

Id of the User who created this botData.

Changes