Microsoft Graph · Schema

microsoft.graph.teamworkHostedContent

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphteamworkhostedcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.teamworkHostedContent",
  "title": "microsoft.graph.teamworkHostedContent",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "teamworkHostedContent",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "contentBytes": {
          "type": "string",
          "description": "Write only. Bytes for the hosted content (such as images).",
          "format": "base64url",
          "nullable": true
        },
        "contentType": {
          "type": "string",
          "description": "Write only. Content type. such as image/png, image/jpg.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.chatMessageHostedContent": "#/components/schemas/microsoft.graph.chatMessageHostedContent"
        }
      }
    }
  ]
}