Update api.rest.v2.php