當開發 Proxy 偵測到 OneDrive 和 SharePoint 搜尋 API 的要求時,會顯示警告。
此外掛程式遵循 Microsoft 搜尋 API 指引,。
此外掛程式會偵測下列要求:
graph.microsoft.com/{version}/drives/{drive-id}/root/search(q='{search-text}')graph.microsoft.com/{version}/groups/{group-id}/drive/root/search(q='{search-text}')graph.microsoft.com/{version}/me/drive/root/search(q='{search-text}')graph.microsoft.com/{version}/sites/{site-id}/drive/root/search(q='{search-text}')graph.microsoft.com/{version}/users/{user-id}/drive/root/search(q='{search-text}')graph.microsoft.com/{version}/sites?search={query}
外掛程式實例定義
{
"name": "ODSPSearchGuidancePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/*",
"https://graph.microsoft.com/beta/*",
"https://graph.microsoft.us/v1.0/*",
"https://graph.microsoft.us/beta/*",
"https://dod-graph.microsoft.us/v1.0/*",
"https://dod-graph.microsoft.us/beta/*",
"https://microsoftgraph.chinacloudapi.cn/v1.0/*",
"https://microsoftgraph.chinacloudapi.cn/beta/*"
]
}
組態範例
沒有
組態屬性
沒有
命令行選項
沒有