Incidents/Incident Actions
Request body for rebuilding a project in CircleCI.
The request has succeeded.
Represents a CircleCI error response for a 400 status code.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
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
}
}The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/incidents/{incidentID}/actions/jira/new/jira-cloud HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/incidents/{incidentID}/actions/jira/new/jira-server HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": "text"
}The request has succeeded and a new resource has been created as a result.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
POST /v3/incidents/{incidentID}/actions/servicenow/new HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}The request has succeeded.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Client error
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Client error
Server error
Server error
Service unavailable.
Server error
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