Uploaded image for project: 'Statuspage'
  1. Statuspage
  2. STATUS-633

Update API docs to add flag to update Twitter to incident updates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • API - Status
    • None
    • 2
    • Severity 3 - Minor

      Issue Summary

      Statuspage documentation is missing the flag for pushing updates to Twitter. Here is a customer ticket for this issue: 

      https://getsupport.atlassian.com/browse/SPSP-32189

      Steps to Reproduce

      1. See SP documentation and see incident update for Patch and PUT
      2. https://developer.statuspage.io/#operation/patchPagesPageIdIncidentsIncidentId
      3. https://developer.statuspage.io/#operation/putPagesPageIdIncidentsIncidentId
      4. Both are missing the "wants_twitter_update" flag

      Expected Results

      Please update docs to add "wants_twitter_update" to incident update endpoints

      Actual Results

      Here is an example of a curl that will update Twitter:

      curl https://api.statuspage.io/v1/pages/Page ID/incidents/Incident ID

      -H "Authorization: OAuth API KEY" \
      -X PATCH \
      --data '{"incident":{"name":"incident name","status":"identified","body":"incident body","wants_twitter_update": true }}' \
      -H "Content-Type: application/json"

      Workaround

      N/A

            Unassigned Unassigned
            a3e616cd17e8 John M
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: