# README
Go API client for openapi
Code of Conduct
Please don't abuse the API, and please report all feature requests and issues to https://support.atlassian.com/contact
Rate Limiting
Each API token is limited to 1 request / second as measured on a 60 second rolling window. To get this limit increased, please contact us at https://support.atlassian.com/contact
Error codes 420 or 429 indicate that you have exceeded the rate limit and the request has been rejected.
Basics
HTTPS
It's required
URL Prefix
In order to maintain version integrity into the future, the API is versioned. All calls currently begin with the following prefix:
RESTful Interface
Wherever possible, the API seeks to implement repeatable patterns with logical, representative URLs and descriptive HTTP verbs. Below are some examples and conventions you will see throughout the documentation.
- Collections are buckets: https://api.statuspage.io/v1/pages/asdf123/incidents.json
- Elements have unique IDs: https://api.statuspage.io/v1/pages/asdf123/incidents/jklm456.json
- GET will retrieve information about a collection/element
- POST will create an element in a collection
- PATCH will update a single element
- PUT will replace a single element in a collection (rarely used)
- DELETE will destroy a single element
Sending Data
Information can be sent in the body as form urlencoded or JSON, but make sure the Content-Type header matches the body structure or the server gremlins will be angry.
All examples are provided in JSON format, however they can easily be converted to form encoding if required. Some examples of how to convert things are below:
// JSON
{
\"incident\": {
\"name\": \"test incident\",
\"components\": [\"8kbf7d35c070\", \"vtnh60py4yd7\"]
}
}
// Form Encoded (using curl as an example):
curl -X POST https://api.statuspage.io/v1/example \\
-d \"incident[name]=test incident\" \\
-d \"incident[components][]=8kbf7d35c070\" \\
-d \"incident[components][]=vtnh60py4yd7\"
Authentication
Overview
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://support.atlassian.com/contact
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import sw "./openapi"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Configuration of Server URL
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
Select Server Configuration
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
Documentation for API Endpoints
All URIs are relative to https://api.statuspage.io/v1
Class | Method | HTTP request | Description |
---|---|---|---|
ComponentGroupsApi | DeletePagesPageIdComponentGroupsId | Delete /pages/{page_id}/component-groups/{id} | Delete a component group |
ComponentGroupsApi | GetPagesPageIdComponentGroups | Get /pages/{page_id}/component-groups | Get a list of component groups |
ComponentGroupsApi | GetPagesPageIdComponentGroupsId | Get /pages/{page_id}/component-groups/{id} | Get a component group |
ComponentGroupsApi | GetPagesPageIdComponentGroupsIdUptime | Get /pages/{page_id}/component-groups/{id}/uptime | Get uptime data for a component group |
ComponentGroupsApi | PatchPagesPageIdComponentGroupsId | Patch /pages/{page_id}/component-groups/{id} | Update a component group |
ComponentGroupsApi | PostPagesPageIdComponentGroups | Post /pages/{page_id}/component-groups | Create a component group |
ComponentGroupsApi | PutPagesPageIdComponentGroupsId | Put /pages/{page_id}/component-groups/{id} | Update a component group |
ComponentsApi | DeletePagesPageIdComponentsComponentId | Delete /pages/{page_id}/components/{component_id} | Delete a component |
ComponentsApi | DeletePagesPageIdComponentsComponentIdPageAccessGroups | Delete /pages/{page_id}/components/{component_id}/page_access_groups | Remove page access groups from a component |
ComponentsApi | DeletePagesPageIdComponentsComponentIdPageAccessUsers | Delete /pages/{page_id}/components/{component_id}/page_access_users | Remove page access users from component |
ComponentsApi | GetPagesPageIdComponents | Get /pages/{page_id}/components | Get a list of components |
ComponentsApi | GetPagesPageIdComponentsComponentId | Get /pages/{page_id}/components/{component_id} | Get a component |
ComponentsApi | GetPagesPageIdComponentsComponentIdUptime | Get /pages/{page_id}/components/{component_id}/uptime | Get uptime data for a component |
ComponentsApi | PatchPagesPageIdComponentsComponentId | Patch /pages/{page_id}/components/{component_id} | Update a component |
ComponentsApi | PostPagesPageIdComponents | Post /pages/{page_id}/components | Create a component |
ComponentsApi | PostPagesPageIdComponentsComponentIdPageAccessGroups | Post /pages/{page_id}/components/{component_id}/page_access_groups | Add page access groups to a component |
ComponentsApi | PostPagesPageIdComponentsComponentIdPageAccessUsers | Post /pages/{page_id}/components/{component_id}/page_access_users | Add page access users to a component |
ComponentsApi | PutPagesPageIdComponentsComponentId | Put /pages/{page_id}/components/{component_id} | Update a component |
IncidentPostmortemApi | DeletePagesPageIdIncidentsIncidentIdPostmortem | Delete /pages/{page_id}/incidents/{incident_id}/postmortem | Delete Postmortem |
IncidentPostmortemApi | GetPagesPageIdIncidentsIncidentIdPostmortem | Get /pages/{page_id}/incidents/{incident_id}/postmortem | Get Postmortem |
IncidentPostmortemApi | PutPagesPageIdIncidentsIncidentIdPostmortem | Put /pages/{page_id}/incidents/{incident_id}/postmortem | Create Postmortem |
IncidentPostmortemApi | PutPagesPageIdIncidentsIncidentIdPostmortemPublish | Put /pages/{page_id}/incidents/{incident_id}/postmortem/publish | Publish Postmortem |
IncidentPostmortemApi | PutPagesPageIdIncidentsIncidentIdPostmortemRevert | Put /pages/{page_id}/incidents/{incident_id}/postmortem/revert | Revert Postmortem |
IncidentSubscribersApi | DeletePagesPageIdIncidentsIncidentIdSubscribersSubscriberId | Delete /pages/{page_id}/incidents/{incident_id}/subscribers/{subscriber_id} | Unsubscribe an incident subscriber |
IncidentSubscribersApi | GetPagesPageIdIncidentsIncidentIdSubscribers | Get /pages/{page_id}/incidents/{incident_id}/subscribers | Get a list of incident subscribers |
IncidentSubscribersApi | GetPagesPageIdIncidentsIncidentIdSubscribersSubscriberId | Get /pages/{page_id}/incidents/{incident_id}/subscribers/{subscriber_id} | Get an incident subscriber |
IncidentSubscribersApi | PostPagesPageIdIncidentsIncidentIdSubscribers | Post /pages/{page_id}/incidents/{incident_id}/subscribers | Create an incident subscriber |
IncidentSubscribersApi | PostPagesPageIdIncidentsIncidentIdSubscribersSubscriberIdResendConfirmation | Post /pages/{page_id}/incidents/{incident_id}/subscribers/{subscriber_id}/resend_confirmation | Resend confirmation to an incident subscriber |
IncidentUpdatesApi | PatchPagesPageIdIncidentsIncidentIdIncidentUpdatesIncidentUpdateId | Patch /pages/{page_id}/incidents/{incident_id}/incident_updates/{incident_update_id} | Update a previous incident update |
IncidentUpdatesApi | PutPagesPageIdIncidentsIncidentIdIncidentUpdatesIncidentUpdateId | Put /pages/{page_id}/incidents/{incident_id}/incident_updates/{incident_update_id} | Update a previous incident update |
IncidentsApi | DeletePagesPageIdIncidentsIncidentId | Delete /pages/{page_id}/incidents/{incident_id} | Delete an incident |
IncidentsApi | GetPagesPageIdIncidents | Get /pages/{page_id}/incidents | Get a list of incidents |
IncidentsApi | GetPagesPageIdIncidentsActiveMaintenance | Get /pages/{page_id}/incidents/active_maintenance | Get a list of active maintenances |
IncidentsApi | GetPagesPageIdIncidentsIncidentId | Get /pages/{page_id}/incidents/{incident_id} | Get an incident |
IncidentsApi | GetPagesPageIdIncidentsScheduled | Get /pages/{page_id}/incidents/scheduled | Get a list of scheduled incidents |
IncidentsApi | GetPagesPageIdIncidentsUnresolved | Get /pages/{page_id}/incidents/unresolved | Get a list of unresolved incidents |
IncidentsApi | GetPagesPageIdIncidentsUpcoming | Get /pages/{page_id}/incidents/upcoming | Get a list of upcoming incidents |
IncidentsApi | PatchPagesPageIdIncidentsIncidentId | Patch /pages/{page_id}/incidents/{incident_id} | Update an incident |
IncidentsApi | PostPagesPageIdIncidents | Post /pages/{page_id}/incidents | Create an incident |
IncidentsApi | PutPagesPageIdIncidentsIncidentId | Put /pages/{page_id}/incidents/{incident_id} | Update an incident |
MetricProvidersApi | DeletePagesPageIdMetricsProvidersMetricsProviderId | Delete /pages/{page_id}/metrics_providers/{metrics_provider_id} | Delete a metric provider |
MetricProvidersApi | GetPagesPageIdMetricsProviders | Get /pages/{page_id}/metrics_providers | Get a list of metric providers |
MetricProvidersApi | GetPagesPageIdMetricsProvidersMetricsProviderId | Get /pages/{page_id}/metrics_providers/{metrics_provider_id} | Get a metric provider |
MetricProvidersApi | GetPagesPageIdMetricsProvidersMetricsProviderIdMetrics | Get /pages/{page_id}/metrics_providers/{metrics_provider_id}/metrics | List metrics for a metric provider |
MetricProvidersApi | PatchPagesPageIdMetricsProvidersMetricsProviderId | Patch /pages/{page_id}/metrics_providers/{metrics_provider_id} | Update a metric provider |
MetricProvidersApi | PostPagesPageIdMetricsProviders | Post /pages/{page_id}/metrics_providers | Create a metric provider |
MetricProvidersApi | PostPagesPageIdMetricsProvidersMetricsProviderIdMetrics | Post /pages/{page_id}/metrics_providers/{metrics_provider_id}/metrics | Create a metric for a metric provider |
MetricProvidersApi | PutPagesPageIdMetricsProvidersMetricsProviderId | Put /pages/{page_id}/metrics_providers/{metrics_provider_id} | Update a metric provider |
MetricsApi | DeletePagesPageIdMetricsMetricId | Delete /pages/{page_id}/metrics/{metric_id} | Delete a metric |
MetricsApi | DeletePagesPageIdMetricsMetricIdData | Delete /pages/{page_id}/metrics/{metric_id}/data | Reset data for a metric |
MetricsApi | GetPagesPageIdMetrics | Get /pages/{page_id}/metrics | Get a list of metrics |
MetricsApi | GetPagesPageIdMetricsMetricId | Get /pages/{page_id}/metrics/{metric_id} | Get a metric |
MetricsApi | GetPagesPageIdMetricsProvidersMetricsProviderIdMetrics | Get /pages/{page_id}/metrics_providers/{metrics_provider_id}/metrics | List metrics for a metric provider |
MetricsApi | PatchPagesPageIdMetricsMetricId | Patch /pages/{page_id}/metrics/{metric_id} | Update a metric |
MetricsApi | PostPagesPageIdMetricsData | Post /pages/{page_id}/metrics/data | Add data points to metrics |
MetricsApi | PostPagesPageIdMetricsMetricIdData | Post /pages/{page_id}/metrics/{metric_id}/data | Add data to a metric |
MetricsApi | PostPagesPageIdMetricsProvidersMetricsProviderIdMetrics | Post /pages/{page_id}/metrics_providers/{metrics_provider_id}/metrics | Create a metric for a metric provider |
MetricsApi | PutPagesPageIdMetricsMetricId | Put /pages/{page_id}/metrics/{metric_id} | Update a metric |
PageAccessGroupComponentsApi | DeletePagesPageIdPageAccessGroupsPageAccessGroupIdComponents | Delete /pages/{page_id}/page_access_groups/{page_access_group_id}/components | Delete components for a page access group |
PageAccessGroupComponentsApi | DeletePagesPageIdPageAccessGroupsPageAccessGroupIdComponentsComponentId | Delete /pages/{page_id}/page_access_groups/{page_access_group_id}/components/{component_id} | Remove a component from a page access group |
PageAccessGroupComponentsApi | GetPagesPageIdPageAccessGroupsPageAccessGroupIdComponents | Get /pages/{page_id}/page_access_groups/{page_access_group_id}/components | List components for a page access group |
PageAccessGroupComponentsApi | PatchPagesPageIdPageAccessGroupsPageAccessGroupIdComponents | Patch /pages/{page_id}/page_access_groups/{page_access_group_id}/components | Add components to page access group |
PageAccessGroupComponentsApi | PostPagesPageIdPageAccessGroupsPageAccessGroupIdComponents | Post /pages/{page_id}/page_access_groups/{page_access_group_id}/components | Replace components for a page access group |
PageAccessGroupComponentsApi | PutPagesPageIdPageAccessGroupsPageAccessGroupIdComponents | Put /pages/{page_id}/page_access_groups/{page_access_group_id}/components | Add components to page access group |
PageAccessGroupsApi | DeletePagesPageIdPageAccessGroupsPageAccessGroupId | Delete /pages/{page_id}/page_access_groups/{page_access_group_id} | Remove a page access group |
PageAccessGroupsApi | GetPagesPageIdPageAccessGroups | Get /pages/{page_id}/page_access_groups | Get a list of page access groups |
PageAccessGroupsApi | GetPagesPageIdPageAccessGroupsPageAccessGroupId | Get /pages/{page_id}/page_access_groups/{page_access_group_id} | Get a page access group |
PageAccessGroupsApi | PatchPagesPageIdPageAccessGroupsPageAccessGroupId | Patch /pages/{page_id}/page_access_groups/{page_access_group_id} | Update a page access group |
PageAccessGroupsApi | PostPagesPageIdPageAccessGroups | Post /pages/{page_id}/page_access_groups | Create a page access group |
PageAccessGroupsApi | PutPagesPageIdPageAccessGroupsPageAccessGroupId | Put /pages/{page_id}/page_access_groups/{page_access_group_id} | Update a page access group |
PageAccessUserComponentsApi | DeletePagesPageIdPageAccessUsersPageAccessUserIdComponents | Delete /pages/{page_id}/page_access_users/{page_access_user_id}/components | Remove components for page access user |
PageAccessUserComponentsApi | DeletePagesPageIdPageAccessUsersPageAccessUserIdComponentsComponentId | Delete /pages/{page_id}/page_access_users/{page_access_user_id}/components/{component_id} | Remove component for page access user |
PageAccessUserComponentsApi | GetPagesPageIdPageAccessUsersPageAccessUserIdComponents | Get /pages/{page_id}/page_access_users/{page_access_user_id}/components | Get components for page access user |
PageAccessUserComponentsApi | PatchPagesPageIdPageAccessUsersPageAccessUserIdComponents | Patch /pages/{page_id}/page_access_users/{page_access_user_id}/components | Add components for page access user |
PageAccessUserComponentsApi | PostPagesPageIdPageAccessUsersPageAccessUserIdComponents | Post /pages/{page_id}/page_access_users/{page_access_user_id}/components | Replace components for page access user |
PageAccessUserComponentsApi | PutPagesPageIdPageAccessUsersPageAccessUserIdComponents | Put /pages/{page_id}/page_access_users/{page_access_user_id}/components | Add components for page access user |
PageAccessUserMetricsApi | DeletePagesPageIdPageAccessUsersPageAccessUserIdMetrics | Delete /pages/{page_id}/page_access_users/{page_access_user_id}/metrics | Delete metrics for page access user |
PageAccessUserMetricsApi | DeletePagesPageIdPageAccessUsersPageAccessUserIdMetricsMetricId | Delete /pages/{page_id}/page_access_users/{page_access_user_id}/metrics/{metric_id} | Delete metric for page access user |
PageAccessUserMetricsApi | GetPagesPageIdPageAccessUsersPageAccessUserIdMetrics | Get /pages/{page_id}/page_access_users/{page_access_user_id}/metrics | Get metrics for page access user |
PageAccessUserMetricsApi | PatchPagesPageIdPageAccessUsersPageAccessUserIdMetrics | Patch /pages/{page_id}/page_access_users/{page_access_user_id}/metrics | Add metrics for page access user |
PageAccessUserMetricsApi | PostPagesPageIdPageAccessUsersPageAccessUserIdMetrics | Post /pages/{page_id}/page_access_users/{page_access_user_id}/metrics | Replace metrics for page access user |
PageAccessUserMetricsApi | PutPagesPageIdPageAccessUsersPageAccessUserIdMetrics | Put /pages/{page_id}/page_access_users/{page_access_user_id}/metrics | Add metrics for page access user |
PageAccessUsersApi | DeletePagesPageIdPageAccessUsersPageAccessUserId | Delete /pages/{page_id}/page_access_users/{page_access_user_id} | Delete page access user |
PageAccessUsersApi | GetPagesPageIdPageAccessUsers | Get /pages/{page_id}/page_access_users | Get a list of page access users |
PageAccessUsersApi | GetPagesPageIdPageAccessUsersPageAccessUserId | Get /pages/{page_id}/page_access_users/{page_access_user_id} | Get page access user |
PageAccessUsersApi | PatchPagesPageIdPageAccessUsersPageAccessUserId | Patch /pages/{page_id}/page_access_users/{page_access_user_id} | Update page access user |
PageAccessUsersApi | PostPagesPageIdPageAccessUsers | Post /pages/{page_id}/page_access_users | Add a page access user |
PageAccessUsersApi | PutPagesPageIdPageAccessUsersPageAccessUserId | Put /pages/{page_id}/page_access_users/{page_access_user_id} | Update page access user |
PagesApi | GetPages | Get /pages | Get a list of pages |
PagesApi | GetPagesPageId | Get /pages/{page_id} | Get a page |
PagesApi | PatchPagesPageId | Patch /pages/{page_id} | Update a page |
PagesApi | PutPagesPageId | Put /pages/{page_id} | Update a page |
PermissionsApi | GetOrganizationsOrganizationIdPermissionsUserId | Get /organizations/{organization_id}/permissions/{user_id} | Get a user's permissions |
PermissionsApi | PutOrganizationsOrganizationIdPermissionsUserId | Put /organizations/{organization_id}/permissions/{user_id} | Update a user's role permissions |
StatusEmbedConfigApi | GetPagesPageIdStatusEmbedConfig | Get /pages/{page_id}/status_embed_config | Get status embed config settings |
StatusEmbedConfigApi | PatchPagesPageIdStatusEmbedConfig | Patch /pages/{page_id}/status_embed_config | Update status embed config settings |
StatusEmbedConfigApi | PutPagesPageIdStatusEmbedConfig | Put /pages/{page_id}/status_embed_config | Update status embed config settings |
SubscribersApi | DeletePagesPageIdSubscribersSubscriberId | Delete /pages/{page_id}/subscribers/{subscriber_id} | Unsubscribe a subscriber |
SubscribersApi | GetPagesPageIdSubscribers | Get /pages/{page_id}/subscribers | Get a list of subscribers |
SubscribersApi | GetPagesPageIdSubscribersCount | Get /pages/{page_id}/subscribers/count | Get a count of subscribers by type |
SubscribersApi | GetPagesPageIdSubscribersHistogramByState | Get /pages/{page_id}/subscribers/histogram_by_state | Get a histogram of subscribers by type and then state |
SubscribersApi | GetPagesPageIdSubscribersSubscriberId | Get /pages/{page_id}/subscribers/{subscriber_id} | Get a subscriber |
SubscribersApi | GetPagesPageIdSubscribersUnsubscribed | Get /pages/{page_id}/subscribers/unsubscribed | Get a list of unsubscribed subscribers |
SubscribersApi | PatchPagesPageIdSubscribersSubscriberId | Patch /pages/{page_id}/subscribers/{subscriber_id} | Update a subscriber |
SubscribersApi | PostPagesPageIdSubscribers | Post /pages/{page_id}/subscribers | Create a subscriber |
SubscribersApi | PostPagesPageIdSubscribersReactivate | Post /pages/{page_id}/subscribers/reactivate | Reactivate a list of subscribers |
SubscribersApi | PostPagesPageIdSubscribersResendConfirmation | Post /pages/{page_id}/subscribers/resend_confirmation | Resend confirmations to a list of subscribers |
SubscribersApi | PostPagesPageIdSubscribersSubscriberIdResendConfirmation | Post /pages/{page_id}/subscribers/{subscriber_id}/resend_confirmation | Resend confirmation to a subscriber |
SubscribersApi | PostPagesPageIdSubscribersUnsubscribe | Post /pages/{page_id}/subscribers/unsubscribe | Unsubscribe a list of subscribers |
TemplatesApi | GetPagesPageIdIncidentTemplates | Get /pages/{page_id}/incident_templates | Get a list of templates |
TemplatesApi | PostPagesPageIdIncidentTemplates | Post /pages/{page_id}/incident_templates | Create a template |
UsersApi | DeleteOrganizationsOrganizationIdUsersUserId | Delete /organizations/{organization_id}/users/{user_id} | Delete a user |
UsersApi | GetOrganizationsOrganizationIdPermissionsUserId | Get /organizations/{organization_id}/permissions/{user_id} | Get a user's permissions |
UsersApi | GetOrganizationsOrganizationIdUsers | Get /organizations/{organization_id}/users | Get a list of users |
UsersApi | PostOrganizationsOrganizationIdUsers | Post /organizations/{organization_id}/users | Create a user |
Documentation For Models
- Component
- ComponentGroupUptime
- ComponentGroupUptimeRelatedEvents
- ComponentUptime
- ComponentUptimeRelatedEvents
- DeletePagesPageIdPageAccessGroupsPageAccessGroupIdComponents
- DeletePagesPageIdPageAccessUsersPageAccessUserIdComponents
- DeletePagesPageIdPageAccessUsersPageAccessUserIdMetrics
- ErrorEntity
- GroupComponent
- Incident
- IncidentTemplate
- IncidentUpdate
- Metric
- MetricAddResponse
- MetricAddResponseMetricId
- MetricsProvider
- Page
- PageAccessGroup
- PageAccessUser
- PatchPages
- PatchPagesPage
- PatchPagesPageIdComponentGroups
- PatchPagesPageIdComponents
- PatchPagesPageIdIncidents
- PatchPagesPageIdIncidentsIncident
- PatchPagesPageIdIncidentsIncidentIdIncidentUpdates
- PatchPagesPageIdIncidentsIncidentIdIncidentUpdatesIncidentUpdate
- PatchPagesPageIdMetrics
- PatchPagesPageIdMetricsMetric
- PatchPagesPageIdMetricsProviders
- PatchPagesPageIdMetricsProvidersMetricsProvider
- PatchPagesPageIdPageAccessGroups
- PatchPagesPageIdPageAccessGroupsPageAccessGroupIdComponents
- PatchPagesPageIdPageAccessUsersPageAccessUserIdComponents
- PatchPagesPageIdPageAccessUsersPageAccessUserIdMetrics
- PatchPagesPageIdStatusEmbedConfig
- PatchPagesPageIdStatusEmbedConfigStatusEmbedConfig
- PatchPagesPageIdSubscribers
- Permissions
- PermissionsData
- PermissionsDataPages
- PostOrganizationsOrganizationIdUsers
- PostOrganizationsOrganizationIdUsersUser
- PostPagesPageIdComponentGroups
- PostPagesPageIdComponentGroupsComponentGroup
- PostPagesPageIdComponents
- PostPagesPageIdComponentsComponent
- PostPagesPageIdIncidentTemplates
- PostPagesPageIdIncidentTemplatesTemplate
- PostPagesPageIdIncidents
- PostPagesPageIdIncidentsIncident
- PostPagesPageIdIncidentsIncidentComponents
- PostPagesPageIdIncidentsIncidentIdSubscribers
- PostPagesPageIdIncidentsIncidentIdSubscribersSubscriber
- PostPagesPageIdMetricsData
- PostPagesPageIdMetricsMetricIdData
- PostPagesPageIdMetricsMetricIdDataData
- PostPagesPageIdMetricsProviders
- PostPagesPageIdMetricsProvidersMetricsProvider
- PostPagesPageIdMetricsProvidersMetricsProviderIdMetrics
- PostPagesPageIdMetricsProvidersMetricsProviderIdMetricsMetric
- PostPagesPageIdPageAccessGroups
- PostPagesPageIdPageAccessGroupsPageAccessGroup
- PostPagesPageIdPageAccessGroupsPageAccessGroupIdComponents
- PostPagesPageIdPageAccessUsers
- PostPagesPageIdPageAccessUsersPageAccessUser
- PostPagesPageIdPageAccessUsersPageAccessUserIdComponents
- PostPagesPageIdPageAccessUsersPageAccessUserIdMetrics
- PostPagesPageIdSubscribers
- PostPagesPageIdSubscribersReactivate
- PostPagesPageIdSubscribersResendConfirmation
- PostPagesPageIdSubscribersSubscriber
- PostPagesPageIdSubscribersUnsubscribe
- Postmortem
- PutOrganizationsOrganizationIdPermissions
- PutOrganizationsOrganizationIdPermissionsPages
- PutOrganizationsOrganizationIdPermissionsPagesPageId
- PutPages
- PutPagesPageIdComponentGroups
- PutPagesPageIdComponents
- PutPagesPageIdIncidents
- PutPagesPageIdIncidentsIncidentIdIncidentUpdates
- PutPagesPageIdIncidentsIncidentIdPostmortem
- PutPagesPageIdIncidentsIncidentIdPostmortemPostmortem
- PutPagesPageIdIncidentsIncidentIdPostmortemPublish
- PutPagesPageIdIncidentsIncidentIdPostmortemPublishPostmortem
- PutPagesPageIdMetrics
- PutPagesPageIdMetricsProviders
- PutPagesPageIdPageAccessGroups
- PutPagesPageIdPageAccessGroupsPageAccessGroupIdComponents
- PutPagesPageIdPageAccessUsersPageAccessUserIdComponents
- PutPagesPageIdPageAccessUsersPageAccessUserIdMetrics
- PutPagesPageIdStatusEmbedConfig
- SingleMetricAddResponse
- StatusEmbedConfig
- Subscriber
- SubscriberCountByState
- SubscriberCountByType
- SubscriberCountByTypeAndState
- User
Documentation For Authorization
api_key
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: Authorization and passed in as the auth context for each request.
Documentation for Utility Methods
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime