Create the specified alert to the specified project
POST/v1/projects/:uid/alerts/:component
Create the specified alert to the specified project
Request
Path Parameters
uid stringrequired
component stringrequired
- application/json
Body
alertAllUsersboolean
createdBystring
http
object
bodystring
headers
property name*string
methodstring
urlstring
identifiersstring[]
isActiveboolean
status
object
isSucceededboolean
messagestring
timedate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
typestring
Possible values: [email
, app
, http
]
uidstring
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
Loading...