-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing request types in the upgraded version #1856
Comments
Hi @varunrathi1910 List/drive operations on subsites:
app catelogs post is present : Line 94 in 2719abb
Message attachment: this is a limitation of how the service documents its metadata unfortunately that doesn't allow us to generate the right code path. This version is stable besides the few edge cases due to the change of generation technology and is ready for production. We encourage customers to migrate to it. Let us know if you have further questions. |
Hi @baywet , I am attempting to iterate over the following endpoint: The compilation error received is: Bound mismatch: The type String is not a valid substitute for the bounded parameter of the type PageIterator.Builder<TEntity,TCollectionPage>. |
Currently it's not possible. However with the work ongoing here it might be in the future. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
After upgrading to version 6, certain request types appear to be missing. These include:
"https://graph.microsoft.com/v1.0/sites/{site-id}/sites/{subsite-id}/lists/{list-id}/items/{item-id}" - Retrieving an item from a subsite.
"https://graph.microsoft.com/v1.0/sites/{site-id}/sites/{subsite-id}/lists/{list-id}/drive" - Retrieving details of a drive.
"https://graph.microsoft.com/v1.0/users/{user_id}/messages/{id}/attachments/{id}/$value)" - Fetching attachment content.
"https://graph.microsoft.com/v1.0/appCatalogs/teamsApps" - Publishing a Teams Application via the POST method.
Previously, we used the following requests for these actions:
graphServiceClient.sites("site-id").sites("web-id").lists("list-id").items("item-id").get();
graphServiceClient.sites("site-id").sites("web-id").lists("list-id").drive().get();
FileAttachmentRequestBuilder attachmentRequestBuilder = new FileAttachmentRequestBuilder("https://graph.microsoft.com/v1.0/users/{user_id}/messages/{id}/attachments/{id}", graphServiceClient, null); return attachmentRequestBuilder.content().buildRequest().get();
Along with the upgrade guide, we have referred to the following links for guidance:
https://learn.microsoft.com/en-us/graph/api/attachment-get?view=graph-rest-1.0&tabs=http#http-request
https://learn.microsoft.com/en-us/graph/api/teamsapp-publish?view=graph-rest-1.0&tabs=http#http-request
Are there any alternatives available to execute these requests in upgraded version, or do we need to execute them manually?
Furthermore, would it be advisable for us to transition to v6 in our production environment, or should we wait for further stabilization of the version?
The text was updated successfully, but these errors were encountered: