edits to ResourceViewApi