Closed
Description
Hi,
The Graph API documentation describe how to retrieve attachment content from the API:
https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0&tabs=http
GET /me/messages/{id}/attachments/{id}
GET /users/{id | userPrincipalName}/messages/{id}/attachments/{id}
GET /me/messages/{id}/attachments/{id}/$value
GET /users/{id | userPrincipalName}/messages/{id}/attachments/{id}/$value
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADVIOAAA=/attachments/AAMkADVIOAAABEgAQACvkutl6c4FMifPyS6NvXsM=/$value
The issue is $value
seems not to be implemented.
class AttachmentItemRequestBuilderGetQueryParameters
"""
The fileAttachment and itemAttachment attachments for the message.
"""
# Expand related entities
expand: Optional[List[str]] = None
# Select properties to be returned
select: Optional[List[str]] = None
The class
AttachmentItemRequestBuilderGetQueryParameters
does not containvalue : Optional[bool] = None
So it is not possible to use $value
like described in https://learn.microsoft.com/en-us/graph/query-parameters?tabs=http#other-odata-url-capabilities
$value Retrieves or updates the binary value of an item. GET /me/photo/$value
Metadata
Metadata
Assignees
Labels
No labels