次の方法で共有


ODSPSearchGuidancePlugin

開発プロキシが OneDrive および SharePoint 検索 API への要求を検出したときに警告を表示します。

このプラグインは、Microsoft Search API ガイダンスに従います。

OneDrive および SharePoint 検索 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/*"
  ]
}

構成の例

何一つ

構成プロパティ

何一つ

コマンド ライン オプション

何一つ