# Python SDK for Opsgenie REST API
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 2.0.0
- Package version: 2.1.5
- Build package: com.atlassian.opsgenie.codegen.geniepy.GeniepyGenerator
For more information, please visit [https://www.opsgenie.com/contact-us](https://www.opsgenie.com/contact-us)
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on Github, you can install directly from Github
```sh
pip install opsgenie-sdk
```
(you may need to run `pip` with root permission: `sudo pip install opsgenie-sdk`)
Then import the package:
```python
import opsgenie_sdk
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import opsgenie_sdk
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import opsgenie_sdk
from opsgenie_sdk.rest import ApiException
from pprint import pprint
configuration = opsgenie_sdk.Configuration()
# Configure API key authorization: GenieKey
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# create an instance of the API class
api_instance = opsgenie_sdk.AccountApi(opsgenie_sdk.ApiClient(configuration))
try:
# Get Account Info
api_response = api_instance.get_info()
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->get_info: %s\n" % e)
```
Note: if you have an european account please set attribute 'host'
```
configuration.host = 'https://api.eu.opsgenie.com'
```
## Documentation for API Endpoints
All URIs are relative to *https://api.opsgenie.com*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccountApi* | [**get_info**](docs/AccountApi.md#get_info) | **GET** /v2/account | Get Account Info
*AlertApi* | [**acknowledge_alert**](docs/AlertApi.md#acknowledge_alert) | **POST** /v2/alerts/{identifier}/acknowledge | Acknowledge Alert
*AlertApi* | [**add_attachment**](docs/AlertApi.md#add_attachment) | **POST** /v2/alerts/{identifier}/attachments | Add Alert Attachment
*AlertApi* | [**add_details**](docs/AlertApi.md#add_details) | **POST** /v2/alerts/{identifier}/details | Add Details
*AlertApi* | [**add_note**](docs/AlertApi.md#add_note) | **POST** /v2/alerts/{identifier}/notes | Add Note
*AlertApi* | [**add_responder**](docs/AlertApi.md#add_responder) | **POST** /v2/alerts/{identifier}/responders | Add Responder
*AlertApi* | [**add_tags**](docs/AlertApi.md#add_tags) | **POST** /v2/alerts/{identifier}/tags | Add Tags
*AlertApi* | [**add_team**](docs/AlertApi.md#add_team) | **POST** /v2/alerts/{identifier}/teams | Add Team
*AlertApi* | [**assign_alert**](docs/AlertApi.md#assign_alert) | **POST** /v2/alerts/{identifier}/assign | Assign Alert
*AlertApi* | [**close_alert**](docs/AlertApi.md#close_alert) | **POST** /v2/alerts/{identifier}/close | Close Alert
*AlertApi* | [**count_alerts**](docs/AlertApi.md#count_alerts) | **GET** /v2/alerts/count | Count Alerts
*AlertApi* | [**create_alert**](docs/AlertApi.md#create_alert) | **POST** /v2/alerts | Create Alert
*AlertApi* | [**create_saved_searches**](docs/AlertApi.md#create_saved_searches) | **POST** /v2/alerts/saved-searches | Create Saved Search
*AlertApi* | [**delete_alert**](docs/AlertApi.md#delete_alert) | **DELETE** /v2/alerts/{identifier} | Delete Alert
*AlertApi* | [**delete_saved_search**](docs/AlertApi.md#delete_saved_search) | **DELETE** /v2/alerts/saved-searches/{identifier} | Delete Saved Search
*AlertApi* | [**escalate_alert**](docs/AlertApi.md#escalate_alert) | **POST** /v2/alerts/{identifier}/escalate | Escalate Alert
*AlertApi* | [**execute_custom_alert_action**](docs/AlertApi.md#execute_custom_alert_action) | **POST** /v2/alerts/{identifier}/actions/{actionName} | Custom Alert Action
*AlertApi* | [**get_alert**](docs/AlertApi.md#get_alert) | **GET** /v2/alerts/{identifier} | Get Alert
*AlertApi* | [**get_attachment**](docs/AlertApi.md#get_attachment) | **GET** /v2/alerts/{identifier}/attachments/{attachmentId} | Get Alert Attachment
*AlertApi* | [**get_request_status**](docs/AlertApi.md#get_request_status) | **GET** /v2/alerts/requests/{requestId} | Get Request Status of Alert
*AlertApi* | [**get_saved_search**](docs/AlertApi.md#get_saved_search) | **GET** /v2/alerts/saved-searches/{identifier} | Get Saved Search
*AlertApi* | [**list_alerts**](docs/AlertApi.md#list_alerts) | **GET** /v2/alerts | List Alerts
*AlertApi* | [**list_attachments**](docs/AlertApi.md#list_attachments) | **GET** /v2/alerts/{identifier}/attachments | List Alert Attachments
*AlertApi* | [**list_logs**](docs/AlertApi.md#list_logs) | **GET** /v2/alerts/{identifier}/logs | List Alert Logs
*AlertApi* | [**list_notes**](docs/AlertApi.md#list_notes) | **GET** /v2/alerts/{identifier}/notes | List Alert Notes
*AlertApi* | [**list_recipients**](docs/AlertApi.md#list_recipients) | **GET** /v2/alerts/{identifier}/recipients | List Alert Recipients
*AlertApi* | [**list_saved_searches**](docs/AlertApi.md#list_saved_searches) | **GET** /v2/alerts/saved-searches | Lists Saved Searches
*AlertApi* | [**remove_attachment**](docs/AlertApi.md#remove_attachment) | **DELETE** /v2/alerts/{identifier}/attachments/{attachmentId} | Remove Alert Attachment
*AlertApi* | [**remove_details**](docs/AlertApi.md#remove_details) | **DELETE** /v2/alerts/{identifier}/details | Remove Details
*AlertApi* | [**remove_tags**](docs/AlertApi.md#remove_tags) | **DELETE** /v2/alerts/{identifier}/tags | Remove Tags
*AlertApi* | [**snooze_alert**](docs/AlertApi.md#snooze_alert) | **POST** /v2/alerts/{identifier}/snooze | Snooze Alert
*AlertApi* | [**un_acknowledge_alert**](docs/AlertApi.md#un_acknowledge_alert) | **POST** /v2/alerts/{identifier}/unacknowledge | UnAcknowledge Alert
*AlertApi* | [**update_alert_description**](docs/AlertApi.md#update_alert_description) | **PUT** /v2/alerts/{identifier}/description | Update Alert Description
*AlertApi* | [**update_alert_message**](docs/AlertApi.md#update_alert_message) | **PUT** /v2/alerts/{identifier}/message | Update Alert Message
*AlertApi* | [**update_alert_priority**](docs/AlertApi.md#update_alert_priority) | **PUT** /v2/alerts/{identifier}/priority | Update Alert Priority
*AlertApi* | [**update_saved_search**](docs/AlertApi.md#update_saved_search) | **PATCH** /v2/alerts/saved-searches/{identifier} | Update Saved Search
*HeartbeatApi* | [**create_heartbeat**](docs/HeartbeatApi.md#create_heartbeat) | **POST** /v2/heartbeats | Create Heartbeat
*HeartbeatApi* | [**delete_heartbeat**](docs/HeartbeatApi.md#delete_heartbeat) | **DELETE** /v2/heartbeats/{name} | Delete Heartbeat
*HeartbeatApi* | [**disable_heartbeat**](docs/HeartbeatApi.md#disable_heartbeat) | **POST** /v2/heartbeats/{name}/disable | Disable Heartbeat
*HeartbeatApi* | [**enable_heartbeat**](docs/HeartbeatApi.md#enable_heartbeat) | **POST** /v2/heartbeats/{name}/enable | Enable Heartbeat
*HeartbeatApi* | [**get_heartbeat**](docs/HeartbeatApi.md#get_heartbeat) | **GET** /v2/heartbeats/{name} | Get Heartbeat
*HeartbeatApi* | [**list_heart_beats**](docs/HeartbeatApi.md#list_heart_beats) | **GET** /v2/heartbeats | List Heartbeats
*HeartbeatApi* | [**ping**](docs/HeartbeatApi.md#ping) | **GET** /v2/heartbeats/{name}/ping | Ping Heartbeat
*HeartbeatApi* | [**update_heartbeat**](docs/HeartbeatApi.md#update_heartbeat) | **PATCH** /v2/heartbeats/{name} | Update Heartbeat (Partial)
*IncidentApi* | [**close_incident**](docs/IncidentApi.md#close_incident) | **POST** /v1/incidents/{identifier}/close | Close Incident
*IncidentApi* | [**create_incident**](docs/IncidentApi.md#create_incident) | **POST** /v1/incidents/create | Create Incident
*IncidentApi* | [**delete_incident**](docs/IncidentApi.md#delete_incident) | **DELETE** /v1/incidents/{identifier} | Delete Incident
*IncidentApi* | [**get_incident**](docs/IncidentApi.md#get_incident) | **GET** /v1/incidents/{identifier} | Get Incident
*IncidentApi* | [**get_incident_request_status**](docs/IncidentApi.md#get_incident_request_status) | **GET** /v1/incidents/requests/{requestId} | Get Request Status of Incident
*IncidentApi* | [**list_incidents**](docs/IncidentApi.md#list_incidents) | **GET** /v1/incidents/ | List incidents
## Documentation For Models
- [AccountInfo](docs/AccountInfo.md)
- [AccountPlan](docs/AccountPlan.md)
- [AcknowledgeAlertPayload](docs/AcknowledgeAlertPayload.md)
- [AddDetailsToAlertPayload](docs/AddDetailsToAlertPayload.md)
- [AddDetailsToAlertPayloadAllOf](docs/AddDetailsToAlertPayloadAllOf.md)
- [AddNoteToAlertPayload](docs/AddNoteToAlertPayload.md)
- [AddResponderToAlertPayload](docs/AddResponderToAlertPayload.md)
- [AddResponderToAlertPayloadAllOf](docs/AddResponderToAlertPayloadAllOf.md)
- [AddTagsToAlertPayload](docs/AddTagsToAlertPayload.md)
- [AddTagsToAlertPayloadAllOf](docs/AddTagsToAlertPayloadAllOf.md)
- [AddTeamToAlertPayload](docs/AddTeamToAlertPayload.md)
- [AddTeamToAlertPayloadAllOf](docs/AddTeamToAlertPayloadAllOf.md)
- [Alert](docs/Alert.md)
- [AlertActionPayload](docs/AlertActionPayload.md)
- [AlertAllOf](docs/AlertAllOf.md)
- [AlertAttachment](docs/AlertAttachment.md)
- [AlertAttachmentMeta](docs/AlertAttachmentMeta.md)
- [AlertIntegration](docs/AlertIntegration.md)
- [AlertLog](docs/AlertLog.md)
- [AlertNote](docs/AlertNote.md)
- [AlertPaging](docs/AlertPaging.md)
- [AlertRecipient](docs/AlertRecipient.md)
- [AlertReport](docs/AlertReport.md)
- [AlertRequestStatus](docs/AlertRequestStatus.md)
- [AlertTeamMeta](docs/AlertTeamMeta.md)
- [AlertUserMeta](docs/AlertUserMeta.md)
- [AllRecipient](docs/AllRecipient.md)
- [AssignAlertPayload](docs/AssignAlertPayload.md)
- [AssignAlertPayloadAllOf](docs/AssignAlertPayloadAllOf.md)
- [BaseAlert](docs/BaseAlert.md)
- [BaseIncident](docs/BaseIncident.md)
- [BaseResponse](docs/BaseResponse.md)
- [BaseResponseWithExpandable](docs/BaseResponseWithExpandable.md)
- [BaseResponseWithExpandableAllOf](docs/BaseResponseWithExpandableAllOf.md)
- [CloseAlertPayload](docs/CloseAlertPayload.md)
- [CloseIncidentPayload](docs/CloseIncidentPayload.md)
- [Condition](docs/Condition.md)
- [CreateAlertPayload](docs/CreateAlertPayload.md)
- [CreateAlertPayloadAllOf](docs/CreateAlertPayloadAllOf.md)
- [CreateHeartbeatPayload](docs/CreateHeartbeatPayload.md)
- [CreateHeartbeatPayloadAllOf](docs/CreateHeartbeatPayloadAllOf.md)
- [CreateHeartbeatPayloadAllOfOwnerTeam](docs/CreateHeartbeatPayloadAllOfOwnerTeam.md)
- [CreateHeartbeatResponse](docs/CreateHeartbeatResponse.md)
- [CreateHeartbeatResponseAllOf](docs/CreateHeartbeatResponseAllOf.md)
- [CreateIncidentPayload](docs/CreateIncidentPayload.md)
- [CreateIncidentPayloadAllOf](docs/CreateIncidentPayloadAllOf.md)
- [CreateSavedSearchPayload](docs/CreateSavedSearchPayload.md)
- [CreateSavedSearchResponse](docs/CreateSavedSearchResponse.md)
- [CreateSavedSearchResponseAllOf](docs/CreateSavedSearchResponseAllOf.md)
- [DisableHeartbeatResponse](docs/DisableHeartbeatResponse.md)
- [DisableHeartbeatResponseAllOf](docs/DisableHeartbeatResponseAllOf.md)
- [Duration](docs/Duration.md)
- [EnableHeartbeatResponse](docs/EnableHeartbeatResponse.md)
- [ErrorResponse](docs/ErrorResponse.md)
- [ErrorResponseAllOf](docs/ErrorResponseAllOf.md)
- [EscalateAlertToNextPayload](docs/EscalateAlertToNextPayload.md)
- [EscalateAlertToNextPayloadAllOf](docs/EscalateAlertToNextPayloadAllOf.md)
- [EscalationRecipient](docs/EscalationRecipient.md)
- [ExecuteCustomAlertActionPayload](docs/ExecuteCustomAlertActionPayload.md)
- [Filter](docs/Filter.md)
- [GetAccountInfoResponse](docs/GetAccountInfoResponse.md)
- [GetAccountInfoResponseAllOf](docs/GetAccountInfoResponseAllOf.md)
- [GetAlertAttachmentResponse](docs/GetAlertAttachmentResponse.md)
- [GetAlertAttachmentResponseAllOf](docs/GetAlertAttachmentResponseAllOf.md)
- [GetAlertResponse](docs/GetAlertResponse.md)
- [GetAlertResponseAllOf](docs/GetAlertResponseAllOf.md)
- [GetCountAlertsResponse](docs/GetCountAlertsResponse.md)
- [GetCountAlertsResponseAllOf](docs/GetCountAlertsResponseAllOf.md)
- [GetCountAlertsResponseAllOfData](docs/GetCountAlertsResponseAllOfData.md)
- [GetHeartbeatResponse](docs/GetHeartbeatResponse.md)
- [GetIncidentRequestStatusResponse](docs/GetIncidentRequestStatusResponse.md)
- [GetIncidentRequestStatusResponseAllOf](docs/GetIncidentRequestStatusResponseAllOf.md)
- [GetIncidentResponse](docs/GetIncidentResponse.md)
- [GetIncidentResponseAllOf](docs/GetIncidentResponseAllOf.md)
- [GetRequestStatusResponse](docs/GetRequestStatusResponse.md)
- [GetRequestStatusResponseAllOf](docs/GetRequestStatusResponseAllOf.md)
- [GetSavedSearchResponse](docs/GetSavedSearchResponse.md)
- [GetSavedSearchResponseAllOf](docs/GetSavedSearchResponseAllOf.md)
- [GroupRecipient](docs/GroupRecipient.md)
- [Heartbeat](docs/Heartbeat.md)
- [HeartbeatMeta](docs/HeartbeatMeta.md)
- [Incident](docs/Incident.md)
- [IncidentActionPayload](docs/IncidentActionPayload.md)
- [IncidentAllOf](docs/IncidentAllOf.md)
- [IncidentRequestStatus](docs/IncidentRequestStatus.md)
- [ListAlertAttachmentsResponse](docs/ListAlertAttachmentsResponse.md)
- [ListAlertAttachmentsResponseAllOf](docs/ListAlertAttachmentsResponseAllOf.md)
- [ListAlertLogsResponse](docs/ListAlertLogsResponse.md)
- [ListAlertLogsResponseAllOf](docs/ListAlertLogsResponseAllOf.md)
- [ListAlertNotesResponse](docs/ListAlertNotesResponse.md)
- [ListAlertNotesResponseAllOf](docs/ListAlertNotesResponseAllOf.md)
- [ListAlertRecipientsResponse](docs/ListAlertRecipientsResponse.md)
- [ListAlertRecipientsResponseAllOf](docs/ListAlertRecipientsResponseAllOf.md)
- [ListAlertsResponse](docs/ListAlertsResponse.md)
- [ListAlertsResponseAllOf](docs/ListAlertsResponseAllOf.md)
- [ListHeartbeatResponse](docs/ListHeartbeatResponse.md)
- [ListHeartbeatResponseAllOf](docs/ListHeartbeatResponseAllOf.md)
- [ListHeartbeatResponseAllOfData](docs/ListHeartbeatResponseAllOfData.md)
- [ListIncidentsResponse](docs/ListIncidentsResponse.md)
- [ListIncidentsResponseAllOf](docs/ListIncidentsResponseAllOf.md)
- [ListSavedSearchesResponse](docs/ListSavedSearchesResponse.md)
- [ListSavedSearchesResponseAllOf](docs/ListSavedSearchesResponseAllOf.md)
- [MatchAll](docs/MatchAll.md)
- [MatchAllConditions](docs/MatchAllConditions.md)
- [MatchAnyCondition](docs/MatchAnyCondition.md)
- [MatchAnyConditionAllOf](docs/MatchAnyConditionAllOf.md)
- [NoRecipient](docs/NoRecipient.md)
- [PageDetails](docs/PageDetails.md)
- [Recipient](docs/Recipient.md)
- [Responder](docs/Responder.md)
- [SavedSearch](docs/SavedSearch.md)
- [SavedSearchEntity](docs/SavedSearchEntity.md)
- [SavedSearchMeta](docs/SavedSearchMeta.md)
- [ScheduleRecipient](docs/ScheduleRecipient.md)
- [SnoozeAlertPayload](docs/SnoozeAlertPayload.md)
- [SnoozeAlertPayloadAllOf](docs/SnoozeAlertPayloadAllOf.md)
- [StatusPageEntry](docs/StatusPageEntry.md)
- [StatusPageEntryAllOf](docs/StatusPageEntryAllOf.md)
- [SuccessData](docs/SuccessData.md)
- [SuccessResponse](docs/SuccessResponse.md)
- [SuccessResponseAllOf](docs/SuccessResponseAllOf.md)
- [TeamRecipient](docs/TeamRecipient.md)
- [TeamRecipientAllOf](docs/TeamRecipientAllOf.md)
- [TeamResponder](docs/TeamResponder.md)
- [TimeOfDayRestriction](docs/TimeOfDayRestriction.md)
- [TimeOfDayRestrictionInterval](docs/TimeOfDayRestrictionInterval.md)
- [TimeOfDayRestrictionIntervalAllOf](docs/TimeOfDayRestrictionIntervalAllOf.md)
- [TimeRestrictionInterval](docs/TimeRestrictionInterval.md)
- [UnAcknowledgeAlertPayload](docs/UnAcknowledgeAlertPayload.md)
- [UpdateAlertDescriptionPayload](docs/UpdateAlertDescriptionPayload.md)
- [UpdateAlertMessagePayload](docs/UpdateAlertMessagePayload.md)
- [UpdateAlertPriorityPayload](docs/UpdateAlertPriorityPayload.md)
- [UpdateHeartbeatPayload](docs/UpdateHeartbeatPayload.md)
- [UpdateHeartbeatResponse](docs/UpdateHeartbeatResponse.md)
- [UpdateSavedSearchPayload](docs/UpdateSavedSearchPayload.md)
- [UserRecipient](docs/UserRecipient.md)
- [UserRecipientAllOf](docs/UserRecipientAllOf.md)
- [UserResponder](docs/UserResponder.md)
- [UserResponderAllOf](docs/UserResponderAllOf.md)
- [WeekdayTimeRestriction](docs/WeekdayTimeRestriction.md)
- [WeekdayTimeRestrictionInterval](docs/WeekdayTimeRestrictionInterval.md)
- [WeekdayTimeRestrictionIntervalAllOf](docs/WeekdayTimeRestrictionIntervalAllOf.md)
## Documentation For Authorization
## GenieKey
- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header
## Author
support@opsgenie.com
Raw data
{
"_id": null,
"home_page": "https://github.com/opsgenie/opsgenie-python-sdk",
"name": "opsgenie-sdk",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "OpenAPI,OpenAPI-Generator,Python SDK for Opsgenie REST API,OpsGenie,Opsgenie",
"author": "OpsGenie",
"author_email": "support@opsgenie.com",
"download_url": "https://files.pythonhosted.org/packages/5d/13/ddaa92608384f64e8d0d22097e74c24e341f2b41096c52c872abfa35b63f/opsgenie-sdk-2.1.5.tar.gz",
"platform": "",
"description": "# Python SDK for Opsgenie REST API\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: 2.0.0\n- Package version: 2.1.5\n- Build package: com.atlassian.opsgenie.codegen.geniepy.GeniepyGenerator\n\nFor more information, please visit [https://www.opsgenie.com/contact-us](https://www.opsgenie.com/contact-us)\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation & Usage\n### pip install\n\nIf the python package is hosted on Github, you can install directly from Github\n\n```sh\npip install opsgenie-sdk\n```\n(you may need to run `pip` with root permission: `sudo pip install opsgenie-sdk`)\n\nThen import the package:\n```python\nimport opsgenie_sdk \n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport opsgenie_sdk\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\nfrom __future__ import print_function\nimport time\nimport opsgenie_sdk\nfrom opsgenie_sdk.rest import ApiException\nfrom pprint import pprint\n\nconfiguration = opsgenie_sdk.Configuration()\n# Configure API key authorization: GenieKey\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n\n# create an instance of the API class\napi_instance = opsgenie_sdk.AccountApi(opsgenie_sdk.ApiClient(configuration))\n\ntry:\n # Get Account Info\n api_response = api_instance.get_info()\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AccountApi->get_info: %s\\n\" % e)\n\n```\nNote: if you have an european account please set attribute 'host'\n\n```\nconfiguration.host = 'https://api.eu.opsgenie.com'\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.opsgenie.com*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*AccountApi* | [**get_info**](docs/AccountApi.md#get_info) | **GET** /v2/account | Get Account Info\n*AlertApi* | [**acknowledge_alert**](docs/AlertApi.md#acknowledge_alert) | **POST** /v2/alerts/{identifier}/acknowledge | Acknowledge Alert\n*AlertApi* | [**add_attachment**](docs/AlertApi.md#add_attachment) | **POST** /v2/alerts/{identifier}/attachments | Add Alert Attachment\n*AlertApi* | [**add_details**](docs/AlertApi.md#add_details) | **POST** /v2/alerts/{identifier}/details | Add Details\n*AlertApi* | [**add_note**](docs/AlertApi.md#add_note) | **POST** /v2/alerts/{identifier}/notes | Add Note\n*AlertApi* | [**add_responder**](docs/AlertApi.md#add_responder) | **POST** /v2/alerts/{identifier}/responders | Add Responder\n*AlertApi* | [**add_tags**](docs/AlertApi.md#add_tags) | **POST** /v2/alerts/{identifier}/tags | Add Tags\n*AlertApi* | [**add_team**](docs/AlertApi.md#add_team) | **POST** /v2/alerts/{identifier}/teams | Add Team\n*AlertApi* | [**assign_alert**](docs/AlertApi.md#assign_alert) | **POST** /v2/alerts/{identifier}/assign | Assign Alert\n*AlertApi* | [**close_alert**](docs/AlertApi.md#close_alert) | **POST** /v2/alerts/{identifier}/close | Close Alert\n*AlertApi* | [**count_alerts**](docs/AlertApi.md#count_alerts) | **GET** /v2/alerts/count | Count Alerts\n*AlertApi* | [**create_alert**](docs/AlertApi.md#create_alert) | **POST** /v2/alerts | Create Alert\n*AlertApi* | [**create_saved_searches**](docs/AlertApi.md#create_saved_searches) | **POST** /v2/alerts/saved-searches | Create Saved Search\n*AlertApi* | [**delete_alert**](docs/AlertApi.md#delete_alert) | **DELETE** /v2/alerts/{identifier} | Delete Alert\n*AlertApi* | [**delete_saved_search**](docs/AlertApi.md#delete_saved_search) | **DELETE** /v2/alerts/saved-searches/{identifier} | Delete Saved Search\n*AlertApi* | [**escalate_alert**](docs/AlertApi.md#escalate_alert) | **POST** /v2/alerts/{identifier}/escalate | Escalate Alert\n*AlertApi* | [**execute_custom_alert_action**](docs/AlertApi.md#execute_custom_alert_action) | **POST** /v2/alerts/{identifier}/actions/{actionName} | Custom Alert Action\n*AlertApi* | [**get_alert**](docs/AlertApi.md#get_alert) | **GET** /v2/alerts/{identifier} | Get Alert\n*AlertApi* | [**get_attachment**](docs/AlertApi.md#get_attachment) | **GET** /v2/alerts/{identifier}/attachments/{attachmentId} | Get Alert Attachment\n*AlertApi* | [**get_request_status**](docs/AlertApi.md#get_request_status) | **GET** /v2/alerts/requests/{requestId} | Get Request Status of Alert\n*AlertApi* | [**get_saved_search**](docs/AlertApi.md#get_saved_search) | **GET** /v2/alerts/saved-searches/{identifier} | Get Saved Search\n*AlertApi* | [**list_alerts**](docs/AlertApi.md#list_alerts) | **GET** /v2/alerts | List Alerts\n*AlertApi* | [**list_attachments**](docs/AlertApi.md#list_attachments) | **GET** /v2/alerts/{identifier}/attachments | List Alert Attachments\n*AlertApi* | [**list_logs**](docs/AlertApi.md#list_logs) | **GET** /v2/alerts/{identifier}/logs | List Alert Logs\n*AlertApi* | [**list_notes**](docs/AlertApi.md#list_notes) | **GET** /v2/alerts/{identifier}/notes | List Alert Notes\n*AlertApi* | [**list_recipients**](docs/AlertApi.md#list_recipients) | **GET** /v2/alerts/{identifier}/recipients | List Alert Recipients\n*AlertApi* | [**list_saved_searches**](docs/AlertApi.md#list_saved_searches) | **GET** /v2/alerts/saved-searches | Lists Saved Searches\n*AlertApi* | [**remove_attachment**](docs/AlertApi.md#remove_attachment) | **DELETE** /v2/alerts/{identifier}/attachments/{attachmentId} | Remove Alert Attachment\n*AlertApi* | [**remove_details**](docs/AlertApi.md#remove_details) | **DELETE** /v2/alerts/{identifier}/details | Remove Details\n*AlertApi* | [**remove_tags**](docs/AlertApi.md#remove_tags) | **DELETE** /v2/alerts/{identifier}/tags | Remove Tags\n*AlertApi* | [**snooze_alert**](docs/AlertApi.md#snooze_alert) | **POST** /v2/alerts/{identifier}/snooze | Snooze Alert\n*AlertApi* | [**un_acknowledge_alert**](docs/AlertApi.md#un_acknowledge_alert) | **POST** /v2/alerts/{identifier}/unacknowledge | UnAcknowledge Alert\n*AlertApi* | [**update_alert_description**](docs/AlertApi.md#update_alert_description) | **PUT** /v2/alerts/{identifier}/description | Update Alert Description\n*AlertApi* | [**update_alert_message**](docs/AlertApi.md#update_alert_message) | **PUT** /v2/alerts/{identifier}/message | Update Alert Message\n*AlertApi* | [**update_alert_priority**](docs/AlertApi.md#update_alert_priority) | **PUT** /v2/alerts/{identifier}/priority | Update Alert Priority\n*AlertApi* | [**update_saved_search**](docs/AlertApi.md#update_saved_search) | **PATCH** /v2/alerts/saved-searches/{identifier} | Update Saved Search\n*HeartbeatApi* | [**create_heartbeat**](docs/HeartbeatApi.md#create_heartbeat) | **POST** /v2/heartbeats | Create Heartbeat\n*HeartbeatApi* | [**delete_heartbeat**](docs/HeartbeatApi.md#delete_heartbeat) | **DELETE** /v2/heartbeats/{name} | Delete Heartbeat\n*HeartbeatApi* | [**disable_heartbeat**](docs/HeartbeatApi.md#disable_heartbeat) | **POST** /v2/heartbeats/{name}/disable | Disable Heartbeat\n*HeartbeatApi* | [**enable_heartbeat**](docs/HeartbeatApi.md#enable_heartbeat) | **POST** /v2/heartbeats/{name}/enable | Enable Heartbeat\n*HeartbeatApi* | [**get_heartbeat**](docs/HeartbeatApi.md#get_heartbeat) | **GET** /v2/heartbeats/{name} | Get Heartbeat\n*HeartbeatApi* | [**list_heart_beats**](docs/HeartbeatApi.md#list_heart_beats) | **GET** /v2/heartbeats | List Heartbeats\n*HeartbeatApi* | [**ping**](docs/HeartbeatApi.md#ping) | **GET** /v2/heartbeats/{name}/ping | Ping Heartbeat\n*HeartbeatApi* | [**update_heartbeat**](docs/HeartbeatApi.md#update_heartbeat) | **PATCH** /v2/heartbeats/{name} | Update Heartbeat (Partial)\n*IncidentApi* | [**close_incident**](docs/IncidentApi.md#close_incident) | **POST** /v1/incidents/{identifier}/close | Close Incident\n*IncidentApi* | [**create_incident**](docs/IncidentApi.md#create_incident) | **POST** /v1/incidents/create | Create Incident\n*IncidentApi* | [**delete_incident**](docs/IncidentApi.md#delete_incident) | **DELETE** /v1/incidents/{identifier} | Delete Incident\n*IncidentApi* | [**get_incident**](docs/IncidentApi.md#get_incident) | **GET** /v1/incidents/{identifier} | Get Incident\n*IncidentApi* | [**get_incident_request_status**](docs/IncidentApi.md#get_incident_request_status) | **GET** /v1/incidents/requests/{requestId} | Get Request Status of Incident\n*IncidentApi* | [**list_incidents**](docs/IncidentApi.md#list_incidents) | **GET** /v1/incidents/ | List incidents\n\n\n## Documentation For Models\n\n - [AccountInfo](docs/AccountInfo.md)\n - [AccountPlan](docs/AccountPlan.md)\n - [AcknowledgeAlertPayload](docs/AcknowledgeAlertPayload.md)\n - [AddDetailsToAlertPayload](docs/AddDetailsToAlertPayload.md)\n - [AddDetailsToAlertPayloadAllOf](docs/AddDetailsToAlertPayloadAllOf.md)\n - [AddNoteToAlertPayload](docs/AddNoteToAlertPayload.md)\n - [AddResponderToAlertPayload](docs/AddResponderToAlertPayload.md)\n - [AddResponderToAlertPayloadAllOf](docs/AddResponderToAlertPayloadAllOf.md)\n - [AddTagsToAlertPayload](docs/AddTagsToAlertPayload.md)\n - [AddTagsToAlertPayloadAllOf](docs/AddTagsToAlertPayloadAllOf.md)\n - [AddTeamToAlertPayload](docs/AddTeamToAlertPayload.md)\n - [AddTeamToAlertPayloadAllOf](docs/AddTeamToAlertPayloadAllOf.md)\n - [Alert](docs/Alert.md)\n - [AlertActionPayload](docs/AlertActionPayload.md)\n - [AlertAllOf](docs/AlertAllOf.md)\n - [AlertAttachment](docs/AlertAttachment.md)\n - [AlertAttachmentMeta](docs/AlertAttachmentMeta.md)\n - [AlertIntegration](docs/AlertIntegration.md)\n - [AlertLog](docs/AlertLog.md)\n - [AlertNote](docs/AlertNote.md)\n - [AlertPaging](docs/AlertPaging.md)\n - [AlertRecipient](docs/AlertRecipient.md)\n - [AlertReport](docs/AlertReport.md)\n - [AlertRequestStatus](docs/AlertRequestStatus.md)\n - [AlertTeamMeta](docs/AlertTeamMeta.md)\n - [AlertUserMeta](docs/AlertUserMeta.md)\n - [AllRecipient](docs/AllRecipient.md)\n - [AssignAlertPayload](docs/AssignAlertPayload.md)\n - [AssignAlertPayloadAllOf](docs/AssignAlertPayloadAllOf.md)\n - [BaseAlert](docs/BaseAlert.md)\n - [BaseIncident](docs/BaseIncident.md)\n - [BaseResponse](docs/BaseResponse.md)\n - [BaseResponseWithExpandable](docs/BaseResponseWithExpandable.md)\n - [BaseResponseWithExpandableAllOf](docs/BaseResponseWithExpandableAllOf.md)\n - [CloseAlertPayload](docs/CloseAlertPayload.md)\n - [CloseIncidentPayload](docs/CloseIncidentPayload.md)\n - [Condition](docs/Condition.md)\n - [CreateAlertPayload](docs/CreateAlertPayload.md)\n - [CreateAlertPayloadAllOf](docs/CreateAlertPayloadAllOf.md)\n - [CreateHeartbeatPayload](docs/CreateHeartbeatPayload.md)\n - [CreateHeartbeatPayloadAllOf](docs/CreateHeartbeatPayloadAllOf.md)\n - [CreateHeartbeatPayloadAllOfOwnerTeam](docs/CreateHeartbeatPayloadAllOfOwnerTeam.md)\n - [CreateHeartbeatResponse](docs/CreateHeartbeatResponse.md)\n - [CreateHeartbeatResponseAllOf](docs/CreateHeartbeatResponseAllOf.md)\n - [CreateIncidentPayload](docs/CreateIncidentPayload.md)\n - [CreateIncidentPayloadAllOf](docs/CreateIncidentPayloadAllOf.md)\n - [CreateSavedSearchPayload](docs/CreateSavedSearchPayload.md)\n - [CreateSavedSearchResponse](docs/CreateSavedSearchResponse.md)\n - [CreateSavedSearchResponseAllOf](docs/CreateSavedSearchResponseAllOf.md)\n - [DisableHeartbeatResponse](docs/DisableHeartbeatResponse.md)\n - [DisableHeartbeatResponseAllOf](docs/DisableHeartbeatResponseAllOf.md)\n - [Duration](docs/Duration.md)\n - [EnableHeartbeatResponse](docs/EnableHeartbeatResponse.md)\n - [ErrorResponse](docs/ErrorResponse.md)\n - [ErrorResponseAllOf](docs/ErrorResponseAllOf.md)\n - [EscalateAlertToNextPayload](docs/EscalateAlertToNextPayload.md)\n - [EscalateAlertToNextPayloadAllOf](docs/EscalateAlertToNextPayloadAllOf.md)\n - [EscalationRecipient](docs/EscalationRecipient.md)\n - [ExecuteCustomAlertActionPayload](docs/ExecuteCustomAlertActionPayload.md)\n - [Filter](docs/Filter.md)\n - [GetAccountInfoResponse](docs/GetAccountInfoResponse.md)\n - [GetAccountInfoResponseAllOf](docs/GetAccountInfoResponseAllOf.md)\n - [GetAlertAttachmentResponse](docs/GetAlertAttachmentResponse.md)\n - [GetAlertAttachmentResponseAllOf](docs/GetAlertAttachmentResponseAllOf.md)\n - [GetAlertResponse](docs/GetAlertResponse.md)\n - [GetAlertResponseAllOf](docs/GetAlertResponseAllOf.md)\n - [GetCountAlertsResponse](docs/GetCountAlertsResponse.md)\n - [GetCountAlertsResponseAllOf](docs/GetCountAlertsResponseAllOf.md)\n - [GetCountAlertsResponseAllOfData](docs/GetCountAlertsResponseAllOfData.md)\n - [GetHeartbeatResponse](docs/GetHeartbeatResponse.md)\n - [GetIncidentRequestStatusResponse](docs/GetIncidentRequestStatusResponse.md)\n - [GetIncidentRequestStatusResponseAllOf](docs/GetIncidentRequestStatusResponseAllOf.md)\n - [GetIncidentResponse](docs/GetIncidentResponse.md)\n - [GetIncidentResponseAllOf](docs/GetIncidentResponseAllOf.md)\n - [GetRequestStatusResponse](docs/GetRequestStatusResponse.md)\n - [GetRequestStatusResponseAllOf](docs/GetRequestStatusResponseAllOf.md)\n - [GetSavedSearchResponse](docs/GetSavedSearchResponse.md)\n - [GetSavedSearchResponseAllOf](docs/GetSavedSearchResponseAllOf.md)\n - [GroupRecipient](docs/GroupRecipient.md)\n - [Heartbeat](docs/Heartbeat.md)\n - [HeartbeatMeta](docs/HeartbeatMeta.md)\n - [Incident](docs/Incident.md)\n - [IncidentActionPayload](docs/IncidentActionPayload.md)\n - [IncidentAllOf](docs/IncidentAllOf.md)\n - [IncidentRequestStatus](docs/IncidentRequestStatus.md)\n - [ListAlertAttachmentsResponse](docs/ListAlertAttachmentsResponse.md)\n - [ListAlertAttachmentsResponseAllOf](docs/ListAlertAttachmentsResponseAllOf.md)\n - [ListAlertLogsResponse](docs/ListAlertLogsResponse.md)\n - [ListAlertLogsResponseAllOf](docs/ListAlertLogsResponseAllOf.md)\n - [ListAlertNotesResponse](docs/ListAlertNotesResponse.md)\n - [ListAlertNotesResponseAllOf](docs/ListAlertNotesResponseAllOf.md)\n - [ListAlertRecipientsResponse](docs/ListAlertRecipientsResponse.md)\n - [ListAlertRecipientsResponseAllOf](docs/ListAlertRecipientsResponseAllOf.md)\n - [ListAlertsResponse](docs/ListAlertsResponse.md)\n - [ListAlertsResponseAllOf](docs/ListAlertsResponseAllOf.md)\n - [ListHeartbeatResponse](docs/ListHeartbeatResponse.md)\n - [ListHeartbeatResponseAllOf](docs/ListHeartbeatResponseAllOf.md)\n - [ListHeartbeatResponseAllOfData](docs/ListHeartbeatResponseAllOfData.md)\n - [ListIncidentsResponse](docs/ListIncidentsResponse.md)\n - [ListIncidentsResponseAllOf](docs/ListIncidentsResponseAllOf.md)\n - [ListSavedSearchesResponse](docs/ListSavedSearchesResponse.md)\n - [ListSavedSearchesResponseAllOf](docs/ListSavedSearchesResponseAllOf.md)\n - [MatchAll](docs/MatchAll.md)\n - [MatchAllConditions](docs/MatchAllConditions.md)\n - [MatchAnyCondition](docs/MatchAnyCondition.md)\n - [MatchAnyConditionAllOf](docs/MatchAnyConditionAllOf.md)\n - [NoRecipient](docs/NoRecipient.md)\n - [PageDetails](docs/PageDetails.md)\n - [Recipient](docs/Recipient.md)\n - [Responder](docs/Responder.md)\n - [SavedSearch](docs/SavedSearch.md)\n - [SavedSearchEntity](docs/SavedSearchEntity.md)\n - [SavedSearchMeta](docs/SavedSearchMeta.md)\n - [ScheduleRecipient](docs/ScheduleRecipient.md)\n - [SnoozeAlertPayload](docs/SnoozeAlertPayload.md)\n - [SnoozeAlertPayloadAllOf](docs/SnoozeAlertPayloadAllOf.md)\n - [StatusPageEntry](docs/StatusPageEntry.md)\n - [StatusPageEntryAllOf](docs/StatusPageEntryAllOf.md)\n - [SuccessData](docs/SuccessData.md)\n - [SuccessResponse](docs/SuccessResponse.md)\n - [SuccessResponseAllOf](docs/SuccessResponseAllOf.md)\n - [TeamRecipient](docs/TeamRecipient.md)\n - [TeamRecipientAllOf](docs/TeamRecipientAllOf.md)\n - [TeamResponder](docs/TeamResponder.md)\n - [TimeOfDayRestriction](docs/TimeOfDayRestriction.md)\n - [TimeOfDayRestrictionInterval](docs/TimeOfDayRestrictionInterval.md)\n - [TimeOfDayRestrictionIntervalAllOf](docs/TimeOfDayRestrictionIntervalAllOf.md)\n - [TimeRestrictionInterval](docs/TimeRestrictionInterval.md)\n - [UnAcknowledgeAlertPayload](docs/UnAcknowledgeAlertPayload.md)\n - [UpdateAlertDescriptionPayload](docs/UpdateAlertDescriptionPayload.md)\n - [UpdateAlertMessagePayload](docs/UpdateAlertMessagePayload.md)\n - [UpdateAlertPriorityPayload](docs/UpdateAlertPriorityPayload.md)\n - [UpdateHeartbeatPayload](docs/UpdateHeartbeatPayload.md)\n - [UpdateHeartbeatResponse](docs/UpdateHeartbeatResponse.md)\n - [UpdateSavedSearchPayload](docs/UpdateSavedSearchPayload.md)\n - [UserRecipient](docs/UserRecipient.md)\n - [UserRecipientAllOf](docs/UserRecipientAllOf.md)\n - [UserResponder](docs/UserResponder.md)\n - [UserResponderAllOf](docs/UserResponderAllOf.md)\n - [WeekdayTimeRestriction](docs/WeekdayTimeRestriction.md)\n - [WeekdayTimeRestrictionInterval](docs/WeekdayTimeRestrictionInterval.md)\n - [WeekdayTimeRestrictionIntervalAllOf](docs/WeekdayTimeRestrictionIntervalAllOf.md)\n\n\n## Documentation For Authorization\n\n\n## GenieKey\n\n- **Type**: API key\n- **API key parameter name**: Authorization\n- **Location**: HTTP header\n\n\n## Author\n\nsupport@opsgenie.com\n\n\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Python SDK for Opsgenie REST API",
"version": "2.1.5",
"project_urls": {
"Documentation": "https://docs.opsgenie.com/docs/opsgenie-python-api",
"Homepage": "https://github.com/opsgenie/opsgenie-python-sdk",
"Source": "https://github.com/opsgenie/opsgenie-python-sdk",
"Tracker": "https://github.com/opsgenie/opsgenie-python-sdk/issues"
},
"split_keywords": [
"openapi",
"openapi-generator",
"python sdk for opsgenie rest api",
"opsgenie",
"opsgenie"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dcb94c0479fba19fabb00850e11dcb69d82471ed6b29fee1736594b4bedad2d3",
"md5": "3d4525ebae8a49dbcef28f84d1db47ce",
"sha256": "fe0af399030a91ec5755ecfb899965bf18fcb46e17fd2d3a4d71fa68999947e9"
},
"downloads": -1,
"filename": "opsgenie_sdk-2.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d4525ebae8a49dbcef28f84d1db47ce",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 247843,
"upload_time": "2021-08-02T13:58:33",
"upload_time_iso_8601": "2021-08-02T13:58:33.559978Z",
"url": "https://files.pythonhosted.org/packages/dc/b9/4c0479fba19fabb00850e11dcb69d82471ed6b29fee1736594b4bedad2d3/opsgenie_sdk-2.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5d13ddaa92608384f64e8d0d22097e74c24e341f2b41096c52c872abfa35b63f",
"md5": "7cf191fa52c5f99807f93104aa0baac4",
"sha256": "c38a2f0c7acbcbeb9202ced80ec857b5eda2d99919392fed4083bdfa7be32669"
},
"downloads": -1,
"filename": "opsgenie-sdk-2.1.5.tar.gz",
"has_sig": false,
"md5_digest": "7cf191fa52c5f99807f93104aa0baac4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 86050,
"upload_time": "2021-08-02T13:58:35",
"upload_time_iso_8601": "2021-08-02T13:58:35.147127Z",
"url": "https://files.pythonhosted.org/packages/5d/13/ddaa92608384f64e8d0d22097e74c24e341f2b41096c52c872abfa35b63f/opsgenie-sdk-2.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-08-02 13:58:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "opsgenie",
"github_project": "opsgenie-python-sdk",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "opsgenie-sdk"
}