Preview a feed

Reads the feed (with the same protections) and returns its title, its newest items and what each network's post of the newest would read. Nothing is saved. 30 an hour.

post/api/rss/preview

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/rss/preview
  • Auth: HTTP bearer

Request body

urlstring required

RSS 2.0, RSS 1.0 or Atom. http or https on ports 80, 443, 8080 or 8443; private, loopback, link-local and metadata addresses are refused (400 feed_url_blocked), also when a name resolves to one or a redirect points at one; at most 3 redirects, 8 seconds, 2 MB.

platformsstring[]
templatestring

{title}, {link}, {summary}. Fitted to each network's limit as that network counts it: the summary is shortened first, then the title; the link is never cut.

Response

{ ok, url, kind, title, items_in_feed, items, posts: { <network>: { text, trimmed? } }, note }

Changes

No recorded changes to this operation across all 1 revision of this API.