Using APIs from a different origin/domain

Hey Alex,

I can’t figure out how to delegate this to the backend. Is there any documentation?

I’m trying to GET /admin/api/themes/{theme_id}/assets.json from the index.js of a custom app that’s embedded in the Shopify Admin.

It is similar to registering a webhook?

I’ve looked everywhere but I can find a concrete example of how to do this.

Cheers!

Andrew