{ "opencollection": "1.0.0", "info": { "name": "Cube Agents Company Groups API", "version": "1.0.0 (1.0)" }, "items": [ { "info": { "name": "Company Groups", "type": "folder" }, "items": [ { "info": { "name": "List a company's groups", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/company/groups", "headers": [ { "name": "X-Company-ID", "value": "" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Lists all of the groups for the current user's company" }, { "info": { "name": "Create a group", "type": "http" }, "http": { "method": "POST", "url": "https://api.cubesoftware.com/company/groups", "headers": [ { "name": "X-Company-ID", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new group for the current user's company" }, { "info": { "name": "company_groups_subcube_access_rules_list", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules", "params": [ { "name": "company_group_pk", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_subcube_access_rules_create", "type": "http" }, "http": { "method": "POST", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules", "params": [ { "name": "company_group_pk", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_subcube_access_rules_retrieve", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules/:id", "params": [ { "name": "company_group_pk", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_subcube_access_rules_update", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules/:id", "params": [ { "name": "company_group_pk", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_subcube_access_rules_partial_update", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules/:id", "params": [ { "name": "company_group_pk", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_subcube_access_rules_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cubesoftware.com/company/groups/:company_group_pk/subcube-access-rules/:id", "params": [ { "name": "company_group_pk", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Default authenticated ViewSet with standard rate limit (DEFAULT_API_RATE_LIMIT)." }, { "info": { "name": "company_groups_retrieve", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/company/groups/:id", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve a group for the company by its group ID" }, { "info": { "name": "Update a group", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cubesoftware.com/company/groups/:id", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a group for the current user's company" }, { "info": { "name": "Update a subset of a group's fields", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.cubesoftware.com/company/groups/:id", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a group for the current user's company" }, { "info": { "name": "Delete a group", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cubesoftware.com/company/groups/:id", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://portal.cubesoftware.com/o/authorize/", "accessTokenUrl": "https://api.cubesoftware.com/o/token/", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a group for the current user's company" } ] } ], "bundled": true }