You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get a DriveItem by using its ID
GET /v1beta1/drives/{drive-id}/items/{item-id}
when requested to that endpoint, the media props (audio, image, location, photo) are not returned in the response, which only works with items in the Shares space when the share receiver sends a request.
But, when requested to v1.0 endpoint GET /v1.0/drives/{drive-id}/items/{item-id}, the media props (audio, image) are returned in the response, and the v1.0 endpoint is not documented in Swagger. It works for both items in the Shares space (requested by the share receiver) and items in the Personal space (requested by the owner).
Expected behavior
Return the media props in GET request response for v1beta1
Describe the bug
There is an endpoint in graph API
v1beta1
documented in Swagger (https://owncloud.dev/libre-graph-api/#/driveItem/GetDriveItem)when requested to that endpoint, the media props (audio, image, location, photo) are not returned in the response, which only works with items in the
Shares space
when the share receiver sends a request.But, when requested to
v1.0
endpointGET /v1.0/drives/{drive-id}/items/{item-id}
, the media props (audio, image) are returned in the response, and thev1.0
endpoint is not documented in Swagger. It works for both items in theShares space
(requested by the share receiver) and items in thePersonal space
(requested by the owner).Expected behavior
v1beta1
v1.0
Actual behavior
v1beta1
When requested by share receiver
Response: HTTP 200
When requested by Owner
Response: HTTP 400
v1.0
When requested by share receiver
Response: HTTP 200
When requested by Owner
Response: HTTP 200
Setup
The text was updated successfully, but these errors were encountered: