问题
I'm interested in getting data(metadata and content of files) out of Microsoft Teams into my application using REST APIs. I have looked at Office 365 APIs and Graph APIs but, I could not find supporting documentation for Microsoft Teams.
Any suggestions will be greatly appreciated. Thank you!
回答1:
Teams API is now added to beta endpoint in Microsoft Graph. In documentation, you can find it together with Groups. Post, Channel and Chat Thread are available. For example, documentation for "channel" resource is here: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/channel
回答2:
We do not have Teams APIs available at this time. Our extensibility options are limited to experiences within the Teams application.
回答3:
Microsoft Teams REST API is now included into MS Graph API
https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0
At the time of writing this answer there are not too many APIs around Teams. However more are being added and they are in Beta (sending messages, adding apps to team, uploading team image, and more).
https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-beta
It is not recommended to use Beta APIs in production environment as they might change.
It is also worth of mentioning that Teams are actually Office365 Groups.
回答4:
Please take a look at Graph API
https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0 https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-beta
Expand "Teamwork" at left side, you can get all Teams related API
来源:https://stackoverflow.com/questions/42728492/microsoft-teams-rest-apis