add resource name to API