為開發人員實作 Azure 安全性
Anushika Agarwal
Cloud Data Engineer
存取 Microsoft 365 資料 的統一 API
所有服務共用單一端點

PeopleSphere 使用:
Graph 將它們全部串接

統一 API:以單一端點存取 Microsoft 雲端服務資源

請求組成:
方法: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 安全性