· Home

myframely /api/v1 demo

Exercises all three response shapes (JSON / HTML fragment / web component) against a single URL. Server-loads via the authenticated path; web-component live-fetch uses /demo/proxy as a stand-in for a consumer's backend proxy.

1. JSON shape=json

{
  "url": "https://harpers.org/archive/2026/05/the-old-guard-samuel-moyn-gerontocracy/",
  "canonical": "https://harpers.org/archive/2026/05/the-old-guard-samuel-moyn-gerontocracy/",
  "title": "The Old Guard, by Samuel Moyn",
  "description": "Confronting America’s gerontocratic crisis",
  "siteName": "Harper's Magazine",
  "siteLogoUrl": "https://storage.mostly.film/myframely/logo/harpers.org/da39a3ee5e6b4b0d3255bfef95601890afd80709.png",
  "favicon": "https://wp.harpers.org/wp-content/themes/timber/assets/img/favicon-192x192.png",
  "images": {
    "thumbnail": "https://storage.mostly.film/myframely/previews/0a9342e2-540e-4ff9-bcf6-f54dbd4d390b/62f3c36a4f51.jpg",
    "hero": "https://storage.mostly.film/myframely/previews/0a9342e2-540e-4ff9-bcf6-f54dbd4d390b/5ec042552069.jpg",
    "origin": "https://wp.harpers.org/wp-content/uploads/2026/03/CUT-8-1-972x1124.jpg"
  },
  "provider": null,
  "fetchedAt": "2026-10-13T15:36:31.974Z"
}

2. HTML fragment shape=html

variant=thumbnail (default)
variant=hero

The Old Guard, by Samuel Moyn

Confronting America’s gerontocratic crisis

Harper's Magazine
raw thumbnail HTML
<div class="mPreview_card" data-variant="thumbnail"><a class="mPreview_link" href="https://harpers.org/archive/2026/05/the-old-guard-samuel-moyn-gerontocracy/" target="_blank" rel="noopener nofollow"><img class="mPreview_thumb" src="https://storage.mostly.film/myframely/previews/0a9342e2-540e-4ff9-bcf6-f54dbd4d390b/62f3c36a4f51.jpg" alt="" loading="lazy"><div class="mPreview_body"><h3 class="mPreview_title">The Old Guard, by Samuel Moyn</h3><p class="mPreview_description">Confronting America’s gerontocratic crisis</p><div class="mPreview_meta"><img class="mPreview_logo" src="https://storage.mostly.film/myframely/logo/harpers.org/da39a3ee5e6b4b0d3255bfef95601890afd80709.png" alt="" loading="lazy"><span class="mPreview_site">Harper&#39;s Magazine</span></div></div></a></div>

3. Web component (pre-fetched) <myframely-card preview=...>

default
theme="dark"
variant="hero"
themed via --mPreview-* (small/tight)

4. Web component (live-fetch) <myframely-card url=... endpoint=/demo/proxy>

This component fetches the preview from /demo/proxy on mount, no pre-serialized attribute. Simulates the pattern a consumer would use if they proxy the preview call through their own backend.