We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Documentation specifies search results returning driveItem type. driveItem contains parentReference, which contains path field.
driveItem
parentReference
path
In case of this query (using Microsoft graph explorer): https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference
expected result would contain path field, under parentReference in the results
Running https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference return:
{ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.driveItem)", "value": [ { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ6TAJHXA5GMWZB2HDLD7SNEXFFU", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ6TAJHXA5GMWZB2HDLD7SNEXFFU", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ63K2CXJCCRJNAL7T7VCUPNT2ZE", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } }, { "parentReference": { "driveType": "business", "driveId": "b!-RIj2DuyvEyV1T4NlOaMHk8XkS_I8MdFlUCq1BlcjgmhRfAj3-Z8RY2VpuvV_tpd", "id": "01BYE5RZ6TAJHXA5GMWZB2HDLD7SNEXFFU", "siteId": "d82312f9-b23b-4cbc-95d5-3e0d94e68c1e" } } ] }
Note that path field is missing in all parentReference objects.
This issue was previously reported here 4 years ago, and closed without resolution #1234
Thank you.
[ ]: http://aka.ms/onedrive-api-issues [x]: http://aka.ms/onedrive-api-issues
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Category
Expected or Desired Behavior
Documentation specifies search results returning
driveItem
type.driveItem
containsparentReference
, which containspath
field.In case of this query (using Microsoft graph explorer):
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference
expected result would contain
path
field, underparentReference
in the resultsObserved Behavior
Running
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference
return:
Note that
path
field is missing in allparentReference
objects.Steps to Reproduce
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=parentReference
in Microsoft Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer?request=groups?$expand=members&method=GET&version=v1.0)This issue was previously reported here 4 years ago, and closed without resolution #1234
Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues
The text was updated successfully, but these errors were encountered: