{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure Cognitive Services Accounts OAuth2 Permissions API", "version": "3.2" }, "request": { "auth": { "type": "apikey", "key": "Ocp-Apim-Subscription-Key", "value": "{{Ocp-Apim-Subscription-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "OAuth2 Permissions", "type": "folder" }, "items": [ { "info": { "name": "Microsoft List OAuth2 permission grants", "type": "http" }, "http": { "method": "GET", "url": "https://{region}.api.cognitive.microsoft.com/oauth2PermissionGrants", "params": [ { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of items" } ] }, "docs": "Retrieve a list of oAuth2PermissionGrant objects." }, { "info": { "name": "Microsoft Create a delegated permission grant", "type": "http" }, "http": { "method": "POST", "url": "https://{region}.api.cognitive.microsoft.com/oauth2PermissionGrants", "body": { "type": "json", "data": "{}" } }, "docs": "Create a delegated permission grant." } ] } ], "bundled": true }