Components
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/component HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": [
{
"_id": "66c1d2e3f4a5b60718293a4c",
"name": "API",
"description": "Public REST API",
"status": "operational",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
]
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
component_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /api/status-page/{status_page_id}/component/{component_id} HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Accept: */*
{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4c",
"name": "API",
"description": "Public REST API",
"status": "operational",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Bad request
Unauthorized
Not found
POST /api/status-page/{status_page_id}/component/create HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"components": [
{
"name": "from API",
"desc": "from API"
}
]
}{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4c",
"name": "API",
"description": "Public REST API",
"status": "operational",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
status_page_id parameter
component_id parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Bad request
Unauthorized
Not found
POST /api/status-page/{status_page_id}/component/{component_id}/update HTTP/1.1
Host: statuspage.spike.sh
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"name": "edited with api",
"desc": "edited with api"
}{
"success": true,
"data": {
"_id": "66c1d2e3f4a5b60718293a4c",
"name": "API",
"description": "Public REST API",
"status": "degraded_performance",
"statusPage": "66c1d2e3f4a5b60718293a4b"
}
}Last updated