Squadcast is now SolarWinds Incident Response
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Incidents/Incident Actions

Rebuild a Project In CircleCI

post
/v3/incidents/{incidentID}/actions/circleci/rebuild/{buildNumber}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
incidentIDstringRequired
buildNumberstringRequired
Body

Request body for rebuilding a project in CircleCI.

vcs_typestringRequired
usernamestringRequired
reponamestringRequired
Responses
200

The request has succeeded.

application/json
post/v3/incidents/{incidentID}/actions/circleci/rebuild/{buildNumber}
POST /v3/incidents/{incidentID}/actions/circleci/rebuild/{buildNumber} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "vcs_type": "text",
  "username": "text",
  "reponame": "text"
}
{
  "data": {
    "action_id": "text",
    "circleci_response": {
      "username": "text",
      "reponame": "text",
      "build_num": 1,
      "build_url": "text",
      "build_parameters": {
        "CIRCLE_JOB": "text"
      },
      "previous": {
        "build_num": 1,
        "build_time_millis": 1,
        "status": "text"
      },
      "previous_successful_build": {
        "build_num": 1,
        "build_time_millis": 1,
        "status": "text"
      },
      "retry_of": 1,
      "body": "text",
      "subject": "text",
      "status": "text",
      "lifecycle": "text",
      "outcome": "text",
      "committer_date": "text",
      "committer_email": "text",
      "committer_name": "text",
      "author_date": "text",
      "author_email": "text",
      "author_name": "text",
      "branch": "text",
      "vcs_type": "text",
      "vcs_url": "text",
      "start_time": "text",
      "stop_time": "text"
    }
  },
  "meta": {
    "status_code": 1
  }
}

Create a Ticket on Jira Cloud

post
/v3/incidents/{incidentID}/actions/jira/new/jira-cloud
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
incidentIDstringRequired
Responses
200

The request has succeeded.

application/json
datastringRequired
post/v3/incidents/{incidentID}/actions/jira/new/jira-cloud
POST /v3/incidents/{incidentID}/actions/jira/new/jira-cloud HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": "text"
}

Create a Ticket on Jira Server

post
/v3/incidents/{incidentID}/actions/jira/new/jira-server
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
incidentIDstringRequired
Responses
200

The request has succeeded.

application/json
datastringRequired
post/v3/incidents/{incidentID}/actions/jira/new/jira-server
POST /v3/incidents/{incidentID}/actions/jira/new/jira-server HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": "text"
}

Create an Incident in ServiceNow

post
/v3/incidents/{incidentID}/actions/servicenow/new
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
incidentIDstringRequired
Responses
201

The request has succeeded and a new resource has been created as a result.

application/json
objectOptional
post/v3/incidents/{incidentID}/actions/servicenow/new
POST /v3/incidents/{incidentID}/actions/servicenow/new HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}

Trigger a Webhook Manually

post
/v3/incidents/{incidentID}/actions/webhook/{eventWebhookID}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
incidentIDstringRequired
eventWebhookIDstringRequired
Responses
200

The request has succeeded.

application/json
post/v3/incidents/{incidentID}/actions/webhook/{eventWebhookID}
POST /v3/incidents/{incidentID}/actions/webhook/{eventWebhookID} HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "id": "text",
    "created_at": "text",
    "updated_at": "text",
    "version": "text",
    "organization_id": "text",
    "author_id": "text",
    "name": "text",
    "slug": "text",
    "description": "text",
    "triggers": [
      {
        "event_class": "text",
        "event_type": "text"
      }
    ],
    "urls": [
      {
        "url": "text",
        "method": "text"
      }
    ],
    "teams": [
      "text"
    ],
    "is_all_teams_configured": true,
    "custom_payload_template_slug": "text",
    "header": {
      "Content-Type": "text"
    },
    "filters": null,
    "trigger_type": "text",
    "language": "text",
    "max_retry": 1,
    "mail_ids": [
      "text"
    ],
    "payload_type": "text",
    "custom_payload": "text"
  }
}

Last updated