As part of EDDI's features, Git is supported, this means you can
pulla Chabot to a Git repository.
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
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.
HTTP Content Type Header
For the sake of simplifying things you can use Postman to upload the zip file of the exported bot just don't forget to add the http header of content type :
Take a look at he image below to understand how can you upload the zip file in Postman:
Important: The bot will not be deployed after import you will have to deploy it yourself by using the corresponding api endpoint, please referrer to Deploying a bot.