Categories:
aura-mocks-bot-api plugin
Plugin that mocks aura-bot
Description
The aura-mocks-bot-api plugin simulates Directline requests for aura-groot with several useful endpoints for the QA team and performance testing.
Find more information in the Github repository:
https://github.com/Telefonica/aura-mocks-server/tree/master/src/plugins/aura-mocks-bot-api
This is part of aura-mocks-server project.
Endpoints API
| Enpoint | Method | Group | description |
|---|---|---|---|
| /api/messages | POST | bot | Send messages: send messages. Optional param reply=true to send response with Directline format to aura-bridge |
| /api/messages | GET | bot | Get messages |
| /api/messages | DELETE | bot | Delete messages |
GET: /api/messages
Get message by to. The query param to is mandatory.
DELETE: /api/messages
Delete message by to. The query param to is mandatory.
POST: /api/messages
Add new aura-bot message.
{
"type": "message",
"id": "IiKY7bzb1Pd5VdtN4FZKmB-a|0000000",
"timestamp": "2021-01-28T16:02:49.6587305Z",
"serviceUrl": "https://directline.botframework.com/",
"channelId": "directline",
"from": {
"id": "ca9961f9-c6f0-3acd-5c72-ce2719f43ec9"
},
"conversation": {
"id": "IiKY7bzb1Pd5VdtN4FZKmB-a"
},
"textFormat": "plain",
"locale": "es-ES",
"channelData": {
"auraCommand": {
"type": "suggestion",
"value": {
"intent": "intent.common.greetings"
}
}
}
Last modified January 15, 2025: feat: Documentation Assistant and ATRIA for Linkin Park release #AURA-26619 [RTM] (409958c0)