rest api + specs