Oembedly endpoint for Medium embedding.

Parameters

request: request the request pk: string string representation for the ID of the snapshot

GET /api/sharedprogram/1/oembed/?format=api&url=https%3A%2F%2Fcodehs.com%2Feditor%2Fshare_abacus%2FxtOPDik2wNFjSDUoyl2T
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "version": "1.0",
    "provider_url": "https://www.codehs.com",
    "provider_name": "CodeHS",
    "description": "CodeHS is a comprehensive teaching platform for helping schools teach computer science.",
    "title": "Using the Rectangle Class",
    "url": "https://codehs.com/editor/share_abacus/xtOPDik2wNFjSDUoyl2T",
    "type": "rich",
    "html": "<iframe src=\"https://codehs.com/editor/share_abacus/xtOPDik2wNFjSDUoyl2T\" frameborder=\"0\" allowfullscreen class=\"video-iframe\" width=\"1200\" height=\"650\"><iframe>",
    "author_name": "Enrique Flores ",
    "height": 650,
    "width": 1200
}