{ "opencollection": "1.0.0", "info": { "name": "HighBond API Reference Actions Risks API", "version": "1.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Risks", "type": "folder" }, "items": [ { "info": { "name": "Get risks", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{server}/v1/orgs/:org_id/objectives/:objective_id/risks", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The ID of the HighBond instance." }, { "name": "objective_id", "value": "", "type": "path", "description": "The ID of the objective." }, { "name": "fields[risks]", "value": "", "type": "query", "description": "Requesting the API to return only the specified fields. For more information, see Making requests" }, { "name": "include", "value": "", "type": "query", "description": "Requesting the API to return related resources. For more information, see Making requests" }, { "name": "page[size]", "value": "", "type": "query", "description": "The number of items returned per page. Default is 50. Maximum is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "The Base64-encoded page number of records to return." } ] }, "docs": "Get a list of all risks for an objective." }, { "info": { "name": "Create a risk", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{server}/v1/orgs/:org_id/objectives/:objective_id/risks", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The ID of the HighBond instance." }, { "name": "objective_id", "value": "", "type": "path", "description": "The ID of the objective." }, { "name": "fields[risks]", "value": "", "type": "query", "description": "Requesting the API to return only the specified fields. For more information, see Making requests" }, { "name": "include", "value": "", "type": "query", "description": "Requesting the API to return related resources. For more information, see Making requests" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new risk in an existing objective.\n\nLimitations:\n* Each objective in a project or framework can contain a maximum of 1000 risks.\n" }, { "info": { "name": "Get a risk", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{server}/v1/orgs/:org_id/risks/:id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The ID of the HighBond instance." }, { "name": "id", "value": "", "type": "path", "description": "The ID of the requested resource." }, { "name": "fields[risks]", "value": "", "type": "query", "description": "Requesting the API to return only the specified fields. For more information, see Making requests" }, { "name": "include", "value": "", "type": "query", "description": "Requesting the API to return related resources. For more information, see Making requests" } ] }, "docs": "Get information about a risk.\n" }, { "info": { "name": "Update a risk", "type": "http" }, "http": { "method": "PATCH", "url": "{protocol}://{server}/v1/orgs/:org_id/risks/:id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The ID of the HighBond instance." }, { "name": "id", "value": "", "type": "path", "description": "The ID of the requested resource." }, { "name": "fields[risks]", "value": "", "type": "query", "description": "Requesting the API to return only the specified fields. For more information, see Making requests" }, { "name": "include", "value": "", "type": "query", "description": "Requesting the API to return related resources. For more information, see Making requests" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Make changes to a risk in project or framework, like renaming the risk or updating the risk description.\n\nLimitations:\n* You cannot update the risk if the objective it belongs to has been checked out using\nOffline Projects or the\nHighBond iPad app.\n* You cann" }, { "info": { "name": "Delete a risk", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{server}/v1/orgs/:org_id/risks/:id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The ID of the HighBond instance." }, { "name": "id", "value": "", "type": "path", "description": "The ID of the requested resource." } ] }, "docs": "Permanently delete a risk from an objective.\n\nLimitations:\nYou cannot delete the risk in the following scenarios:\n* if the risk is included in an existing certification program\n* if the objective it belongs to has been checked out using\nOffline Projects **Note**\n> * Tagging a risk to an entity automatically tags a risk with all ancestor entities and descendant entities.\n> * Request Get a risk with `entities` query param to get the whole list of entities linked to a risk.\n\nLimitations:\n * You cannot tag the risk with entity if the objective it belongs to has been checked out using\n **Note -**\nUntagging a risk from an entity automatically untags a risk from all descendant entities.\n\nLimitations:\n * You cannot untag a risk from an entity if the objective it belongs to has been checked out using\n Offline Projects or the\n