/mgmt/status/default/FailureNotificationStatus2 GET
Use the HTTP GET method with the
/mgmt/status/default/ resource to
request information about generated failure notifications. A report is only available when the
upload report option is enabled.FailureNotificationStatus2
Resource URL
https://host:port/mgmt/status/default/FailureNotificationStatus2Where
port is 5554 by default.Request headers
The following header must be sent with the request:
- Authorization
- This header must be sent to perform authentication.
Request body format
None.
Security requirements
The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.
Response status codes
- 200
- Status information retrieved successfully.
- 400
- Invalid data provided.
- 401
- Not authenticated.
- 403
- Not authorized.
Response headers
- Content-Type
- This header is returned with a value of
application/json.
Response body format
The response is in JSON format. The response lists recently generated reports:
- Date
- String.
- Reason
- String.
- UploadStatus
- String.
- Location
- String.
Examples
The following example requests information about recently uploaded reports.
The following URL is used with the HTTP GET
method:
https://localhost:5554/mgmt/status/default/FailureNotificationStatus2The following listing shows a received
response:
{
"_links": {
"self": {
"href": "/mgmt/status/default/FailureNotificationStatus2"
},
"doc": {
"href": "/mgmt/docs/status/FailureNotificationStatus2"
}
},
"FailureNotificationStatus2": [
{
"Date": "20160507223218839BST",
"Reason": "user-requested",
"UploadStatus": "failure",
"Location": "temporary:///error-report.7800537.20160507223218839BST.txt.gz"
},
{
"Date": "20160809125843057BST",
"Reason": "user-requested",
"UploadStatus": "in-progress",
"Location": "temporary:///error-report.7800537.20160809125843057BST.txt.gz"
},
{
"Date": "20160809170210103BST",
"Reason": "user-requested",
"UploadStatus": "in-progress",
"Location": "temporary:///error-report.7800537.20160809170210103BST.txt.gz"
},
{
"Date": "20160809170717028BST",
"Reason": "crash",
"UploadStatus": "in-progress",
"Location": "temporary:///error-report.7800537.20160809170717028BST.txt.gz"
}
]
}