Cloner API
How to export or import the Bot structure, including various kinds of information, such as: Basic Bot Data, Intentions, Entity, Registered Flows, Channels and etc
Last updated
How to export or import the Bot structure, including various kinds of information, such as: Basic Bot Data, Intentions, Entity, Registered Flows, Channels and etc
Last updated
The eva platform provides an internal endpoint capable of exporting or importing the Bot structure, this includes various kinds of information, such as: Basic Bot Data, Intentions, Entity, Registered Flows, Channels, etc. These endpoints are extremely useful during environment migration or even for backing up a specific "Bot".
As it is an internal endpoint to the Kubernetes cluster, this API will only be accessible through the "kubectl forward" command.
For example:
Now open your browser at this address:
http://localhost:8080/swagger-ui.htm
You’ll see a page similar to this:
The API responsible for extract All Bot information.
This service has an Application/ZIP return type.
The API responsible for insert All Bot from a zip file.
Method:
GET
URL:
/api/v1/export
Type:
application/json
Name
Type
Data Type
Required
Description
namebot
Query Parameter
String
Yes
The Bot name, who intends to extract information
Method:
POST
URL:
/api/v1/import
Type:
application/json
Name
Type
Required
Description
file
formData
yes
The zip file containing all bot information.
nameBot
Query Patameter
Yes
After import, this will be the bot final name.
HTTP Status
Description
201
Created, the Import operation was successful