{ "opencollection": "1.0.0", "info": { "name": "Management Applications Workspaces API", "version": "1" }, "items": [ { "info": { "name": "Workspaces", "type": "folder" }, "items": [ { "info": { "name": "Get new Workspace Token", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/workspaces/access_token", "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 new Workspace Access Token" }, { "info": { "name": "Get a Public Workspace", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/workspaces/public/:id", "params": [ { "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 Public Workspace" }, { "info": { "name": "Get Workspaces", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/workspaces", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "take", "value": "", "type": "query" }, { "name": "before_id", "value": "", "type": "query" }, { "name": "`type`", "value": "", "type": "query" }, { "name": "access", "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 Workspaces" }, { "info": { "name": "Create New Workspace", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/workspaces", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "expiration", "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 Workspace" }, { "info": { "name": "Get Workspace Templates", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/workspaces/templates", "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 Workspace Templates" }, { "info": { "name": "Get a Workspace", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/workspaces/: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 Workspace" }, { "info": { "name": "Update a Workspace", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/workspaces/: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 Workspace" }, { "info": { "name": "Delete a Workspace", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/workspaces/: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 Workspace" }, { "info": { "name": "Get all Comments", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/workspaces/:id/comments", "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 all Comments" }, { "info": { "name": "Create a New Comment", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/workspaces/:id/comments", "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": "Create a New Comment" }, { "info": { "name": "Update Existing Comment", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/workspaces/:id/comments/:commentId", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" }, { "name": "commentId", "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 Existing Comment" }, { "info": { "name": "Delete a Comment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/workspaces/:id/comments/:commentId", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" }, { "name": "commentId", "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 Comment" }, { "info": { "name": "Add ACL permission", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/workspaces/:id/policy/acl", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" }, { "name": "grantee", "value": "", "type": "query" }, { "name": "permission", "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": "Add ACL permission" }, { "info": { "name": "Delete ACL permission", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/workspaces/:id/policy/acl", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" }, { "name": "grantee", "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": "Delete ACL permission" } ] } ], "bundled": true }