Faults

Snooze a fault

Snoozes a fault's notifications for a time duration or a count of occurrences, replacing any existing snooze. While it's snoozed, recurrences and rate escalations don't notify, but a resolved fault that recurs is still unresolved. With count: N, occurrence N+1 notifies. The web UI calls this "pause"; it's unrelated to Pause fault recording.

post/projects/{project_id}/faults/{fault_id}/snooze

Request

Path parameters

project_idstring required
Example:Xk9mZp

Project ID

fault_idstring required
Example:12345

Fault ID

Request body

time'hour' | 'day' | 'week'

A duration of an hour, a day or a week.

count10 | 100 | 1000

Snooze until this many additional occurrences have been received.

Response

Snooze applied. Returns the fault.

Example response

{
  "data": {
    "id": "12345",
    "project_id": "Xk9mZp",
    "klass": "NoMethodError",
    "message": "undefined method 'foo' for nil:NilClass",
    "component": "UsersController",
    "action": "show",
    "environment": "production",
    "notices_count": 214,
    "comments_count": 2,
    "tags": [
      "critical",
      "backend"
    ],
    "assignee_id": "Uq7rT2",
    "assignee": {
      "id": "Uz4wKm",
      "name": "Jane Smith",
      "email": "jane@example.com"
    },
    "last_notice_deploy": {
      "id": "Dp2yNk",
      "project_id": "Xk9mZp",
      "environment": "production",
      "revision": "a1b2c3d4",
      "repository": "acme/app",
      "local_username": "jane"
    },
    "tickets": [
      {
        "url": "https://github.com/acme/shop/issues/482",
        "integration_id": "Ch9wLp"
      }
    ],
    "notices_count_in_range": 37,
    "links": {
      "web": "https://app.honeybadger.io/projects/Xk9mZp"
    }
  },
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.