· 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://www.nytimes.com/athletic/7213199/2026/04/22/nfl-mock-draft-round-1-quarterback-mendoza/",
  "canonical": "https://www.nytimes.com/athletic/7213199/2026/04/22/nfl-mock-draft-round-1-quarterback-mendoza/",
  "title": "nytimes.com",
  "description": "Our beat writers here at The Athletic take one last crack at predicting their teams' top selections ahead of the 2026 NFL Draft.",
  "siteName": "The Athletic",
  "siteLogoUrl": "https://storage.mostly.film/myframely/logo/nytimes.com/8c24b10e5344f4deb155965ce4d174e483ab6455.png",
  "favicon": "https://storage.mostly.film/myframely/logo/nytimes.com/8c24b10e5344f4deb155965ce4d174e483ab6455.png",
  "images": {
    "thumbnail": "https://storage.mostly.film/myframely/previews/545202ec-cf85-497f-8866-90a0fbc525c1/547b3aa3c350.jpg",
    "hero": "https://storage.mostly.film/myframely/previews/545202ec-cf85-497f-8866-90a0fbc525c1/4dc97c842c57.jpg",
    "origin": "https://static01.nyt.com/athletic/uploads/wp/2026/04/20172240/GettyImages-2256977297-scaled-e1776784444364.jpg?width=1200&height=630&fit=cover"
  },
  "provider": null,
  "fetchedAt": "2026-10-13T15:37:09.976Z"
}

2. HTML fragment shape=html

variant=thumbnail (default)
variant=hero

nytimes.com

Our beat writers here at The Athletic take one last crack at predicting their teams' top selections ahead of the 2026 NFL Draft.

The Athletic
raw thumbnail HTML
<div class="mPreview_card" data-variant="thumbnail"><a class="mPreview_link" href="https://www.nytimes.com/athletic/7213199/2026/04/22/nfl-mock-draft-round-1-quarterback-mendoza/" target="_blank" rel="noopener nofollow"><img class="mPreview_thumb" src="https://storage.mostly.film/myframely/previews/545202ec-cf85-497f-8866-90a0fbc525c1/547b3aa3c350.jpg" alt="" loading="lazy"><div class="mPreview_body"><h3 class="mPreview_title">nytimes.com</h3><p class="mPreview_description">Our beat writers here at The Athletic take one last crack at predicting their teams&#39; top selections ahead of the 2026 NFL Draft.</p><div class="mPreview_meta"><img class="mPreview_logo" src="https://storage.mostly.film/myframely/logo/nytimes.com/8c24b10e5344f4deb155965ce4d174e483ab6455.png" alt="" loading="lazy"><span class="mPreview_site">The Athletic</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.