-
Notifications
You must be signed in to change notification settings - Fork 62
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
Expanding navigation properties on alternate keys #459
Comments
Preliminary analysis of possible outcome of this would mean expanding /directoryRoles/{directoryRole-id}/members
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/$ref
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.application
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.device
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.group
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.orgContact
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.servicePrincipal
/directoryRoles/{directoryRole-id}/members/{directoryObject-id}/microsoft.graph.user
/directoryRoles/{directoryRole-id}/members/$count
/directoryRoles/{directoryRole-id}/members/$ref
/directoryRoles/{directoryRole-id}/members/microsoft.graph.application
/directoryRoles/{directoryRole-id}/members/microsoft.graph.application/$count
/directoryRoles/{directoryRole-id}/members/microsoft.graph.device
/directoryRoles/{directoryRole-id}/members/microsoft.graph.device/$count
/directoryRoles/{directoryRole-id}/members/microsoft.graph.group
/directoryRoles/{directoryRole-id}/members/microsoft.graph.group/$count
/directoryRoles/{directoryRole-id}/members/microsoft.graph.orgContact
/directoryRoles/{directoryRole-id}/members/microsoft.graph.orgContact/$count
/directoryRoles/{directoryRole-id}/members/microsoft.graph.servicePrincipal
/directoryRoles/{directoryRole-id}/members/microsoft.graph.servicePrincipal/$count
/directoryRoles/{directoryRole-id}/members/microsoft.graph.user
/directoryRoles/{directoryRole-id}/members/microsoft.graph.user/$count
/directoryRoles/{directoryRole-id}/microsoft.graph.checkMemberGroups
/directoryRoles/{directoryRole-id}/microsoft.graph.checkMemberObjects
/directoryRoles/{directoryRole-id}/microsoft.graph.getMemberGroups
/directoryRoles/{directoryRole-id}/microsoft.graph.getMemberObjects
/directoryRoles/{directoryRole-id}/microsoft.graph.restore
/directoryRoles/{directoryRole-id}/scopedMembers
/directoryRoles/{directoryRole-id}/scopedMembers/{scopedRoleMembership-id}
/directoryRoles/{directoryRole-id}/scopedMembers/$count This would considerably increase our OpenAPI paths footprint. To try and contain this, would we want to have expansion rules that enforces:
|
Taking this example again, all the members operations are available under the "main id" path segment. I suggest we DO NOT expand those paths using the conversion library. Maybe better steps here would be to:
Thoughts? |
Related to microsoftgraph/msgraph-sdk-dotnet#2243
From the documentation at https://learn.microsoft.com/en-us/graph/api/directoryrole-list-members?view=graph-rest-1.0&tabs=http#example-2-get-the-members-of-a-directory-role-using-roletemplateid
It should be possible to list the
members
of adirectoryRole
using id or using theroleTemplateId
alternate key.At moment we do not expand paths with alternate keys even though they may have contained navigation properties. As these maybe be valid paths, we will need to investigate the validity and impact on path expansion across other paths.
The text was updated successfully, but these errors were encountered: