{ "opencollection": "1.0.0", "info": { "name": "Management Applications Governance Rules API", "version": "1" }, "items": [ { "info": { "name": "Governance Rules", "type": "folder" }, "items": [ { "info": { "name": "Get Governance Rules", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/governance/rules", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Governance Rules" }, { "info": { "name": "Create New Governance Rules", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/governance/rules", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create New Governance Rules" }, { "info": { "name": "Get a Governance Rule", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/governance/rules/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a Governance Rule" }, { "info": { "name": "Update a Governance Rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/governance/rules/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a Governance Rule" }, { "info": { "name": "Delete a Governance Rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/governance/rules/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a Governance Rule" } ] } ], "bundled": true }