Pastery oEmbed
www.pastery.netPastery is a text storage service where users can save code snippets and other text online for a limited time. Developers can use oEmbed to embed shared text content from Pastery, accommodating various programming languages and formats. Consumers such as WordPress, Slack, and other CMS or chat platforms can call its oEmbed endpoint to turn Pastery URLs into rich embeds — without writing custom integration code. Below are the endpoint details, supported URL patterns, and response formats for Pastery.
1
Endpoint
4
URL patterns
json
Format
Yes
Discovery
Endpoint
https://www.pastery.net/oembed
Supported URL patterns
http://pastery.net/* https://pastery.net/* http://www.pastery.net/* https://www.pastery.net/* Formats: json Link-tag discovery enabled
Test a Pastery URL
See the live oEmbed response and a rendered preview.