{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure Cognitive Services Accounts Messages API", "version": "3.2" }, "request": { "auth": { "type": "apikey", "key": "Ocp-Apim-Subscription-Key", "value": "{{Ocp-Apim-Subscription-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Messages", "type": "folder" }, "items": [ { "info": { "name": "Microsoft List channel messages", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.api.cognitive.microsoft.com/teams/:teamId/channels/:channelId/messages", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "Team unique identifier" }, { "name": "channelId", "value": "", "type": "path", "description": "Channel unique identifier" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of items to return" } ] }, "docs": "Retrieve the list of messages in a channel." }, { "info": { "name": "Microsoft Send a channel message", "type": "http" }, "http": { "method": "POST", "url": "https://{region}.api.cognitive.microsoft.com/teams/:teamId/channels/:channelId/messages", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "Team unique identifier" }, { "name": "channelId", "value": "", "type": "path", "description": "Channel unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Send a new message to a channel." } ] } ], "bundled": true }