Class CommentManager

Constructors

Properties

Methods

Constructors

Properties

apiClient: AxiosInstance

Methods

  • Returns either a newly created comment, or validation errors.

    Parameters

    • incident_id: string
    • newComment: string

    Returns Promise<any>

  • Permanently deletes an existing comment.

    Parameters

    • incident_id: string
    • comment_id: string

      Comment ID you want to remove

    Returns Promise<boolean>

    True if success

  • This will return an existing comment.

    Parameters

    • incident_id: string
    • comment_id: string

    Returns Promise<any>

  • List all comments under an incident.

    Parameters

    • incident_id: string

    Returns Promise<any>

  • This will update an existing comment. You can only update a comment created by the API.

    Parameters

    • incident_id: string
    • comment_id: string

      Comment ID you want to change

    • updatedComment: string

    Returns Promise<any>

Generated using TypeDoc