モニター作成
POST /api/v1/monitors
POST
/api/v1/monitors
新しいモニターを作成する。write スコープが必要。 プランのモニター数上限・最小チェック間隔制限あり。
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
type
required
string
name
required
string
config
required
Type-specific monitor configuration
object
intervalSeconds
integer
Responses
Section titled “ Responses ”モニター作成成功
object
monitor
object
id
string
teamId
string
type
string
name
string
config
Type-specific configuration
object
intervalSeconds
integer
status
string
isActive
integer
lastCheckedAt
string | null format: date-time
createdAt
string format: date-time
updatedAt
string format: date-time
バリデーションエラー / 無効な config
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400未認証
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400プラン上限到達
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400Write スコープ不足
object
error
object
code
string
Example
VALIDATION_ERROR message
string
Example
Invalid request body status
integer
Example
400