Connectors Reference

Office 365 Video

Video for Office 365 offers a highly scalable, easy-to-use portal for uploading and sharing your corporate videos

 

Status: Preview

Tier: Standard

Version: 1.0

 

Actions:

Name

Summary

IsVideoPortalEnabled (string tenant)

Checks video portal status

ListViewableChannels (string tenant)

Get all viewable Channels

ListVideos (string tenant, string channelId)

Lists all the office365 videos present in a channel

GetVideo (string tenant, string channelId, string videoId)

Gets information about a particular office365 video

GetPlaybackUrl (string tenant, string channelId, string videoId, string streamingFormatType)

Get playback url of the Azure Media Services manifest for a video

GetStreamingKeyAccessToken (string tenant, string channelId, string videoId)

Get the bearer token to get access to decrypt the video

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

Channel

 

Video

 

 

Actions:

IsVideoPortalEnabled

Summary: Checks video portal status

Description: Checks the video portal status to see if video services are enabled

 

Syntax:

Office365Video.IsVideoPortalEnabled (string tenant)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

 

Returns:

          Type:boolean

 

ListViewableChannels

Summary: Get all viewable Channels

Description: Gets all the channels the user has viewing access to

 

Syntax:

Office365Video.ListViewableChannels (string tenant)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

 

Returns:

          Type:array of (Channel)

 

ListVideos

Summary: Lists all the office365 videos present in a channel

Description: Lists all the office365 videos present in a channel

 

Syntax:

Office365Video.ListVideos (string tenant, string channelId)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

channelId

string

(The channel id from which videos need to be fetched)

The channel id from which videos need to be fetched

True

 

Returns:

          Type:array of (Video)

 

GetVideo

Summary: Gets information about a particular office365 video

Description: Gets information about a particular office365 video

 

Syntax:

Office365Video.GetVideo (string tenant, string channelId, string videoId)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

channelId

string

(The channel id)

The channel id

True

videoId

string

(The video id)

The video id

True

 

Returns:

          Type:Video

          Description: Video class

 

GetPlaybackUrl

Summary: Get playback url of the Azure Media Services manifest for a video

Description: Get playback url of the Azure Media Services manifest for a video

 

Syntax:

Office365Video.GetPlaybackUrl (string tenant, string channelId, string videoId, string streamingFormatType)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

channelId

string

(The channel id)

The channel id

True

videoId

string

(The video id)

The video id

True

streamingFormatType

string

(Streaming format type. 1 - Smooth Streaming or MPEG-DASH. 0 - HLS Streaming)

Streaming format type. 1 - Smooth Streaming or MPEG-DASH. 0 - HLS Streaming

True

 

Returns:

          Type:string

 

GetStreamingKeyAccessToken

Summary: Get the bearer token to get access to decrypt the video

Description: Get the bearer token to get access to decrypt the video

 

Syntax:

Office365Video.GetStreamingKeyAccessToken (string tenant, string channelId, string videoId)

 

Parameters:

Name

Type

Summary

Required

Related Action

tenant

string

(The tenant name for the directory the user is part of)

The tenant name for the directory the user is part of

True

channelId

string

(The channel id)

The channel id

True

videoId

string

(The video id)

The video id

True

 

Returns:

          Type:string

 


 

Channel

Summary:

Description: Channel class

 

          Properties:

Name

Type

Summary

Id

string

 

Channel Id

Title

string

 

Channel title

Description

string

 

Channel description


 

Video

Summary:

Description: Video class

 

          Properties:

Name

Type

Summary

Id

string

 

Video id

Title

string

 

video title

Description

string

 

video description

CreationDate

string

 

creation date of the video

Owner

string

 

video owner

ThumbnailUrl

string

 

Thumbnail url

VideoUrl

string

 

video url

VideoDuration

integer(int64)

 

video duration

VideoProcessingStatus

integer(int32)

 

video processing status

ViewCount

integer(int64)

 

video view count