{ "opencollection": "1.0.0", "info": { "name": "Management Applications Cohorts API", "version": "1" }, "items": [ { "info": { "name": "Cohorts", "type": "folder" }, "items": [ { "info": { "name": "Get Cohorts", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/cohorts", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohort_type", "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 Cohorts" }, { "info": { "name": "Create New Cohort", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/cohorts", "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 Cohort" }, { "info": { "name": "Get Cohort", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/cohorts/:cohortId", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohort_type", "value": "", "type": "query" }, { "name": "cohortId", "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 Cohort" }, { "info": { "name": "Update a Cohort", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/cohorts/:cohortId", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohortId", "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 Cohort" }, { "info": { "name": "Delete Cohort", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/cohorts/:cohortId", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohortId", "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 Cohort" }, { "info": { "name": "Delete Sample Rate for a Cohort", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/cohorts/:cohortId/sample_rate", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohortId", "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 Sample Rate for a Cohort" } ] } ], "bundled": true }