{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Communications.presence API", "version": "1.0.0" }, "items": [ { "info": { "name": "Communications.presence", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get presence", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/communications/presences", "params": [ { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get a user's presence information." }, { "info": { "name": "Microsoft Graph Create new navigation property to presences for communications", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences", "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to presences for communications" }, { "info": { "name": "Microsoft Graph Get presence", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get a user's presence information." }, { "info": { "name": "Microsoft Graph Update the navigation property presences in communications", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property presences in communications" }, { "info": { "name": "Microsoft Graph Delete navigation property presences for communications", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ] }, "docs": "Microsoft Graph Delete navigation property presences for communications" }, { "info": { "name": "Microsoft Graph Invoke action clearPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id/clearPresence", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence." }, { "info": { "name": "Microsoft Graph Invoke action clearUserPreferredPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id/clearUserPreferredPresence", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ] }, "docs": "Clear the preferred availability and activity status for a user." }, { "info": { "name": "Microsoft Graph Invoke action setPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id/setPresence", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set the state of a user's presence session as an application. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API." }, { "info": { "name": "Microsoft Graph Invoke action setStatusMessage", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id/setStatusMessage", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set a presence status message for a user. An optional expiration date and time can be supplied." }, { "info": { "name": "Microsoft Graph Invoke action setUserPreferredPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/communications/presences/:presence-id/setUserPreferredPresence", "params": [ { "name": "presence-id", "value": "", "type": "path", "description": "The unique identifier of presence" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expir" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/communications/presences/$count", "params": [ { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" } ] } ], "bundled": true }