Service Entity
A Service is a categorization mechanism that groups together a subset of bots under a specific service directory. These services provide a structured way to organize bots according to their functionality. Depending on their configuration, these services can be utilized by different applications and may be publicly accessible.
Service Attributes
bots
Array[ObjectId] - Bot
Array of the bot objects associated with the service.
createdBy
ObjectId - User
ID of the user who created the service.
description
String
A brief description of the service.
editedBy
ObjectId - User
ID of the user who last edited the service.
name
String
The name of the service.
serviceDirectories
Array[ObjectId] - ServiceDirectory
Array of the service directory objects associated with the service.
slug
String
The URL-friendly string that uniquely identifies the service.
{
"bots": [],
"createdBy": "5e5dbd36758533001c564b75",
"description": "This is an example service.",
"editedBy": "5e5dbd36758533001c564b75",
"name": "Example Service",
"serviceDirectories": [],
"slug": "example_service",
"id": "648b7ddf26014d2229722471"
}