{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin chats.pinnedChatMessageInfo API", "version": "1.0.0" }, "items": [ { "info": { "name": "chats.pinnedChatMessageInfo", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List pinnedChatMessages in a chat", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "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 list of pinnedChatMessages in a chat." }, { "info": { "name": "Microsoft Graph Pin a message in a chat", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message." }, { "info": { "name": "Microsoft Graph Get pinnedMessages from chats", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages/:pinnedChatMessageInfo-id", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "name": "pinnedChatMessageInfo-id", "value": "", "type": "path", "description": "The unique identifier of pinnedChatMessageInfo" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "A collection of all the pinned messages in the chat. Nullable." }, { "info": { "name": "Microsoft Graph Update the navigation property pinnedMessages in chats", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages/:pinnedChatMessageInfo-id", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "name": "pinnedChatMessageInfo-id", "value": "", "type": "path", "description": "The unique identifier of pinnedChatMessageInfo" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property pinnedMessages in chats" }, { "info": { "name": "Microsoft Graph Unpin a message from a chat", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages/:pinnedChatMessageInfo-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "name": "pinnedChatMessageInfo-id", "value": "", "type": "path", "description": "The unique identifier of pinnedChatMessageInfo" } ] }, "docs": "Unpin a message from a chat." }, { "info": { "name": "Microsoft Graph Get message from chats", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages/:pinnedChatMessageInfo-id/message", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "name": "pinnedChatMessageInfo-id", "value": "", "type": "path", "description": "The unique identifier of pinnedChatMessageInfo" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Represents details about the chat message that is pinned." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/chats/:chat-id/pinnedMessages/$count", "params": [ { "name": "chat-id", "value": "", "type": "path", "description": "The unique identifier of chat" }, { "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 }