René's URL Explorer Experiment


Title: fix mail fileAttachment request url by davidmoten · Pull Request #28 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: fix mail fileAttachment request url by davidmoten · Pull Request #28 · microsoftgraph/msgraph-sdk-java

X Title: fix mail fileAttachment request url by davidmoten · Pull Request #28 · microsoftgraph/msgraph-sdk-java

Description: See also #21 This bit of code currently fails: FileAttachment a = client // .users(mailbox) // .messages(m.id) // .attachments(att.id) // .fileAttachment() .buildRequest() // .get(); This is occuring because BaseAttachmentRequestBuilder supplements the request url with /fileAttachment. This does not correspond to the api documentation . When the request url is left alone in BaseAttachmentRequestBuilder the code works (and I confirm we have access to the contentBytes of the attachment). Of course this is generated code and the generator will have to be updated as well (can you do that please Cbales?). Note also that I have added pom.xml to .gitignore because mixing maven and gradle projects in Eclipse is ugly and doesn't support live changes (I want changes in msgraph-sdk-java to immediately affect other open projects) so I import the project as a maven project instead (the pom.xml is generated by ./gradlew publishToMavenLocal and manually copied to project root). A quick note that though this fix works is it possible that a coming revision of MsGraph API will support these currently non-working resource paths?

Open Graph Description: See also #21 This bit of code currently fails: FileAttachment a = client // .users(mailbox) // .messages(m.id) // .attachments(att.id) // .fileAttachment() .buildRequest() // .get(); Th...

X Description: See also #21 This bit of code currently fails: FileAttachment a = client // .users(mailbox) // .messages(m.id) // .attachments(att.id) // .fileAttachment() .buildRequest() // .get(); Th...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/pull/28

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:feab2b8e-c264-147a-2fcf-d7b7be2af304
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9F4:143D5D:11EB7B0:17C8FEB:6B051DF3
html-safe-nonce9c27579e04af260ac057aa725c98ee7c18da307c8ab0e083cebe46f0a0f02732
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUY0OjE0M0Q1RDoxMUVCN0IwOjE3QzhGRUI6NkIwNTFERjMiLCJ2aXNpdG9yX2lkIjoiNDA5ODk0ODQ2OTMyOTU2NzIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacae731d10a16f0abcb9a52bff3f4325e3b925c399535415bd4f27a2e0d3bff6d2
hovercard-subject-tagpull_request:163848417
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
twitter:imagehttps://avatars.githubusercontent.com/u/318187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/318187?s=400&v=4
og:image:altSee also #21 This bit of code currently fails: FileAttachment a = client // .users(mailbox) // .messages(m.id) // .attachments(att.id) // .fileAttachment() .buildRequest() // .get(); Th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fpull%2F28%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fpull%2F28%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Codehttps://github.com/microsoftgraph/msgraph-sdk-java
Issues107 (107)https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests23 (23)https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2Fnew%2Fchoose
Dave Moten (davidmoten)https://github.com/davidmoten
microsoftgraph:masterhttps://github.com/microsoftgraph/msgraph-sdk-java/tree/master
davidmoten:fix-file-attachmenthttps://github.com/davidmoten/msgraph-sdk-java-old/tree/fix-file-attachment
Conversation 2 https://github.com/microsoftgraph/msgraph-sdk-java/pull/28
Commits 2 https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/commits
Checks 0 https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/checks
Files changed https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
fix mail fileAttachment request url https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#top
Show all changes 2 commits https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
fa93ef7 fix mail fileAttachment request url, add exclusion to .gitignore for … davidmoten Jan 18, 2018 https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/commits/fa93ef76dd9676f6fbc5156d339eecfa0747ca44
8a29084 only exclude pom.xml at root level davidmoten Jan 18, 2018 https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/commits/8a29084ed27acaecc0d723678b3324f445ec6c80
Clear filters https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
.gitignore https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
BaseAttachmentRequestBuilder.java https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-8acd218f4b0e4d6388b31cb14fb4d9486df4ff06aa9e5564f3aba339df31da3b
.gitignorehttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/davidmoten/msgraph-sdk-java-old/blob/8a29084ed27acaecc0d723678b3324f445ec6c80/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/{{ revealButtonHref }}
https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
Caitlin Russell (caitlinrussell)https://github.com/caitlinrussell
Jan 22, 2018https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#r163062724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files
src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.javahttps://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-8acd218f4b0e4d6388b31cb14fb4d9486df4ff06aa9e5564f3aba339df31da3b
View file https://github.com/davidmoten/msgraph-sdk-java-old/blob/8a29084ed27acaecc0d723678b3324f445ec6c80/src/main/java/com/microsoft/graph/requests/generated/BaseAttachmentRequestBuilder.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/{{ revealButtonHref }}
https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-8acd218f4b0e4d6388b31cb14fb4d9486df4ff06aa9e5564f3aba339df31da3b
https://github.com/microsoftgraph/msgraph-sdk-java/pull/28/files#diff-8acd218f4b0e4d6388b31cb14fb4d9486df4ff06aa9e5564f3aba339df31da3b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.