converting retrieve_tags api request to 2.1 version