Microsoft Graph · Schema

uploadSession

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
expirationDateTime string The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration ti
nextExpectedRanges array A collection of byte ranges that the server is missing for the file. These ranges are zero indexed and of the format 'start-end' (for example '0-26' to indicate the first 27 bytes of the file). When u
uploadUrl string The URL endpoint that accepts PUT requests for byte ranges of the file.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphuploadsession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.uploadSession",
  "title": "uploadSession",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "expirationDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "The date and time in UTC that the upload session expires. The complete file must be uploaded before this expiration time is reached. Each fragment uploaded during the session extends the expiration time.",
      "format": "date-time",
      "nullable": true
    },
    "nextExpectedRanges": {
      "type": "array",
      "items": {
        "type": "string",
        "nullable": true
      },
      "description": "A collection of byte ranges that the server is missing for the file. These ranges are zero indexed and of the format 'start-end' (for example '0-26' to indicate the first 27 bytes of the file). When uploading files as Outlook attachments, instead of a collection of ranges, this property always indicates a single value '{start}', the location in the file where the next upload should begin."
    },
    "uploadUrl": {
      "type": "string",
      "description": "The URL endpoint that accepts PUT requests for byte ranges of the file.",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  }
}