Custom Anfrage
V1
POST
/api/server-monitors
PATH PARAMETERS
name
REQUIRED
string
target
REQUIRED
string
project_id
REQUIRED
integer
notifications
REQUIRED
array
server_check_interval_seconds
REQUIRED
integer
EXAMPLE REQUEST
curlcurl --request POST \
--url 'https://swiss-monitor.ch/api/server-monitors' \
--header 'Authorization: Bearer f00642f1-a455-4c62-bb9d-9225349fc408' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
EXAMPLE RESPONSES
{
"data": {
"id": 1
}
}
Zuletzt aktualisiert: 17. March 2026