跳到主要内容

monitor-upsert

monitor-upsert

Path Parameters
workspaceId string REQUIRED

Possible values: Value must match regular expression ^[a-z][a-z0-9]*$

Request Body REQUIRED
id string

Possible values: Value must match regular expression ^[a-z][a-z0-9]*$

name string REQUIRED
type string REQUIRED
active boolean
interval integer

Possible values: 5 ≤ value ≤ 10000

maxRetries integer

Possible values: value ≤ 10

trendingMode boolean
notificationIds string[]
payload object REQUIRED
Responses
200

Successful response

Schema OPTIONAL
id string
workspaceId string
name string
type string
active boolean
interval integer
maxRetries integer
payload object
trendingMode boolean
createdAt date-time
updatedAt date-time
default

Error response

Schema OPTIONAL
message string
code string
issues object[] OPTIONAL
message string