在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):microsoftgraph/graphql-demo开源软件地址(OpenSource Url):https://github.com/microsoftgraph/graphql-demo开源编程语言(OpenSource Language):JavaScript 83.0%开源软件介绍(OpenSource Introduction):[ARCHIVED] GraphQL for Microsoft Graph (DEMO)Note: This repo is archived and no longer actively maintained. Security vulnerabilities may exist in the project, or its dependencies. If you plan to reuse or run any code from this repo, be sure to perform appropriate security checks on the code or dependencies first. Call to actionWe are looking for feedback from developers interested in integrating with Microsoft Graph via GraphQL. To share your thoughts and scenarios, please leave a comment on UserVoice. AboutThis is a demo that enables basic, read-only querying of the Microsoft Graph API using GraphQL query syntax. GraphQL enables clients to request exactly the resources and properties that they need instead of making REST requests for each resource and consolidating the responses. To create a GraphQL service, this demo translates the Microsoft Graph OData $metadata document to a GraphQL schema and generates the necessary resolvers. Please note we are providing this demo code for evaluation as-is. Live demoTry the Microsoft Graph GraphQL Demo here Installation
Sample requestsFetch recent emails{
me {
displayName
officeLocation
skills
messages {
subject
isRead
from {
emailAddress {
address
}
}
}
}
} Fetch groups and members{
groups {
displayName
description
members {
id
}
}
} Fetch files from OneDrive{
me {
drives {
quota {
used
remaining
}
root {
children {
name
size
lastModifiedDateTime
webUrl
}
}
}
}
} How it works
Limitations/to-dos
Code of conductThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments. CopyrightCopyright (c) 2017 Microsoft Corporation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论