Proxied requests use the tenant's configured CMS origin (stored in the edge proxy config). Repository is automatically taken from the configured tenant value.
URLs that are actually fetched
https://tda.cmsassets.com/~api/api/v2unknown (tenant not loaded)https://tda.cmsassets.com/~api/api/v2/documents/search?pageSize=20&ref=<master-ref>unknownFetch result
// Click Fetch Prismic JSON
Integration snippet
import { createCmsAssetsFetch } from "@synchronized-studio/cmsassets-core"
const cmsFetch = createCmsAssetsFetch({
tenant: "tda",
provider: "prismic"
})
const data = await cmsFetch("https://tba-boulder.cdn.prismic.io/api/v2").then(r => r.json())