Get resource data.