To snooze an Issue, this API should get a request with body {snoozedFor: timeperiod}. Currently, the allowed time-period for snoozing can be a day, a week, a month or infinite. Hence, the values for snoozedFor should be from this set {"DAY", "WEEK", "MONTH", "INFINITE", "NONE"}. "NONE" corresponds to unsnoozing a snoozed issue. When the Issue is unsnoozed, the snoozed_until is set to zero timestamp. If any other value is received, HTTP 422 may be returned. Also, no other parameters will be accepted in the body. The caller may get HTTP 422.
Details of the issue with the given Id
Bad/Malformed request
Unauthenticated request
Unauthorized request
Issue with the given Id does not exist
Method not supported
Precondition check failed
Unprocessable input request
Internal server error
Service unavailable
{- "generation": "string",
- "snoozedFor": "NONE"
}
{- "createdAt": "2019-08-24T14:15:22Z",
- "customerId": "string",
- "generation": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "resourceUri": "string",
- "type": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "body": "string",
- "category": "string",
- "clearedAt": "2019-08-24T14:15:22Z",
- "groups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "issueType": "string",
- "lastOccurredAt": "2019-08-24T14:15:22Z",
- "occurrenceCount": 0,
- "recommendation": "string",
- "relatedResources": [
- {
- "name": "string",
- "resourceUri": "string",
- "type": "string",
- "consoleUri": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "services": [
- "string"
], - "severity": "string",
- "snoozed": true,
- "snoozedBy": "string",
- "snoozedFor": "NONE",
- "snoozedUntil": "2019-08-24T14:15:22Z",
- "sourceResourceId": "string",
- "sourceResourceType": "string",
- "state": "string"
}