{ "opencollection": "1.0.0", "info": { "name": "Ledger Analytics Cashflow Models Triangles API", "version": "0.0.30" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Triangles", "type": "folder" }, "items": [ { "info": { "name": "List triangles", "type": "http" }, "http": { "method": "GET", "url": "https://api.korra.com/analytics/triangle", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return per page." } ] }, "docs": "Returns a paginated list of loss triangles belonging to the authenticated account." }, { "info": { "name": "Create a triangle", "type": "http" }, "http": { "method": "POST", "url": "https://api.korra.com/analytics/triangle", "body": { "type": "json", "data": "{}" } }, "docs": "Uploads a loss triangle. `triangle_data` is the Bermuda triangle dictionary\nrepresentation (`bermuda.Triangle.to_dict()`). Set `overwrite` to replace an\nexisting triangle of the same name — the upsert semantic used by the client's\n`get_or_create` / `get_or_update` helpers.\n" }, { "info": { "name": "Retrieve a triangle", "type": "http" }, "http": { "method": "GET", "url": "https://api.korra.com/analytics/triangle/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifier of the resource." } ] }, "docs": "Retrieves a triangle by id. For large triangles the response carries a `url`\nfield with a pre-signed download location instead of an inline `triangle_data`\npayload; the client follows that URL and streams the content.\n" }, { "info": { "name": "Delete a triangle", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.korra.com/analytics/triangle/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifier of the resource." } ] }, "docs": "Delete a triangle" } ] } ], "bundled": true }