1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- openapi: 3.0.3
- info:
- title: "短信报警提醒"
- description: "基于SpringBoot的Prometheus短信报警提醒webhook API"
- version: "1.0.0"
- servers:
- - url: "http://localhost:8060"
- paths:
- /sms/webhook/send:
- post:
- summary: "短信报警webhook"
- operationId: "send"
- requestBody:
- content:
- application/json:
- schema:
- type: "string"
- description: "AlertManager服务提醒消息JSON体"
- required: true
- responses:
- "200":
- description: "OK"
- /sms/webhook/test-send/{service}:
- get:
- summary: "短信服务测试"
- operationId: "testSend"
- parameters:
- - name: "service"
- in: "path"
- required: true
- schema:
- type: "string"
- responses:
- "200":
- description: "OK"
- content:
- '*/*':
- schema:
- type: "string"
- /sms/webhook/version:
- get:
- summary: "短信提醒服务版本"
- operationId: "version"
- responses:
- "200":
- description: "OK"
- content:
- '*/*':
- schema:
- type: "string"
|