msgraph-sdk-ruby icon indicating copy to clipboard operation
msgraph-sdk-ruby copied to clipboard

Ruby client and OneDrive

Open SeniorCompagnieTech opened this issue 7 years ago • 1 comments

Hey, I'd like to convert get 'https://graph.microsoft.com/v1.0/me/drive/sharedWithMe' using this gem.

It doesn't look like it has been implemented, am I wrong ?

SeniorCompagnieTech avatar Sep 18 '17 16:09 SeniorCompagnieTech

You are correct. The library is lagging behind the API. This functionality is not currently in the metadata we provide. As a workaround, you can modify the file metadata.xml and add the following data as a child node of the Schema element:

<Function Name="sharedWithMe" IsBound="true">
   <Parameter Name="bindingParameter" Type="microsoft.graph.drive"/>
   <ReturnType Type="Collection(microsoft.graph.driveItem)"/>
</Function>

caitlinrussell avatar Sep 18 '17 16:09 caitlinrussell

Thanks for reporting this issue. That version of the SDK has been deprecated a number of years ago. We're now starting the work on a new generation of this SDK and you can learn all about it on the updated readme page.

baywet avatar Jan 10 '23 19:01 baywet