Note
A Note is a comment on an Event, and is used for incident management.
Package : spaceone.api.monitoring.v1
Note
create
POST /monitoring/v1/notes
Creates a new Note. You can create Notes for each Alert to record the information needed to manage the Alerts.
Request
Response
{
"alert_id": "alert-160ce04f6908",
"note": "This is a description",
"domain_id": "domain-58010aa2e451"
}{
"note_id": "note-df107d31bf20",
"alert_id": "alert-160ce04f6908",
"note": "This is a description",
"created_by": "seolmin@mz.co.kr",
"project_id": "project-52a423012d5e",
"domain_id": "domain-58010aa2e451",
"created_at": "2022-06-29T08:26:14.418Z"
}update
PUT /monitoring/v1/note/{note_id}
Updates a specific Note. You must specify the
note_idfor Note validation check. If the Note exists, it is updated.
Request
Response
{
"note_id": "note-df107d31bf20",
"note": "This is a test",
"domain_id": "domain-58010aa2e451"
}{
"note_id": "note-df107d31bf20",
"alert_id": "alert-160ce04f6908",
"note": "This is a test",
"created_by": "seolmin@mz.co.kr",
"project_id": "project-52a423012d5e",
"domain_id": "domain-58010aa2e451",
"created_at": "2022-06-29T08:26:14.418Z"
}delete
DELETE /monitoring/v1/note/{note_id}
Deletes a specific Note. You must specify the
note_idof the Note to delete.
Request
Response
{
"note_id": "note-0bfac585bf5a",
"domain_id": "domain-58010aa2e451"
}get
GET /monitoring/v1/note/{note_id}
Gets a specific Note. You must specify the
note_idanddomain_id.
Request
Response
{
"note_id": "note-0bfac585bf5a",
"domain_id": "domain-58010aa2e451"
}{
"note_id": "note-0bfac585bf5a",
"alert_id": "alert-fbfd78e43df8",
"note": "test",
"created_by": "hykang@mz.co.kr",
"project_id": "project-52a423012d5e",
"domain_id": "domain-58010aa2e451",
"created_at": "2022-06-23T09:52:42.251Z"
}list
GET /monitoring/v1/notes
POST /monitoring/v1/notes/search
Gets a list of all Notes. You can use a query to get a filtered list of Notes.
{
"query": {},
"domain_id": "domain-58010aa2e451"
}{
"results": [
{
"note_id": "note-0597bd748be0",
"alert_id": "alert-fbfd78e43df8",
"note": "http://spaceone.org",
"created_by": "hykang@mz.co.kr",
"project_id": "project-52a423012d5e",
"domain_id": "domain-58010aa2e451",
"created_at": "2022-06-23T09:58:23.838Z"
},
{
"note_id": "note-0bfac585bf5a",
"alert_id": "alert-fbfd78e43df8",
"note": "test",
"created_by": "hykang@mz.co.kr",
"project_id": "project-52a423012d5e",
"domain_id": "domain-58010aa2e451",
"created_at": "2022-06-23T09:52:42.251Z"
}
],
"total_count": 2
}stat
POST /monitoring/v1/notes/stat
Request
Response
Message
CreateNoteRequest
alert_id
string
✔
note
string
✔
domain_id
string
✔
GetNoteRequest
note_id
string
✔
domain_id
string
✔
only
list of string
✘
NoteInfo
note_id
string
alert_id
string
note
string
created_by
string
project_id
string
domain_id
string
created_at
string
NoteQuery
note_id
string
✘
alert_id
string
✘
created_by
string
✘
project_id
string
✘
domain_id
string
✘
NoteRequest
note_id
string
✔
domain_id
string
✔
NoteStatQuery
domain_id
string
✔
NotesInfo
UpdateNoteRequest
note_id
string
✔
note
string
✘
domain_id
string
✔
Last updated
Was this helpful?