add resource name to API
Merge pull request #4737 from dimagi/data-platform-apis

add resource name to API