add Flask RESTful api plugin