added wildcard processing for the resource_id query parameter