面向开发者的 Azure 安全实现
Anushika Agarwal
Cloud Data Engineer
统一 API,访问 Microsoft 365 数据
所有服务共用一个端点

PeopleSphere 使用:
Graph 将它们连接起来

统一 API:一个端点访问 Microsoft Cloud 服务资源

请求组成:
方法:GET、POST、PATCH 等
版本:v1.0、beta
资源:users、groups 等
查询参数:$select、$filter
请求头:Authorization、Content-Type

支持的方法:
GET:获取数据
POST:创建数据
PUT:完整替换数据
PATCH:部分更新数据
DELETE:删除数据

https://graph.microsoft.com/v1.0/groups
稳定 API

beta
https://graph.microsoft.com/beta/groups`

您正在访问的具体数据。
示例:
/users、/me/groups/users/{userId}/events


用于筛选、排序或选择特定数据的选项
Select:
$select=id,displayNameFilter:
$filter=startswith(displayName, 'John')Top:
$top=5


在 HTTP 请求和响应中携带元数据
两类请求头:标准与特定于 API

Bearer {access_token}application/json30https://graph.microsoft.com/operationStatus面向开发者的 Azure 安全实现