Title: GitHub · Where software is built
Open Graph Title: microsoftgraph/msgraph-sdk-python
X Title: microsoftgraph/msgraph-sdk-python
Description: Contribute to microsoftgraph/msgraph-sdk-python development by creating an account on GitHub.
Open Graph Description: Contribute to microsoftgraph/msgraph-sdk-python development by creating an account on GitHub.
X Description: Contribute to microsoftgraph/msgraph-sdk-python development by creating an account on GitHub.
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-python
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get attachment content is not implemented","articleBody":"Hi,\r\n\r\nThe Graph API documentation describe how to retrieve attachment content from the API:\r\n\r\nhttps://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0\u0026tabs=http\r\n```\r\nGET /me/messages/{id}/attachments/{id}\r\nGET /users/{id | userPrincipalName}/messages/{id}/attachments/{id}\r\n\r\nGET /me/messages/{id}/attachments/{id}/$value\r\nGET /users/{id | userPrincipalName}/messages/{id}/attachments/{id}/$value\r\n```\r\n\r\nOne example: https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0\u0026tabs=http#example-8-get-the-mime-raw-contents-of-an-event-attachment-on-a-message\r\n\r\n```\r\nGET https://graph.microsoft.com/v1.0/me/messages/AAMkADVIOAAA=/attachments/AAMkADVIOAAABEgAQACvkutl6c4FMifPyS6NvXsM=/$value\r\n```\r\n\r\nThe issue is `$value` seems not to be implemented. \r\n\r\n```python\r\n\r\nclass AttachmentItemRequestBuilderGetQueryParameters\r\n \"\"\"\r\n The fileAttachment and itemAttachment attachments for the message.\r\n \"\"\"\r\n # Expand related entities\r\n expand: Optional[List[str]] = None\r\n\r\n # Select properties to be returned\r\n select: Optional[List[str]] = None\r\n``` \r\n\u003e The class `AttachmentItemRequestBuilderGetQueryParameters` does not contain `value : Optional[bool] = None`\r\n\r\nSo 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\r\n\r\n```\r\n$value\tRetrieves or updates the binary value of an item.\tGET /me/photo/$value\r\n```","author":{"url":"https://github.com/Renji-FR","@type":"Person","name":"Renji-FR"},"datePublished":"2023-02-07T14:58:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/92/msgraph-sdk-python/issues/92"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:29155fb1-17a2-ddd6-9f7f-12474a395c7f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6B0:2BBCDD:6F2E3:9824B:696962E2 |
| html-safe-nonce | 647bf5f28e705b5fcb01376879a2dee045186436c8b1c62086a473033416dbe4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkIwOjJCQkNERDo2RjJFMzo5ODI0Qjo2OTY5NjJFMiIsInZpc2l0b3JfaWQiOiI2ODgyNDQwNzA5OTY5MzcxODc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d1bebed3a8ef0b859054bb31a5d2e1b1a015cf10c4cfc45fcfbefda33cbd51d7 |
| hovercard-subject-tag | repository:534665999 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoftgraph/msgraph-sdk-python/issues/92 |
| twitter:image | https://opengraph.githubassets.com/1d82beda959f18cb8845785446e063395fb382a1be709ef3e67d7bd15d201ea3/microsoftgraph/msgraph-sdk-python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1d82beda959f18cb8845785446e063395fb382a1be709ef3e67d7bd15d201ea3/microsoftgraph/msgraph-sdk-python |
| og:image:alt | Contribute to microsoftgraph/msgraph-sdk-python development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoftgraph/msgraph-sdk-python git https://github.com/microsoftgraph/msgraph-sdk-python.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 534665999 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 534665999 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width