All the operations performed during this tutorial are also achievable through the API. You can reach the documentation for Lamia API at the following url:
http://1.2.3.4/swagger
where 1.2.3.4 should be replaced with your ip. Mind the fact that loading the documentation might take some time.