Triển khai bảo mật Azure cho nhà phát triển
Anushika Agarwal
Cloud Data Engineer
API hợp nhất để truy cập dữ liệu Microsoft 365
Một endpoint cho mọi dịch vụ

PeopleSphere dùng:
Graph kết nối tất cả

API hợp nhất: Một endpoint để truy cập tài nguyên dịch vụ Microsoft Cloud

Thành phần yêu cầu:
Method: GET, POST, PATCH, v.v.
Version: v1.0, beta
Resource: users, groups, v.v.
Query Parameters: $select, $filter
Headers: Authorization, Content-Type

Các phương thức hỗ trợ:
GET: Lấy dữ liệu
POST: Tạo dữ liệu mới
PUT: Thay thế toàn bộ dữ liệu
PATCH: Cập nhật dữ liệu hiện có
DELETE: Xóa dữ liệu

https://graph.microsoft.com/v1.0/groups
API ổn định

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

Dữ liệu cụ thể bạn tương tác.
Ví dụ:
/users, /me/groups/users/{userId}/events


Tùy chọn lọc, sắp xếp, hoặc chọn dữ liệu cụ thể
Select:
$select=id,displayNameFilter:
$filter=startswith(displayName, 'John')Top:
$top=5


Mang metadata trong request và response HTTP
Hai loại header: Chuẩn & Theo API

Bearer {access_token}application/json30https://graph.microsoft.com/operationStatusTriển khai bảo mật Azure cho nhà phát triển