Import/Export a Chatbot
In this tutorial we will talk about importing/exporting bots, this is a very useful feature that will allow our bots to be very portable and easy to re-use in other machines/instances of EDDI and of course to backup and restore our bots and maintain them and keep them shiny.
Exporting a bot is a fairly simple process, send a
POSTrequest to the following API endpoint and you will receive the location of the exported zip file on the response headers, specifically the
Export Chatbot REST API Endpoint
Export a chatbot
no contentResponse Code:
"date": "Mon, 19 Mar 2018 10:41:41 GMT",
"access-control-allow-headers": "authorization, Content-Type",
"access-control-allow-methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS",
Same process as exporting; send a
POSTrequest to the following API endpoint , you will receive the id of the imported bot on the response headers.
Take a look at he image below to understand how can you upload the zip file in Postman: