educationMediaResource resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a media file resource for an educationAssignment. Inherits from educationResource.

Upload these files to the fileResource directory associated with the assignment or submission.

The following file types are media resources: webm, mkv, avi, wmv, mp4, m4v, mpg, mpeg, m2v, jpg, png, gif, bmp, heic, jpeg, psd, mp3 and m4a.

Properties

Property Type Description
fileUrl String Location of the file on shared point folder. Required
createdBy String The display name of the user that created this resource.
createdDateTime DateTimeOffset Date time the resoruce was added.
displayName string The display name of the user who added resource.
lastModifiedBy identitySet The last user to modify the resource
lastModifiedDateTime DateTimeOffset The date and time when the resource was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

JSON representation

The following is a JSON representation of the resource.

{
  "fileUrl": "String",
  "createdBy": "String (User)",
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "lastModifiedBy": "String (User)",
  "lastModifiedDateTime": "String (timestamp)"
}