Update RestImpl.php

Add tags methods to API