pagerduty-0.0.8: Client library for PagerDuty Integration and REST APIs.

Safe HaskellNone
LanguageHaskell2010

Network.PagerDuty.REST.Incidents.Notes

Contents

Description

The Incident Notes API allows you to add notes to a specified incident.

See: http://developer.pagerduty.com/documentation/rest/incidents/notes

Synopsis

List Notes

listNotes :: IncidentId -> Request Empty s [Note] Source #

List existing notes for the specified incident.

GET /incidents/:incident_id/notes

See: http://developer.pagerduty.com/documentation/rest/incidents/notes/create

Create Note

createNote :: IncidentId -> RequesterId -> Request CreateNote s Note Source #

Create a new note for the specified incident.

POST /incidents/:incident_id/notes

See: http://developer.pagerduty.com/documentation/rest/incidents/notes/create

createNoteBasic :: IncidentId -> Request CreateNote s Note Source #

A version of createNote which uses HTTP Basic authentication and doesn't require a RequesterId.

cnContent :: Lens' (Request CreateNote s b) (Maybe Text) Source #

The note content.

Types