delete REST API 1.0

OHHHHHHHHHH MY GOOOOOOOOOOOOOOOOOOOOOOOOOD
IT'S FINALY GOOOOOOOOOOOOOOOOOOOOOOOOOOOONE
YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY
GOOD RIDDANCE !
REJOICE !
LIFE IS SWEEEEEEEEEEEEEEEEEEEEEEEEEEEEEET
I FEEEEEEEL GOOOD *NA NA NA NA NA NA NA NA*
remove legacy code used by restapi 1.0
replace old step used in 1.0