Added API support for getresource by tag