aumoai - bots v1¶
Endpoints¶
POST /google/{workspace_id}/{bot_id}¶
Bot
Input parameters
Parameter | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
authorization | header | string | No | ||
bot_id | path | string | No | ||
workspace_id | path | string | No |
Request body
{
"type": "string",
"eventTime": "string",
"message": {
"name": "string",
"sender": {
"name": "string",
"displayName": "string",
"avatarUrl": "string",
"email": "string",
"type": "string",
"domainId": "string"
},
"createTime": "string",
"text": "string",
"thread": {
"name": "string",
"retentionSettings": {}
},
"space": {
"name": "string",
"type": "string",
"singleUserBotDm": true,
"spaceThreadingState": "string",
"spaceType": "string",
"spaceHistoryState": "string",
"spaceUri": "string"
},
"argumentText": null,
"retentionSettings": {},
"messageHistoryState": "string",
"formattedText": "string",
"slashCommand": null,
"annotations": null
},
"user": null,
"space": null,
"configCompleteRedirectUrl": "string",
"common": {}
}
Schema of the request body
{
"properties": {
"type": {
"type": "string",
"title": "Type"
},
"eventTime": {
"type": "string",
"title": "Eventtime"
},
"message": {
"$ref": "#/components/schemas/GoogleMessage"
},
"user": {
"$ref": "#/components/schemas/GoogleUser"
},
"space": {
"$ref": "#/components/schemas/GoogleSpace"
},
"configCompleteRedirectUrl": {
"type": "string",
"title": "Configcompleteredirecturl"
},
"common": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Common"
}
},
"type": "object",
"required": [
"type",
"eventTime",
"message",
"user",
"space",
"configCompleteRedirectUrl",
"common"
],
"title": "GoogleMessageRequest"
}
Response 200 OK
Response 422 Unprocessable Entity
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
GET /compute¶
Compute
Description
Compute the result of a CPU-bound function.
Input parameters
Parameter | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
n | query | integer | 42 | No |
Response 200 OK
Response 422 Unprocessable Entity
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.
Schemas¶
GoogleMessage¶
Name | Type |
---|---|
annotations | |
argumentText | |
createTime | string |
formattedText | string |
messageHistoryState | string |
name | string |
retentionSettings | |
sender | GoogleUser |
slashCommand | |
space | GoogleSpace |
text | string |
thread | GoogleThread |
GoogleMessageRequest¶
Name | Type |
---|---|
common | |
configCompleteRedirectUrl | string |
eventTime | string |
message | GoogleMessage |
space | GoogleSpace |
type | string |
user | GoogleUser |
GoogleSlashCommand¶
Name | Type |
---|---|
commandId | string |
GoogleSpace¶
Name | Type |
---|---|
name | string |
singleUserBotDm | boolean |
spaceHistoryState | string |
spaceThreadingState | string |
spaceType | string |
spaceUri | string |
type | string |
GoogleThread¶
Name | Type |
---|---|
name | string |
retentionSettings |
GoogleUser¶
Name | Type |
---|---|
avatarUrl | string |
displayName | string |
domainId | string |
email | string |
name | string |
type | string |
HTTPValidationError¶
Name | Type |
---|---|
detail | Array<ValidationError> |
ValidationError¶
Name | Type |
---|---|
loc | Array<> |
msg | string |
type | string |