All URIs are relative to https://api.statuspage.io/v1
Method | HTTP request | Description |
---|---|---|
patch_pages_page_id_incidents_incident_id_incident_updates_incident_update_id | PATCH /pages/{page_id}/incidents/{incident_id}/incident_updates/{incident_update_id} | Update a previous incident update |
put_pages_page_id_incidents_incident_id_incident_updates_incident_update_id | PUT /pages/{page_id}/incidents/{incident_id}/incident_updates/{incident_update_id} | Update a previous incident update |
IncidentUpdate patch_pages_page_id_incidents_incident_id_incident_updates_incident_update_id(page_id, incident_id, incident_update_id, patch_pages_page_id_incidents_incident_id_incident_updates)
Update a previous incident update
Update a previous incident update
- Api Key Authentication (api_key):
from __future__ import print_function
import time
import spio
from spio.rest import ApiException
from pprint import pprint
configuration = spio.Configuration()
# Configure API key authorization: api_key
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Defining host is optional and default to https://api.statuspage.io/v1
configuration.host = "https://api.statuspage.io/v1"
# Create an instance of the API class
api_instance = spio.IncidentUpdatesApi(spio.ApiClient(configuration))
page_id = 'page_id_example' # str | Page identifier
incident_id = 'incident_id_example' # str | Incident Identifier
incident_update_id = 'incident_update_id_example' # str | Incident Update Identifier
patch_pages_page_id_incidents_incident_id_incident_updates = spio.PatchPagesPageIdIncidentsIncidentIdIncidentUpdates() # PatchPagesPageIdIncidentsIncidentIdIncidentUpdates |
try:
# Update a previous incident update
api_response = api_instance.patch_pages_page_id_incidents_incident_id_incident_updates_incident_update_id(page_id, incident_id, incident_update_id, patch_pages_page_id_incidents_incident_id_incident_updates)
pprint(api_response)
except ApiException as e:
print("Exception when calling IncidentUpdatesApi->patch_pages_page_id_incidents_incident_id_incident_updates_incident_update_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
page_id | str | Page identifier | |
incident_id | str | Incident Identifier | |
incident_update_id | str | Incident Update Identifier | |
patch_pages_page_id_incidents_incident_id_incident_updates | PatchPagesPageIdIncidentsIncidentIdIncidentUpdates |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Update a previous incident update | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
IncidentUpdate put_pages_page_id_incidents_incident_id_incident_updates_incident_update_id(page_id, incident_id, incident_update_id, put_pages_page_id_incidents_incident_id_incident_updates)
Update a previous incident update
Update a previous incident update
- Api Key Authentication (api_key):
from __future__ import print_function
import time
import spio
from spio.rest import ApiException
from pprint import pprint
configuration = spio.Configuration()
# Configure API key authorization: api_key
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Defining host is optional and default to https://api.statuspage.io/v1
configuration.host = "https://api.statuspage.io/v1"
# Create an instance of the API class
api_instance = spio.IncidentUpdatesApi(spio.ApiClient(configuration))
page_id = 'page_id_example' # str | Page identifier
incident_id = 'incident_id_example' # str | Incident Identifier
incident_update_id = 'incident_update_id_example' # str | Incident Update Identifier
put_pages_page_id_incidents_incident_id_incident_updates = spio.PutPagesPageIdIncidentsIncidentIdIncidentUpdates() # PutPagesPageIdIncidentsIncidentIdIncidentUpdates |
try:
# Update a previous incident update
api_response = api_instance.put_pages_page_id_incidents_incident_id_incident_updates_incident_update_id(page_id, incident_id, incident_update_id, put_pages_page_id_incidents_incident_id_incident_updates)
pprint(api_response)
except ApiException as e:
print("Exception when calling IncidentUpdatesApi->put_pages_page_id_incidents_incident_id_incident_updates_incident_update_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
page_id | str | Page identifier | |
incident_id | str | Incident Identifier | |
incident_update_id | str | Incident Update Identifier | |
put_pages_page_id_incidents_incident_id_incident_updates | PutPagesPageIdIncidentsIncidentIdIncidentUpdates |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Update a previous incident update | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]