How to get PublicationFacet information for an onedrive item using graphapi

Krishna Chaitanya 10 Reputation points
2024-03-29T13:21:58.6966667+00:00

I want to get the PublicationFacet information for an one drive document using graph api. With the help of graph api i want to know document is currenlty opened with some one or not.

{ "level": "published | checkout", "versionId": "string", "checkedOutBy": { "@odata.type": "microsoft.graph.identitySet" } }

I have tried using below api. But it is always giving level as published.

Thanks in advance.

https://graph.microsoft.com/v1.0/me/drive/items/{itemid}?$select=publication		
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,465 questions
0 comments No comments
{count} votes