Components

Get all components in a status page

get

Gets a list of all the components linked to a status page

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/api/status-page/{status_page_id}/component

Get a component

get

Get Details of a status page component

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

component_idstringRequired

component_id parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/api/status-page/{status_page_id}/component/{component_id}

Create a component

post

Create a new component for a status page

{
	"components": [
		{
			"name": "title of the component",
			"desc": "Description of hthe component",
			"status": "degraded-performance",
			"private": true
		}
	]
}

You can create multiple components at once.

Params:

name*: Title of the component.

desc*: Updated description

status: Status of the component valid choices for status are operational, degraded-performance, partial-outage, critical-outage any other choice will not reflect on the status page

private: You can choose to private or public the status page based on this flag

* Required

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

Body
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/status-page/{status_page_id}/component/create

Update a component

post

Update a component. You can update name, description, status. you can also choose to private or public a status page.

{
	"name": "title of the component",
	"desc": "Description of hthe component",
	"status": "degraded-performance",
	"private": true
}

Params:

name: Title of the component.

desc: Updated description

status: Status of the component valid choices for status are operational, degraded-performance, partial-outage, critical-outage any other choice will not reflect on the status page

private: You can choose to private or public the status page based on this flag

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
status_page_idstringRequired

status_page_id parameter

component_idstringRequired

component_id parameter

Body
namestringOptional
descstringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/status-page/{status_page_id}/component/{component_id}/update

Last updated