Revert "Restapi"

Reverts EUDAT-B2SHARE/b2share#381