v1

latestOpenAPI 3.0.32026-07-1412735131.4 KB

OEmbed as JSON

get/api/oembed

Query parameters

urlstring

URL of a status

maxwidthinteger

width of the iframe. Defaults to 400

maxheightinteger

height of the iframe. Defaults to null

Response

Success

author_namestring

The author of the original resource.

author_urlstring

A link to the author of the original resource.

blurhashstring

A hash computed by the BlurHash algorithm, for generating colorful preview thumbnails when media has not been downloaded yet.

descriptionstring required

Description of preview.

heightinteger

Height of preview, in pixels.

htmlstring

HTML to be used for generating the preview card.

imagestring

Preview thumbnail (URL).

provider_namestring

The provider of the original resource.

provider_urlstring

A link to the provider of the original resource.

titlestring required

Title of linked resource.

type'link' | 'photo' | 'video' | 'rich' required

The type of the preview card. String (Enumerable, oneOf).

urlstring required

Location of linked resource.

widthinteger

Width of preview, in pixels.

All 127 operations