cloudforet-apis
  • README
  • content
    • en
      • Cloudforet API Documentation
      • board
        • _index
        • v1
          • Board
          • Post
          • v1
      • config
        • _index
        • v1
          • DomainConfig
          • PublicConfig
          • UserConfig
          • WorkspaceConfig
          • v1
      • core
        • _index
        • v1
          • Handler
          • Query
          • ServerInfo
          • v1
        • v2
          • Handler
          • Plugin
          • Query
          • v2
      • cost_analysis
        • _index
        • plugin
          • Cost
          • DataSource
          • Job
          • plugin
        • v1
          • Budget
          • BudgetUsage
          • Cost
          • CostQuerySet
          • CostReport
          • CostReportConfig
          • CostReportData
          • CustomWidget
          • DataSource
          • DataSourceAccount
          • DataSourceRule
          • ExchangeRate
          • Job
          • JobTask
          • PublicDashboard
          • Schedule
          • UnifiedCost
          • UserDashboard
          • v1
      • dashboard
        • _index
        • v1
          • CustomWidget
          • Dashboard
          • DomainDashboard
          • PrivateDashboard
          • PrivateDataTable
          • PrivateFolder
          • PrivateWidget
          • ProjectDashboard
          • PublicDashboard
          • PublicDataTable
          • PublicFolder
          • PublicWidget
          • v1
      • file_manager
        • _index
        • v1
          • File
          • PublicFile
          • v1
      • identity
        • _index
        • plugin
          • AccountCollector
          • Auth
          • ExternalAuth
          • plugin
        • v1
          • ApiKey
          • Authorization
          • Domain
          • DomainOwner
          • Endpoint
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • ServiceAccount
          • Token
          • User
          • v1
        • v2
          • Agent
          • ApiKey
          • App
          • Authorization
          • Domain
          • Endpoint
          • ExternalAuth
          • Job
          • Package
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • Schema
          • ServiceAccount
          • System
          • Token
          • TrustedAccount
          • TrustedServiceAccount
          • User
          • UserGroup
          • UserProfile
          • Workspace
          • WorkspaceGroup
          • WorkspaceGroupDetails
          • WorkspaceGroupUser
          • WorkspaceUser
          • v2
      • inventory
        • _index
        • plugin
          • Collector
          • Job
          • plugin
        • v1
          • ChangeHistory
          • CloudService
          • CloudServiceQuerySet
          • CloudServiceReport
          • CloudServiceStats
          • CloudServiceType
          • Collector
          • CollectorRule
          • Job
          • JobTask
          • Metric
          • MetricData
          • MetricExample
          • Namespace
          • Note
          • Region
          • ResourceGroup
          • v1
        • v2
          • Region
          • v2
      • monitoring
        • _index
        • plugin
          • DataSource
          • Event
          • Log
          • Metric
          • Webhook
          • plugin
        • v1
          • Alert
          • DataSource
          • EscalationPolicy
          • Event
          • EventRule
          • Log
          • MaintenanceWindow
          • Metric
          • Note
          • ProjectAlertConfig
          • Webhook
          • v1
      • mzc_service_api
        • _index
        • v1
          • Contract
          • Offering
          • Organization
          • v1
      • notification
        • _index
        • plugin
          • Notification
          • Protocol
          • plugin
        • v1
          • Notification
          • NotificationUsage
          • ProjectChannel
          • Protocol
          • Quota
          • UserChannel
          • v1
      • opsflow
        • _index
        • v1
          • Comment
          • Event
          • Task
          • TaskCategory
          • TaskType
          • v1
      • plugin
        • _index
        • v1
          • Plugin
          • Supervisor
          • v1
      • repository
        • _index
        • v1
          • DashboardTemplate
          • Plugin
          • Policy
          • Repository
          • Schema
          • v1
        • v2
          • Common
          • Provider
          • RemoteRepository
          • Schema
          • v2
      • sample
        • _index
        • v1
          • Helloworld
          • v1
      • search
        • _index
        • v1
          • Resource
          • v1
      • secret
        • _index
        • v1
          • Secret
          • SecretGroup
          • TrustedSecret
          • UserSecret
          • v1
      • statistics
        • _index
        • plugin
          • Storage
          • plugin
        • v1
          • History
          • Resource
          • Schedule
          • Storage
          • v1
Powered by GitBook
On this page
  • Note
  • create
  • update
  • delete
  • get
  • list
  • stat
  • Message
  • CreateNoteRequest
  • NoteInfo
  • NoteQuery
  • NoteRequest
  • NoteStatQuery
  • NotesInfo
  • UpdateNoteRequest
  1. content
  2. en
  3. monitoring
  4. v1

Note

A Note is a comment on an Event, and is used for incident management.

Package : spaceone.api.monitoring.v1

Note

Note Methods:

Method
Request
Response

create

Creates a new Note. You can create Notes for each Alert to record the information needed to manage the Alerts.

POST /monitoring/v1/note/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

  • alert_id (string) Required

  • note (string) Required

{{< highlight json >}} { "alert_id": "alert-160ce04f6908", "note": "This is a description", } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • note_id (string) Required

  • alert_id (string) Required

  • note (string) Required

  • created_by (string) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • project_id (string) Required

  • created_at (string) Required

{{< highlight json >}} { "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" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

Updates a specific Note. You must specify the note_id for Note validation check. If the Note exists, it is updated.

POST /monitoring/v1/note/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

  • note_id (string) Required

  • note (string)

{{< highlight json >}} { "note_id": "note-df107d31bf20", "note": "This is a test", } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • note_id (string) Required

  • alert_id (string) Required

  • note (string) Required

  • created_by (string) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • project_id (string) Required

  • created_at (string) Required

{{< highlight json >}} { "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" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

Deletes a specific Note. You must specify the note_id of the Note to delete.

POST /monitoring/v1/note/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

  • note_id (string) Required

{{< highlight json >}} { "note_id": "note-0bfac585bf5a", } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

Gets a specific Note. You must specify the note_id and domain_id.

POST /monitoring/v1/note/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

  • note_id (string) Required

{{< highlight json >}} { "note_id": "note-0bfac585bf5a", } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • note_id (string) Required

  • alert_id (string) Required

  • note (string) Required

  • created_by (string) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • project_id (string) Required

  • created_at (string) Required

{{< highlight json >}} { "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" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

list

Gets a list of all Notes. You can use a query to get a filtered list of Notes.

POST /monitoring/v1/note/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

  • query (Query)

  • note_id (string)

  • alert_id (string)

  • created_by (string)

  • workspace_id (string)

  • project_id (string)

{{< highlight json >}} { "query": {}, "domain_id": "domain-58010aa2e451" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • results (NoteInfo) Repeated Required

  • total_count (int32) Required

{{< highlight json >}} { "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 } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /monitoring/v1/note/stat

Message

CreateNoteRequest

  • alert_id (string) Required

  • note (string) Required

NoteInfo

  • note_id (string) Required

  • alert_id (string) Required

  • note (string) Required

  • created_by (string) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • project_id (string) Required

  • created_at (string) Required

NoteQuery

  • query (Query)

  • note_id (string)

  • alert_id (string)

  • created_by (string)

  • workspace_id (string)

  • project_id (string)

NoteRequest

  • note_id (string) Required

NoteStatQuery

  • query (StatisticsQuery) Required

NotesInfo

  • results (NoteInfo) Repeated Required

  • total_count (int32) Required

UpdateNoteRequest

  • note_id (string) Required

  • note (string)

PreviousMetricNextProjectAlertConfig

Last updated 1 year ago

CreateNoteRequest
UpdateNoteRequest
NoteRequest
NoteRequest
NoteQuery
NoteInfo
NoteInfo
NoteInfo
NotesInfo
create
CreateNoteRequest
NoteInfo
update
UpdateNoteRequest
NoteInfo
delete
NoteRequest
Empty
get
NoteRequest
NoteInfo
list
NoteQuery
NotesInfo
stat
NoteStatQuery
Struct