me.message

List attachments

Retrieve a list of attachment objects attached to a message.

get/me/messages/{messageId}/attachments

Query parameters

$topinteger

Show only the first n items

$skipinteger

Skip the first n items

$searchstring

Search items by search phrases

$filterstring

Filter items by property values

$countboolean

Include count of items

$orderbystring[]

Order items by property values

$selectstring[]

Select properties to be returned

$expandstring[]

Expand related entities

Response

Retrieved collection

@odata.nextLinkstring nullable
@odata.countinteger nullable

Changes

Changed in 4 of the 10 revisions of this API.121

    • added the optional property allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/contentBytes to the response with the 2XX status

      response-optional-property-added

    • api operation id me.messages.ListAttachments removed and replaced with listAttachments

      api-operation-id-removed

    • mapped value for discriminator key #microsoft.graph.attachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from microsoft.graph.fileAttachment to MicrosoftGraphAttachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.itemAttachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from microsoft.graph.mailFolder to MicrosoftGraphMailFolder for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from microsoft.graph.mailSearchFolder to MicrosoftGraphMailFolder for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from microsoft.graph.message to MicrosoftGraphMessage for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from microsoft.graph.outlookItem to MicrosoftGraphOutlookItem for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.referenceAttachment changed from microsoft.graph.attachment to MicrosoftGraphAttachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

  • c6fc1d98f528110See the full diff
    • removed the optional property allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/contentBytes from the response with the 2XX status

      response-optional-property-removed

    • api operation id listAttachments removed and replaced with me.messages.ListAttachments

      api-operation-id-removed

    • mapped value for discriminator key #microsoft.graph.attachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.fileAttachment changed from MicrosoftGraphAttachment to microsoft.graph.fileAttachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.itemAttachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailFolder for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.mailSearchFolder changed from MicrosoftGraphMailFolder to microsoft.graph.mailSearchFolder for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.message changed from MicrosoftGraphMessage to microsoft.graph.message for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.outlookItem changed from MicrosoftGraphOutlookItem to microsoft.graph.outlookItem for allOf[subschema #2]/value/items/allOf[subschema #1: entity]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key #microsoft.graph.referenceAttachment changed from MicrosoftGraphAttachment to microsoft.graph.attachment for allOf[subschema #2]/value/items/allOf[subschema #2: attachment]/ response property for the response status 2XX

      response-property-discriminator-mapping-changed