rest-api: finialize