Variants FrequencyΒΆ
To get a plot (in html format) with the variants frequency, the user must provide two parameteres in the request to /variants_count endpoint:
- filename
the name of the event log
- folder
the folder of the event log which is the email of the user (login email)
A get request must be sent to the following address:
http://<server_ip>:5000/variants_count?filename=PurchasingExample.xes&folder=<email_address>
where text with <> should be replaced with the corresponding information.
The response is:
image: http://<server_ip>:5000/static/variants_count.html
and the variants_count.html is an html graph as shown in the following picture:
