Skip to content
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

Initial implementation of /me/drives/sharedByMe endpoint #7239

Merged
merged 6 commits into from
Nov 6, 2023

Commits on Nov 3, 2023

  1. Disable debug log during test

    rhafer committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    1c4a4ed View commit details
    Browse the repository at this point in the history
  2. graph: Initial implementation of /me/drives/sharedByMe endpoint

    This adds a still incomplete implementation of the new /me/drives/sharedByMe
    endpoint. For now it only sets the driveItem Id property. The 'permissions' relation
    is not supported yet.
    
    This endpoint is added to the /v1beta1 route, to indicate that it is
    still imcomplete and might require changes.
    rhafer committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    2143bd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3998f7d View commit details
    Browse the repository at this point in the history
  4. graph/sharedbyme: Use existing method to initialize driveitem properties

    getDriveItem does a Stat() call on the resource and sets the
    corresponding DriveItem properties.
    rhafer committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    9857e20 View commit details
    Browse the repository at this point in the history
  5. graph/sharedbyme: populate the permissions property

    Set the exipration date, grantedToV2 and link attributes on the
    permissions.
    
    The displayName for users and groups isn't expanded yet (only the "id" is set)
    Also, the "roles" attribute cannot be populated yet.
    rhafer committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    1b19e66 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a9c0eeb View commit details
    Browse the repository at this point in the history