Geliştiriciler için Azure Güvenliğini Uygulama
Anushika Agarwal
Cloud Data Engineer
Market poşetlerini küçük seferlerle taşı
Daha hafif, daha hızlı, daha güvenli



/v1.0/users : (varsayılan) Sayfa başına 100 öğe döner

Sorgu parametreleri
$top: sayfa başına öğe sayısı
$skip: atlama; ilk N öğeden sonra başla

https://graph.microsoft.com/v1.0/groups?$top=2

Tek yük -> tek yanıt, tüm sonuçlar birlikte
Yararları
Sınır

Uç nokta
https://graph.microsoft.com/v1.0/$batchusers gibi belirli bir kaynak yerine $batch

requestsrequests bir dizidir (en fazla 20 öğe){ "requests":
[ {
"id": "1",
"method": "GET",
"url": "/me/memberOf"
},
{
"id": "2",
"method": "GET",
"url": "/me/planner/tasks"
} ]
}
Her istek öğesi şunları gerektirir
id: yanıtla eşleştirilecek benzersiz etiketmethod: (GET/POST/PATCH/DELETE)url: göreli yolÜstbilgiler: Content-Type: application/json
{ "requests":
[ {
"id": "1",
"method": "GET",
"url": "/me/memberOf"
},
{
"id": "2",
"method": "GET",
"url": "/me/planner/tasks"
} ]
}
{
"responses": [
{ "id": "1",
"status": 200,
"body": { "value": [/* ... */]}},
{
"id": "2",
"status": 403,
"body": { "error": [/* ... */]}}
]
}
Her yanıt öğesi şunları içerir
id: özgün istekle eşleşir
status: o öğe için HTTP durumu
200: OK 403: Yasakheaders: (örn. Content-Type)
body: veri veya hata nesnesi
{
"responses": [
{ "id": "1",
"status": 200,
"body": { "value": [/* ... */]}},
{
"id": "2",
"status": 403,
"body": { "error": [/* ... */]}}
]
}
Geliştiriciler için Azure Güvenliğini Uygulama