We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e72e6 commit 84270faCopy full SHA for 84270fa
1 file changed
REST_API_v2/Incidents/create_incident_note.py
@@ -38,7 +38,7 @@
38
INCIDENT_ID = 'PI8BBP5'
39
CONTENT = 'Enter your note content here'
40
41
-def get_incident():
+def create_incident_note():
42
url = 'https://api.pagerduty.com/incidents/' + INCIDENT_ID + '/notes'
43
headers = {
44
'Accept': 'application/vnd.pagerduty+json;version=2',
@@ -56,4 +56,4 @@ def get_incident():
56
print r.json()
57
58
if __name__ == '__main__':
59
- get_incident()
+ create_incident_note()
0 commit comments