sharepointmicrosoft-graph-apivideo-streamingmicrosoft365

Is there a MS Graph API for Microsoft Stream?


I'd like to present a video on my website, which is hosted on OneDrive for Bussiness / Sharepoint. The new Microsoft Stream for Sharepoint allows users to stream the video with a variety of resolution through CDN at portal.
How could I provide same features (different resolution and CDN) on my website (not Sharepoint, not intranet) just as the portal? Does MS Graph provides the very API?


Solution

  • Video for Microsoft Stream for SharePoint is just the normal Graph API file represented by driveItem resource.

    Through Graph API you can upload/download/delete/modify a video file.

    For example, here are some kinds of things you can do with video file in Graph API:

    For the preview I don't see any option to specify resolution or CDN.

    Some newer API features for videos (transcripts, thumbnails, chapters, etc.) are not public and documented

    You can suggest a new idea for API to set a resolution and CDN on feedback portal