rewriting clean versioned url for the API