How to get PublicationFacet information for an onedrive item using graphapi

Krishna Chaitanya 10 Reputation points

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.{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.
10,526 questions
0 comments No comments
{count} votes