{ "opencollection": "1.0.0", "info": { "name": "Cube Agents Formulas API", "version": "1.0.0 (1.0)" }, "items": [ { "info": { "name": "Formulas", "type": "folder" }, "items": [ { "info": { "name": "Formulas by Dimension", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/dimensions/:dimension_id/formulas", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "dimension_id", "value": "", "type": "path", "description": "The ID of the dimension" } ], "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": "This endpoint returns formula information for a given dimension ID." }, { "info": { "name": "Retrieve Formulas", "type": "http" }, "http": { "method": "GET", "url": "https://api.cubesoftware.com/formulas", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "recalculating", "value": "", "type": "query", "description": "Only include recalculating formulas" } ], "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 all formulas belonging to a user's company" }, { "info": { "name": "Recalculate Formula", "type": "http" }, "http": { "method": "POST", "url": "https://api.cubesoftware.com/formulas/:formula_id/recalculate", "headers": [ { "name": "X-Company-ID", "value": "" } ], "params": [ { "name": "formula_id", "value": "", "type": "path", "description": "ID of the formula to recalculate" } ], "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": "Recalculate a formula by ID" } ] } ], "bundled": true }