{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph API (Office 365 subset) Drive Teams API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "List teams the signed-in user is a member of", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/joinedTeams" }, "docs": "List teams the signed-in user is a member of" }, { "info": { "name": "Get a team by id", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path" } ] }, "docs": "Get a team by id" }, { "info": { "name": "List channels in a team", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team_id/channels", "params": [ { "name": "team_id", "value": "", "type": "path" } ] }, "docs": "List channels in a team" }, { "info": { "name": "Create a channel in a team", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team_id/channels", "params": [ { "name": "team_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a channel in a team" }, { "info": { "name": "List chat messages in a channel", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team_id/channels/:channel_id/messages", "params": [ { "name": "team_id", "value": "", "type": "path" }, { "name": "channel_id", "value": "", "type": "path" } ] }, "docs": "List chat messages in a channel" }, { "info": { "name": "Send a chat message to a channel", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team_id/channels/:channel_id/messages", "params": [ { "name": "team_id", "value": "", "type": "path" }, { "name": "channel_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Send a chat message to a channel" } ] } ], "bundled": true }