Updated version following the recent meeting to simplify the endpoints into a single one:
Feedback welcome