Shares

Resolve share oEmbed

Resolve a public share URL into oEmbed (https://oembed.com) embed metadata.

get/shares/oembed

Request

  • Base URL
    https://api.aspect.inc
  • URL
    https://api.aspect.inc/shares/oembed
  • Auth
    none required

Query parameters

urlstring required

Share URL to resolve into embed markup

formatstring nullable

Response format; only json is supported

maxwidthinteger nullable

Maximum width of the embed in pixels

maxheightinteger nullable

Maximum height of the embed in pixels

Response

Successful Response

versionstring

oEmbed protocol version

typestring required

oEmbed resource type (video or rich)

titlestring required

Name of the shared asset

provider_namestring required

Display name of the embed provider

provider_urlstring required

Base URL of the embed provider

widthinteger required

Width in pixels of the embed html

heightinteger required

Height in pixels of the embed html

htmlstring required

Iframe markup that renders the embed

Changes

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