cURL
curl --request POST \ --url https://api.watchmantower.com/public/v1/sites \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "name": "<string>", "url": "<string>", "protocol": "http", "timeout": 15000, "checkInterval": 43215, "parentGroup": "<string>" }'
"<any>"
Yeni bir site kaydı oluşturur.
http
https
Timeout in milliseconds
Check interval in seconds
30 <= x <= 86400
Yeni site başarıyla oluşturuldu.
The response is of type any.
any