Implemented CORE-2085(API to get tags based on the resources)