botserver/swagger.json

54 lines
No EOL
1.2 KiB
JSON

{
"swagger": "2.0",
"info": {
"version": "3.0.0",
"title": "General Bots API",
"description": "General Bots API definitions.",
"contact": {
"name": "Pragmatismo",
"url": "https://generalbots.ai",
"email": "info@pragmatismo.io"
},
"x-ms-api-annotation": {
"status": "Production"
}
},
"host": "f993e4828c0d50.lhr.life",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/api/v2/dev-perdomo/dialog/talk": {
"post": {
"consumes":[
"text/plain; charset=utf-8"
],
"summary": "Talk to the user.",
"description": "Talk to the user.",
"x-ms-no-generic-test": true,
"operationId": "talk",
"responses": {
"200": {
"description": "OK"
}
}
}
}
},
"definitions": {
"TalkRequest": {
"type": "object",
"properties": {
"pid": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
}
}