educationMediaResource resource type

Namespace: microsoft.graph

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.


Property Type Description
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.
fileUrl String Location of the file on shared point folder. Required
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.

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