StatusPageIo.Api by Litmus

<PackageReference Include="StatusPageIo.Api" Version="1.0.22" />

 StatusPageIoApi

public class StatusPageIoApi
public StatusPageIoApi(string oAuthKey)

public Task<Subscriber> CreateEmailSubscriber(string pageId, string email, string endpoint = null, bool skipConfirmationNotification = false)

public Task<Subscriber> CreateEmailSubscriberForIncident(string pageId, string incidentId, string email, string endpoint = null, bool skipConfirmationNotification = false)

public Task<Metric> CreateMetric(string pageId, string metricProviderId, string name, string suffix, string tooltipDescription, double yAxisMin, int decimalPlaces, double? yAxisMax = default, bool display = false)

public Task<Subscriber> CreatePhoneSubscriber(string pageId, string phoneNumber, string phoneCountry, bool skipConfirmationNotification = false)

public Task<Subscriber> CreatePhoneSubscriberForIncident(string pageId, string incidentId, string phoneNumber, string phoneCountry, bool skipConfirmationNotification = false)

public Task<Incident> CreateRealtimeIncident(string pageId, string name, List<string> componentIds = null, string message = null, IncidentStatus status = 0, bool wantsTwitterUpdate = false, IncidentImpact incidentImpactOverride = 0)

public Task<Incident> DeleteIncident(string pageId, string incidentId)

public Task<Metric> DeleteMetricData(string pageId, string metricId)

public Task<Subscriber> DeleteSubscriber(string pageId, string subscriberId)

public Task<Subscriber> DeleteSubscriberForIncident(string pageId, string subscriberId, string incidentId)

public Task<IEnumerable<Incident>> GetAllIncidents(string pageId)

public Task<IEnumerable<Component>> GetComponents(string pageId)

public Task<IEnumerable<Metric>> GetMetricsForMetricProvider(string pageId, string metricId)

public Task<Page> GetPageProfile(string pageId)

public Task<IEnumerable<Subscriber>> GetSubscribers(string pageId)

public Task<IEnumerable<Subscriber>> GetSubscribersToIncident(string pageId, string incidentId)

public Task<MetricData> SubmitMetricData(string pageId, string metricId, DateTime timestamp, double value)

public Task<MetricData> SubmitMetricData(string pageId, string metricId, DateTime timestamp, float value)

public Task<Component> UpdateComponent(string pageId, Component component)