Created
April 25, 2023 11:58
-
-
Save waldekmastykarz/9b5e054076a43a40e635df64a757eed1 to your computer and use it in GitHub Desktop.
Excluding URLs in Microsoft Graph Developer Proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": [ | |
{ | |
"name": "GraphRandomErrorPlugin", | |
"enabled": true, | |
"pluginPath": "GraphProxyPlugins\\msgraph-developer-proxy-plugins.dll", | |
"configSection": "graphRandomErrorsPlugin" | |
} | |
], | |
"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/*", | |
"!https://*.sharepoint.*/*_api/web/GetClientSideComponents", | |
"https://*.sharepoint.*/*_api/*", | |
"https://*.sharepoint.*/*_vti_bin/*", | |
"https://*.sharepoint-df.*/*_api/*", | |
"https://*.sharepoint-df.*/*_vti_bin/*" | |
], | |
"graphRandomErrorsPlugin": { | |
"allowedErrors": [ 429, 500, 502, 503, 504, 507 ] | |
}, | |
"rate": 50 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment