Extending the AiiDA REST API towards workflow management
- Mentors
- Leopold Talirz, Chris Sewell
- Organization
- NumFOCUS
AiiDA currently has a REST API, built on the flask framework, to provide access to the provenance graphs in the database. The REST API is limited to queries to AiiDA databases. It does not provide any support for workflow management.
This problem can currently be circumvented using python dashboarding tools like plotly.dash or by developing a specialized API for it like aiida-post. While these alternatives have their own advantages, they come at the cost of either mixing data, visualization and controlling logic or investing time to implement a custom API and client. The objective of this project is to extend the AiiDA REST API by:
- Adding POST methods to users, computer, nodes and groups endpoints. This will allow the addition of new AiiDA entities to the database.
- Implementing a new /processes endpoint supporting GET, PUT and DELETE for workflow management