API
모니터, 하트비트, 통계, 채널, 상태 페이지를 위한 REST API. API 키로 인증합니다.
인증
API 키(Pro)에서 키를 생성하세요. Bearer 토큰으로 전송합니다.
curl https://app.uptimepush.com/api/v1/monitors -H "Authorization: Bearer up_live_..."모니터
- GET /api/v1/monitors – 목록 조회
- POST /api/v1/monitors – 생성 (name, type, url, interval_sec, ...)
- GET /api/v1/monitors/:id – 상세 정보
- PATCH /api/v1/monitors/:id – 수정
- DELETE /api/v1/monitors/:id
- POST /api/v1/monitors/:id/pause 및 /resume
- GET /api/v1/monitors/:id/heartbeats?hours=24
- GET /api/v1/monitors/:id/stats?days=30
모니터 생성
curl -X POST https://app.uptimepush.com/api/v1/monitors \
-H "Authorization: Bearer up_live_..." -H "Content-Type: application/json" \
-d '{"name":"API","type":"http","url":"https://api.example.com/health","interval_sec":60}'채널 및 상태 페이지
- GET/POST /api/v1/channels, POST /api/v1/channels/:id/test
- GET/POST /api/v1/status-pages
- GET /api/status/:slug.json – 공개 상태 JSON
응답
모든 응답은 ok: true 또는 ok: false와 오류 코드를 포함한 JSON입니다. 속도 제한: 키당 분당 600회 요청.
웹사이트는 잠들지 않습니다. 이제 당신은 편히 쉬세요.
몇 분 안에 모니터링을 시작하세요. 첫 10개 모니터는 무료입니다.