Yes, I know this method, I am just looking for a more convenient way to call this api. In fact, I just need all resources referenced by the page,like this api '/libs/wcm/core/content/reference.json' do.
Or may be you can tell me that how can I get the resources refferenced by the page? I have tried several apis like 'ReferenceProvider' which didn't work.